worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<{^_^}> [nixpkgs] @marsam opened pull request #98076 → nodejs: 10.22.0 -> 10.22.1, 12.18.3 -> 12.18.4 → https://git.io/JUB8j
werner291 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f3b68ac4342 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
mir100 has joined #nixos
redmp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @samueldr pushed 2 commits to feature/2020-r/asciinema-fixes: https://git.io/JUB4s
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sigmundv_ has joined #nixos
redmp has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUB44
<{^_^}> [nixos-homepage] @samueldr opened pull request #532 → redesign: misc. fixes for asciinema panes → https://git.io/JUB4E
Rusty1 has joined #nixos
jb551 has quit [Remote host closed the connection]
jb551 has joined #nixos
redmp has quit [Quit: leaving]
<justanotheruser> are there any free packages that require prebuilt binaries in their derivation?
jb551 is now known as jb55
redmp has joined #nixos
<samueldr> justanotheruser: seems like a loaded question :)
<{^_^}> [nixpkgs] @marsam merged pull request #98076 → nodejs: 10.22.0 -> 10.22.1, 12.18.3 -> 12.18.4 → https://git.io/JUB8j
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JUB4a
<samueldr> any follow-up you can provide?
<simpson> Guessing that it's about bootstrapping, somehow.
<simpson> Although I'm interested because I would enjoy nixpkgs being clearer on what is and is not acceptable bootstrap material for new languages.
smw_ has quit [Remote host closed the connection]
<justanotheruser> samueldr: how is it loaded?
redmp has left #nixos [#nixos]
<{^_^}> [nixpkgs] @marsam pushed 2 commits to release-20.09: https://git.io/JUB46
<samueldr> justanotheruser: why are you looking for such a package?
<gchristensen> good point, simpson. ghc and rust
<samueldr> I think there are, but all efforts must be made not to have any
<justanotheruser> samueldr: thanks!
<justanotheruser> seems like a reasonable policy
<justanotheruser> they're bound to pop up in some strange edge cases
<samueldr> ah, I was thinking you were searching for one to get inspiration
<samueldr> or something along the line
<samueldr> and not literally to know if there was :)
<samueldr> I *think* there might be some hard-to-compile electron-using Free software around
<justanotheruser> inspiration to rewrite the derivation?
<samueldr> inspiration for your own (hypothetical) thing to package
<samueldr> see, people sometimes want to package things here :)
<justanotheruser> hah, no. I see why you were apprehensive
noogie_ is now known as noogie
<{^_^}> [nixpkgs] @marsam opened pull request #98077 → nodejs-14_x: 14.10.1 -> 14.11.0 → https://git.io/JUB4D
jumper149 has quit [Quit: WeeChat 2.9]
<abathur> bunch of package-pushers around here
Guest60563 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #98078 → [WIP] wordgrinder: Correct build failure → https://git.io/JUB4H
[krow] has quit [Remote host closed the connection]
Guest60563 has joined #nixos
janneke has quit [Ping timeout: 240 seconds]
janneke has joined #nixos
<mvnetbiz_> Is there a better way to do `let i = "a"; in { a = "I want this"; }."${i}"` ?
<mvnetbiz_> I guess you dont need the quotes for ${} but looks like thats the shortest way
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
sjkelly1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ffc3f8227bb (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
CyberManifest has joined #nixos
kleisli_ has quit [Ping timeout: 272 seconds]
alp has quit [Ping timeout: 272 seconds]
Nak has joined #nixos
palo has quit [Ping timeout: 240 seconds]
<Nak> Is there a standard way to add access to a nix-shell environent from a running emacs session?
<Nak> So far I've been working around the limitations by srarting an emacs daemon from within the build environment and connecting to it after, but I feel like there has to a better way
<nicolas[m]1> direnv?
<Nak> nicolas[m]1: Wow, yeah that looks perfect, thanks!
Mateon1 has quit [Remote host closed the connection]
h0m1 has quit [Ping timeout: 240 seconds]
urkk_ has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos
urkk has joined #nixos
RoboFlex13 has joined #nixos
<{^_^}> [nixpkgs] @danielfullmer closed pull request #98014 → chromium.withPackages/chromium-extensions: init → https://git.io/JU4gl
<{^_^}> [nixpkgs] @danielfullmer reopened pull request #98014 → chromium.withPackages/chromium-extensions: init → https://git.io/JU4gl
vikingman has quit [Remote host closed the connection]
RoboFlex12 has quit [Ping timeout: 246 seconds]
xd1le has quit [Ping timeout: 240 seconds]
CyberManifest has quit [Quit: Leaving...]
Mateon1 has joined #nixos
vikingman has joined #nixos
sigmundv_ has quit [Ping timeout: 260 seconds]
Nak has quit [Remote host closed the connection]
zecnate has joined #nixos
kleisli_ has joined #nixos
<zecnate> I am trying to debug my expression with `pkgs.lib.debug.traceVal` but the output is: `trace: <PRIMOP>`.
<zecnate> I expect a list full of sets. How can I expand that full list and display it?
<zecnate> The set attr values are all strings, sets, or lists of the same.
<zecnate> It should be a fairly straightforward transformation of an input JSON file I imported with importJSON, then called some `map` and `mapAttrsToList` on...
xd1le has joined #nixos
<zecnate> Huh... I just tried changing `traceVal (… complicated expression …)` with `traceSeq (… complicated expression …) null` and now `nix-build` says "error: value is a list while a set was expected"
<zecnate> -after still printed "trace: <PRIMOP>"
<gustavderdrache> > builtins.isList
<{^_^}> <PRIMOP>
<gustavderdrache> when you see <PRIMOP> it means you've bumped into a function produced from internals in nix
<zecnate> That error confuses me, unless `isList null` is true?
kreyren__ has joined #nixos
<zecnate> gustavderdrache: good to know. Thanks.
<gustavderdrache> > [].foo
<{^_^}> value is a list while a set was expected, at (string):323:1
<zecnate> Is this because I've used `map` or `mapAttrsToList` and the result is a lazy thunk instead of an instantiated list?
<gustavderdrache> yeah
<gustavderdrache> > map (x: x)
<{^_^}> <PRIMOP-APP>
<gustavderdrache> when nix complains about "list while a set was expected", usually it's because you're trying to access a property
Soazig has joined #nixos
<gustavderdrache> > let f = { x }: x; in f []
<{^_^}> value is a list while a set was expected, at (string):323:22
<gustavderdrache> you can also see it here, where it's destructuring an input set
<zecnate> So if the error said: "error: value is null while a set was expected" that would be consistent with my understanding of `traceSeq (…) null` if nix-build was trying to access members of the result.
<gustavderdrache> > null.foo
<{^_^}> value is null while a set was expected, at (string):323:1
<gustavderdrache> what's happening is traceSeq is printing out a primop, and it's then applying that primop to null, which breaks
<zecnate> The result of that traceSeq expr should be `null`, right? So it must be something else trying to access a list...
Soazig has quit [Remote host closed the connection]
<zecnate> Huh? I thought `traceSeq a b` evaluates a deeply then prints it, then evaluates `b`. It doesn't apply a to b, does it?
kreyren_ has quit [Ping timeout: 240 seconds]
<zecnate> -just as in the second example of those docs.
<gustavderdrache> nope, traceSeq is defined as x: y: trace (deepSeq x x) y
<gustavderdrache> so x is, effectively, thrown out
<zecnate> Right, so my x is a call to `map`. My `y` is null. So which code is attempting to access a list as a set?
<gustavderdrache> whatever is using that y
<zecnate> But y is `null`, so the error message I would expect is:
<gustavderdrache> can you share your code in a paste or github gist?
<zecnate> nix-repl> null.fooerror: value is null while a set was expected, at (string):1:1
<zecnate> nix-repl> null.foo
<zecnate> error: value is null while a set was expected, at (string):1:1
<siraben> How do I get the sha256 for fetchFromGitHub without putting a dummy valuer?
<siraben> value*
<zecnate> Instead the output I see is:
<zecnate> trace: <PRIMOP>
<zecnate> error: value is a list while a set was expected, at …/zcashd-depends-fetcher.nix:9:5
<gustavderdrache> what happens if you comment out your trace? - that is, just do /* traceSeq (...) */ null?
<gustavderdrache> all your trace is saying is "i have a builtin function"
<zecnate> -eh, just when I was pasting into codepad I realized I'm missing some parentheses...
<gustavderdrache> that would do it
<zecnate> hehe... doh. Sorry for the noise. Funny how just starting to share the code makes the issue jump out. A little social motivation.
<gustavderdrache> i've heard that if you change how something is displayed, it makes you re-read it fresh
<gustavderdrache> so maybe that was the issue here as well
<zecnate> Is there a way to "pretty print" big nested structures with indentation? This is a large structure all packed into one line in the trace output.
<zecnate> Oh, neat idea. Maybe I'll change my font or something next time.
<zecnate> I had bad spacing.
<zecnate> Speaking of which, time to hunt for a vim syntax plugin for nix expressions…
<gustavderdrache> i'm not sure if there's a pretty printer like that, but there might very well be a community tool for it
Xal has joined #nixos
<Xal> hello. is there some way to get a cross compiler from nixpkgs *without* also building a libc (it seems newlib builds by default)
berberman has quit [Quit: ZNC 1.7.5 - https://znc.in]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<{^_^}> [nixpkgs] @marsam merged pull request #98077 → nodejs-14_x: 14.10.1 -> 14.11.0 → https://git.io/JUB4D
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JUBBF
berberman has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<simpson> Xal: Might be possible for certain arches like `pkgsCross.avr`, but I'm not sure how. Which target are you working with?
<Xal> mips. the newlib build seems to be broken, but I don't need it. binutils and the gcc cross compiler work
jankloogi[m] is now known as JankLoogi
zecnate has quit [Remote host closed the connection]
<simpson> Fun. Reading through where everything's defined, like lib/systems/examples, I am completely stumped as to how to do what you're thinking of. But it sounds like a reasonable desire.
growpotk- has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #97614 → nixos/dmidecode: added recommended patches → https://git.io/JUCUi
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUBRm
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #97767 → [20.03] nixos/dmidecode: added recommended patches → https://git.io/JUW2o
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to release-20.03: https://git.io/JUBRY
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #97764 → [20.09] nixos/dmidecode: added recommended patches → https://git.io/JUWgr
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to release-20.09: https://git.io/JUBRO
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #95734 → flatcam: init at 8.5 → https://git.io/JJb20
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUBRs
justanotheruser has quit [Ping timeout: 244 seconds]
vikingman has quit [Read error: No route to host]
knerten1 has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
Xal has quit [Ping timeout: 245 seconds]
knerten2 has quit [Ping timeout: 240 seconds]
growpotk- has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotk- has joined #nixos
tldr32 has quit [Ping timeout: 240 seconds]
tldr32 has joined #nixos
superherointj has quit [Quit: Leaving]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
azure has joined #nixos
azure is now known as Guest32831
Guest60563 has quit [Ping timeout: 246 seconds]
ddellacosta has quit [Ping timeout: 260 seconds]
gustavderdrache has joined #nixos
gustavderdrache has left #nixos [#nixos]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
berberman has quit [Ping timeout: 272 seconds]
berberman has joined #nixos
berberman has quit [Remote host closed the connection]
berberman has joined #nixos
sjkelly1 has quit [Remote host closed the connection]
growpotk- has quit [Ping timeout: 265 seconds]
<cole-h> infinisil: Do you know where `imports` is defined?
<{^_^}> [nixos-homepage] @samueldr pushed 7 commits to feature/2020-r/last-mvps: https://git.io/JUB0S
<cole-h> infinisil: Or maybe you know a better way of getting `system.build.isoImage` from `iso-image.nix` without any of the other stuff? `import "${pkgs.path}/nixos/modules/installer/cd-dvd/iso-image.nix" { inherit config lib pkgs; }` doesn't give me access to the `system.build.isoImage` from that file
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 244 seconds]
Supersonic112 is now known as Supersonic
palo has joined #nixos
<clever> cole-h: you must import <nixpkgs/nixos> and put iso-image.nix into the imports of your configuration.nix
<clever> cole-h: `import <nixpkgs/nixos> { configuration = ./configuration.nix; }` would let you change the path to it
<cole-h> clever: I don't want to actually add iso-image.nix to my configuration, because it has a whole load of baggage with it
<cole-h> I just want to be able to `nix build -f ..... config.system.build.isoImage` without needing to use `~/workspace/vcs/nixpkgs/nixos-unstable/nixos` in the `.....`
<clever> cole-h: you could make a extra-configuration.nix, that has `imports = [ ./configuration.nix /path/to/iso-image.nix ];`
<clever> cole-h: then it will only affect builds that use extra-configuration.nix
teevorian has joined #nixos
<teevorian> If anyone from the nix 'marketing-team' is here: Thanks for the great new landing page! This is really so much better than before. Great work!
mariatsji has joined #nixos
<cole-h> I wonder if lib.evalModules would help here
xelxebar has quit [Remote host closed the connection]
<clever> cole-h: <nixpkgs/nixos> calls evalModules for you, and passes it the right args
<cole-h> And is also impure because it relies on NIX_PATH; I'm trying to not rely on NIX_PATH at all.
xelxebar has joined #nixos
<cole-h> (and am also using flakes)
<clever> cole-h: import "${inputs.nixpkgs}/nixos" { configuration = ./stuff.nix }
<{^_^}> [nixos-homepage] @samueldr opened pull request #533 → redesign: Implements last MVPs → https://git.io/JUB0F
<clever> cole-h: now its using flakes
<cole-h> :P
<clever> cole-h: import "${inputs.nixpkgs}/nixos" { configuration = { imports = [ "${nixpkgs}/nixos/modules/installer/cd-dvd/iso-image.nix" ./stuff ]; }
<clever> cole-h: now it also has the iso-image.nix in the imports
mariatsji has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
domogled has quit [Quit: domogled]
<cole-h> clever: OK, well, I guess making a module that sets `system.build.isoImage` to `(import "${channels.pkgs}/nixos" { }).config.system.build.isoImage` works :P
<{^_^}> [nixpkgs] @vbgl merged pull request #97915 → ocamlPackages.qcheck: 0.7 → 0.15 → https://git.io/JU8sd
<{^_^}> [nixpkgs] @vbgl pushed 4 commits to master: https://git.io/JUBEi
<{^_^}> [nixpkgs] @marsam merged pull request #97633 → opencv: enable videoio on darwin → https://git.io/JUCGR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUBEP
<{^_^}> [nixpkgs] @vbgl opened pull request #98079 → ocamlPackages.zed: 2.0.3 → 3.1.0 → https://git.io/JUBEy
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
Guest32831 has quit [Ping timeout: 272 seconds]
Guest32831 has joined #nixos
Guest32831 has quit [Ping timeout: 272 seconds]
Guest32831 has joined #nixos
mariatsji has joined #nixos
<colemickens> cole-h: are you trying to achieve the same end with an ISO that you did with the VM module last week (that we talked about and you PR'd)?
kreyren__ has quit [Remote host closed the connection]
kreyren has joined #nixos
<cole-h> colemickens: Yep.
<cole-h> Don't think the ISO is one that should be PR'd to the top-level flake, though. Can't tell you why I think that, though.
<colemickens> fair enough, I was just curious, I've been mulling it over for something I'm working on that adds system.build.X attrs
<cole-h> I'm more befuddled why `nixosSystem` doesn't have the `config.system.build.isoImage` attr to begin with
<cole-h> nixosSystem is a thin wrapper around eval-config.nix, which is what nixos/default.nix uses to get its config attr...
<samueldr> you have to somehow include nixos/modules/installer/cd-dvd/iso-image.nix
<colemickens> does that answer it?
<samueldr> that's generally done through the installer profiles
<samueldr> e.g. nixos/modules/installer/cd-dvd/installation-cd-base.nix
orivej has joined #nixos
kleisli_ has quit [Ping timeout: 240 seconds]
<cole-h> samueldr: But, from what I can tell, iso-image is not included anywhere in `<nixpkgs/nixos>` (https://github.com/NixOS/nixpkgs/blob/master/nixos/default.nix#L7)
<samueldr> and you're right
<cole-h> Oh wait
<cole-h> `-I nixos-config=iso.nix` -> imports installation-cd-minimal, which imports iso-image.nix
<cole-h> lol
Rusty1 has quit [Quit: WeeChat 2.3]
<cole-h> omega derp
<samueldr> yes :)
<cole-h> samueldr++ Thanks for rubber-ducking
<{^_^}> samueldr's karma got increased to like 268, I think
<{^_^}> [nixpkgs] @danieldk merged pull request #98028 → [20.09] softmaker-office: 1018 -> 1020 → https://git.io/JU41G
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to release-20.09: https://git.io/JUBui
<cole-h> OK, then might as well hardcode the configuration path to be my iso.nix lol.
<cole-h> colemickens: What are you thinking about adding to `system.build`?
<samueldr> there are a couple profile files like that that you need to include specifically
<cole-h> My curiosity has been piqued
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/3b8ddb2f1ee (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<samueldr> colemickens: using the new attrset thing so we can finally lib.mkForce a sub-attribute of system.build?
<samueldr> (I am blanking on the actual change I have in mind)
<colemickens> samueldr: o_o I'm not sure I grok that
<cole-h> samueldr: What kind of profiles? installation-cd-minimal imports -cd-base, which imports profiles/{all-hardware,base,installation-device}.nix
<samueldr> cole-h: look for sd image profiles too
<samueldr> I don't know for sure if there are others like that
<colemickens> cole-h: I'm building out nixos-azure that has an azureImage attribute. and just generally thinking "I'd like to make a <azure/kvm/whatever>" out of some existing config. idk. I'm actually pretty okay with it being fairly explicit and non-magical
<cole-h> samueldr: Oh, I thought you meant I would need them, not that they exist :P
<samueldr> right
<samueldr> what I meant
<samueldr> this is only typs.attrs
<samueldr> this means that you can't override a value using lib.mkForce
<samueldr> welp, there's a pattern around "types" with that fellow :)
<cole-h> :P
<samueldr> oh, that's only open PRs
<samueldr> freeform modules! #82743
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82743 (by Infinisil, 26 weeks ago, merged): Freeform modules
<samueldr> that's what I had in mind
<samueldr> I wonder if it's just a drop-in replacement with types.attrs for system.build
<cole-h> Only one way to find out...
<samueldr> (was it freeform modules?)
<samueldr> anyway, I was annoyed at some point with Mobile NixOS since I can't just overwrite a system.build attr :/
<samueldr> it's not an error (which makes it worse) it seems to be dependent on the evaluation order!
<cole-h> Arf
tsrt^ has quit []
ffl^ has joined #nixos
<{^_^}> [nixpkgs] @tfc merged pull request #89361 → nixos/testing: Add support for specialArgs → https://git.io/Jfibl
endformationage has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @tfc pushed 2 commits to master: https://git.io/JUBzT
mmohammadi9812 has joined #nixos
kleisli_ has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
kreyren has quit [Remote host closed the connection]
xd1le has joined #nixos
kreyren has joined #nixos
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
bebarker has quit [Read error: Connection reset by peer]
detran_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
detran has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
sangoma has joined #nixos
kahiru has quit [Ping timeout: 240 seconds]
kahiru has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #97868 → fac-build: init at 0.5.3 → https://git.io/JUlH2
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JUBgQ
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c80258af164 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alp has joined #nixos
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
kleisli__ has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
waleee-cl has quit [Quit: Connection closed for inactivity]
kleisli_ has quit [Read error: Connection reset by peer]
zecnate has joined #nixos
<zecnate> I've tried calling `symlinkJoin` with a list whose elements are `fetchurl` calls, but this fails with "/nix/store/5v2axmyp3aifk0cjhn144fz2djmj5sjy-crossbeam-channel-0.4.3.crate: Not a directory". From the docs I can't tell who needs a directory. Does `symlinkJoin` only work with directories?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e82b1de75a1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
<lovesegfault> How can I get a nix-shell with _both_ the localSystem stdenv _and_ an avr cross compiler?
o1lo01ol1o has joined #nixos
mallox has joined #nixos
cr4y1 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
saschagrunert has joined #nixos
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @ehmry merged pull request #97638 → lxpanel: 0.9.3 -> 0.10.0 → https://git.io/JUClw
<{^_^}> [nixpkgs] @ehmry pushed commit from @ryneeverett to master « lxpanel: 0.9.3 -> 0.10.0 »: https://git.io/JUBa0
Anton83 has joined #nixos
<zecnate> I'm a bit confused about dependencies. The first derivation example uses `inherit perl`: https://nixos.org/manual/nix/stable/#sec-expression-syntax -however the stdenv docs suggest using `buildInputs`: https://nixos.org/manual/nixpkgs/stable/#sec-using-stdenv
<zecnate> Can I add arbitrary attributes to `mkDerivation` whose values are derivations in order to bind shell variables to the output dirs of those derivations?
<zecnate> If I do that, will nix still know they are dependencies?
<zecnate> What is the purpose of `buildInputs` in that case?
<zecnate> Also, what happens if there's a name conflict between an arbitrary dependency attribute name and a "special" attribute name that derivations rely on?
* zecnate runs some experiments.
<{^_^}> [nixpkgs] @ehmry merged pull request #97511 → lesspass-cli: 9.0.0 -> 9.1.9 → https://git.io/JUcZp
<{^_^}> [nixpkgs] @ehmry pushed commit from @jasoncarr0 to master « lesspass-cli: 9.0.0 -> 9.1.9 »: https://git.io/JUBag
<zecnate> Oh, I bet `buildInputs` scans each output dir for a `bin` dir then adds that to the path. But in my case I need the literal out dir path available to my builder.
cole-h has quit [Quit: Goodbye]
zakame has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @vbgl opened pull request #98080 → coqPackages.metalib: 20170713 → 20200527 → https://git.io/JUBao
c4droid has joined #nixos
LnL- is now known as LnL
<c4droid> Hi, I just installed nix on my macOS, and I installed nodejs, when I using npm install hexo-cli globally, shell cannot find hexo, did I have something wrong?
<{^_^}> [nixpkgs] @peterhoeg opened pull request #98081 → keyutils: 1.6.1 -> 1.6.3 → https://git.io/JUBax
<c4droid> Emm..
c4droid has quit [Remote host closed the connection]
c4droid has joined #nixos
paalped[m] is now known as poluto[m]
c4droid has quit [Remote host closed the connection]
c4droid has joined #nixos
lsix has joined #nixos
<c4droid> Sorry, I just lose the connection, now I back to line.
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fd491ec80fe (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
zakame has joined #nixos
<NobbZ[m]> [c4droid](https://matrix.to/#/@freenode_c4droid:matrix.org) I'm not proficient in npm, but gave you added the folder it uses for installing stuff to your `PATH`?
orivej has quit [Ping timeout: 260 seconds]
<c4droid> NobbZ: No
<{^_^}> [nixpkgs] @FRidh merged pull request #98024 → python36Packages.ipython: 7.17 -> 7.16.1 (downgrade on Python 3.6 for compatibility) → https://git.io/JU4XW
<{^_^}> [nixpkgs] @FRidh pushed commit from @kini to master « python36Packages.ipython: 7.17 -> 7.16.1 (downgrade) »: https://git.io/JUBwq
<c4droid> NobbZ: I just resetting the prefix, and reinstall the hexo, it worked.
<NobbZ[m]> [c4droid](https://matrix.to/#/@freenode_c4droid:matrix.org) then you probably have to do that.
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
cr4y1_ has joined #nixos
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #98064 → python3Packages.hickle: disable tests → https://git.io/JUBOg
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JUBwu
c4droid has left #nixos [#nixos]
zecnate has quit [Remote host closed the connection]
supercoven has joined #nixos
cr4y1 has quit [Ping timeout: 272 seconds]
<Anton83> I have a nix expression that uses some system packages successfully on my computer but not on my Amazon EC2 instance, do you know what the issue could be there?
<Anton83> I am using Obelisk by the way
SirBurpalot[m] has joined #nixos
SirBurpalot[m] is now known as Avoozl[m]
zupo has joined #nixos
notgne2 has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
knupfer has joined #nixos
joesventek has quit [Quit: Quit]
nikivi has joined #nixos
joesventek has joined #nixos
<srhb> Anton83: Probably need more details. Like, how are you pinning nixpkgs/other sources to the same revisions, is the hash the same, what's the failure you're encouting, etc.
knupfer has quit [Ping timeout: 260 seconds]
<Anton83> @srhb I am pretty new to obelisk and nix so I am not sure what you mean
<Anton83> I am pretty much using the default obelisk config
<Anton83> Except that I am using the `overrides` attribute to inject some dependencies to my Haskell packages
<Anton83> The failure is that the Haskell program can't access the external program on the server
<Anton83> As in: a `readProcess` call returns an error about an executable that wasn't found
xd1le has quit [Read error: Connection reset by peer]
<srhb> Anton83: During the build of the program?
<srhb> Anton83: (and, how are you building it? nix-build?)
copy has quit [Ping timeout: 256 seconds]
xd1le has joined #nixos
copy has joined #nixos
<Anton83> No, when it is deployed
<Anton83> I am building it by `ob deploy push`, but I encounter the same issue when using `nix-build -A exe --no-out-link`
<Anton83> Essentially it probably means that `ob run` uses a different configuration than the other ways of building obelisk
mrt_ has quit [Ping timeout: 240 seconds]
eoli3n has quit [Remote host closed the connection]
eoli3n has joined #nixos
<Anton83> I am sure though, that `ob run` is not just using my systems packages out of lazyness, because it only works on my local computer if I add the right dependencies to my default.nix
cr4y1__ has joined #nixos
tmaekawa has joined #nixos
<Anton83> @srhb see above (forgot to tag you before)
fendor has joined #nixos
cr4y1_ has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ee276892159 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<Anton83> @srhb You can find the entire configuration on https://gitlab.com/anfelor/ob-nave/
<{^_^}> [nixpkgs] @ehmry merged pull request #98057 → chromaprint: add darwin compatibility → https://git.io/JUBmK
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to master: https://git.io/JUBrA
tmaekawa has quit [Quit: tmaekawa]
civodul has joined #nixos
cfricke has joined #nixos
<srhb> Anton83: Is one of your machines building without sandbox enabled perhaps?
<{^_^}> [nixpkgs] @avdv opened pull request #98083 → Fix tensorflow building against numpy 1.19.x → https://git.io/JUBoC
<Anton83> @srhb Sandbox is enabled
<Anton83> I actually just realized that on my local build with only one package is not working but the others are
mrte has joined #nixos
<Anton83> @srhb So of three external dependencies, my program can connect to none on the server, one on a local build and all three when using `ob run`
<Anton83> Which is strange
<Anton83> Ah, two on a local build
<srhb> Anton83: Nothing springs to mind. I'm assuming things are pinned correctly, I think that's an obelisk feature, but I don't know. Sorry :)
<Anton83> @srhb Okay, thanks :)
rain1 has joined #nixos
<rain1> how can I use pip install on nix?
Anton83 has quit [Remote host closed the connection]
kisaja[m] has joined #nixos
thc202 has joined #nixos
chris has joined #nixos
chris is now known as Guest17971
Guest17971 has quit [Client Quit]
Guest17971 has joined #nixos
Guest17971 is now known as Poumpaloumpa
cr4y1__ has quit [Ping timeout: 272 seconds]
cfricke has quit [Ping timeout: 260 seconds]
dermetfan has joined #nixos
cfricke has joined #nixos
cr4y1 has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @turion opened pull request #98084 → agda.section.md: Fix header and enumeration → https://git.io/JUBKO
ffl^ has quit []
cr4y1 has quit [Read error: Connection reset by peer]
Fare has quit [Ping timeout: 244 seconds]
Poumpaloumpa has quit [Quit: Konversation terminated!]
cr4y1 has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
arjen-jonathan has joined #nixos
knupfer has joined #nixos
Akshay[m]1 has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
alexherbo2[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
knupfer has quit [Read error: Connection reset by peer]
nij has joined #nixos
<nij> I'm a bit confused.. I first hopped in nixos with hype, thinking that my system will be reproducible, in the sense that even all humans no longer exist, system can be reproducible once content of nixpkgs can be fetched. However, since I'm still dealing with other OSs, I find it troublesome to keep two kinds of configs. Thus, I started to ask nix to fetch configs from my old config files. Now most configurations are done in this way..
<nij> but what's the difference than just using other OSs?
mananamenos has joined #nixos
ks2048[m] has joined #nixos
alp_ has joined #nixos
nij` has joined #nixos
nij has quit [Remote host closed the connection]
alp has quit [Ping timeout: 272 seconds]
nij` has quit [Client Quit]
nij has joined #nixos
o1lo01ol1o has joined #nixos
ydlr has quit [Ping timeout: 256 seconds]
nij has quit [Remote host closed the connection]
nij has joined #nixos
teto has joined #nixos
alexherbo2 has joined #nixos
cfricke has joined #nixos
sigmundv_ has joined #nixos
shibboleth has joined #nixos
alexherbo2 has quit [Ping timeout: 244 seconds]
alexherbo2 has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
CMCDragonkai1 has joined #nixos
nikivi has quit [Client Quit]
joesventek has quit [Quit: Quit]
iceypoi has joined #nixos
nikivi has joined #nixos
jb55 has quit [Remote host closed the connection]
nikivi has quit [Client Quit]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #98086 → nixos/cri-o: add `networkDir` option → https://git.io/JUBi7
icey_ has quit [Ping timeout: 244 seconds]
joesventek has joined #nixos
<{^_^}> [nixpkgs] @turion opened pull request #98087 → Dev agda shellfor → https://git.io/JUBPq
nij has quit [Ping timeout: 258 seconds]
<ks2048[m]> I'm facing an issue while trying to play video files (.mkv) using any player (tried mpv/smplayer/vlc), they get desynchronised immediately which is weird since videos on the web browser play rather well
nij has joined #nixos
leotaku has quit [Ping timeout: 272 seconds]
hiro98 has joined #nixos
<{^_^}> [nixpkgs] @turion opened pull request #98088 → Bump VSCode version → https://git.io/JUBPo
<{^_^}> [nixpkgs] @lsix opened pull request #98089 → pythonPackages.pyslurm: mark as broken → https://git.io/JUBPi
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
alexherbo2 has quit [Ping timeout: 260 seconds]
nij` has joined #nixos
nij has quit [Remote host closed the connection]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
teevorian has quit [Remote host closed the connection]
mallox has quit [Ping timeout: 240 seconds]
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
nij`` has joined #nixos
<{^_^}> [nixpkgs] @Emantor closed pull request #85075 → [20.03] boot.initrd.luks: remove x86_64/i586 AES modules → https://git.io/Jvj3k
spudly- is now known as spudly
xensky has quit [Quit: No Ping reply in 180 seconds.]
<colemickens> is NixOS meant to be usable if root is unmountable? you can't * your way through to a console (which would be useful for what I've done)
nij` has quit [Ping timeout: 246 seconds]
enteee has quit [Ping timeout: 264 seconds]
teto has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @titouanco opened pull request #98091 → x265: 3.2 -> 3.4 → https://git.io/JUBPx
da39a3ee5e6b4b0d has joined #nixos
mallox has joined #nixos
<{^_^}> [nix] @edolstra pushed 32 commits to master: https://git.io/JUBXC
<{^_^}> [nix] @edolstra merged pull request #3883 → Can build single CA derivations → https://git.io/JJawW
xensky has joined #nixos
orivej has joined #nixos
enteee_ has joined #nixos
leotaku has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
nij``` has joined #nixos
nij`` has quit [Ping timeout: 258 seconds]
shibboleth has quit [Quit: shibboleth]
teto has joined #nixos
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @stigtsp merged pull request #98032 → mbtileserver: init at 0.6.1 → https://git.io/JU4MC
<{^_^}> [nixpkgs] @stigtsp pushed 2 commits to master: https://git.io/JUBXj
alexherbo2 has joined #nixos
<Ke> does nixos periodically cleanup by tmpfiles.d or do I need to schedule systemd-tmpfiles --clean
<Ke> I found no service by search tmpfiles
<NobbZ[m]> At my system `systemd-tmpfiles-clean.timer` exists.
jfirejfioe has joined #nixos
alp_ has quit [Ping timeout: 272 seconds]
Darkmatter66 has joined #nixos
nij``` has quit [Quit: ERC (IRC client for Emacs 27.1)]
Darkmatter66_ has quit [Ping timeout: 256 seconds]
<jfirejfioe> Hi all. First time installer here. Colleagues won't shut up about Nix so I thought, why not? I'm stuck on encrypted ZFS root: boot is via EFI, loads kernel just fine, but there is no prompt for the password. A progress bar just ....... until it offers me to reboot. Any ideas?
<Ke> thanks yes, should have checked that
<Ke> as in I searched config options
<symphorien[m]> I don't know for zfs, but for luks you have to explicitely ask to get a prompt if you also have a keyfile https://search.nixos.org/options?show=boot.initrd.luks.devices.%3Cname%3E.fallbackToPassword&query=luks%20fallback&from=0&size=30&sort=relevance&channel=unstable
teto has quit [Quit: WeeChat 2.9]
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
Christoffer has joined #nixos
Christoffer has quit [Remote host closed the connection]
<etu> jfirejfioe: Have you added boot.supportedFilesystems = [ "zfs" ]; ?
<etu> jfirejfioe: To your configuration.nix
<jfirejfioe> No keyfile. Passphrase from the beginning (zpool create ...)
oxa has quit [Quit: Leaving]
<jfirejfioe> I have zfs supported, yes. The start-up messages make it clear that it's waiting to import the ZFS pool, so ZFS appears configured to that point. But obviously I should have been prompted for the passphrase before attemping to import the encrypted pool.
<jfirejfioe> And it is all ZFS. No LUKS. (I didn't want to mix the two when ZFS already has this feature.)
<jfirejfioe> The documentation for option `boot.zfs.requestEncryptionCredentials` references `keylocation=prompt`, but I have no idea where to set that considering it's not a.full.namespace.
alp_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
mgsk has joined #nixos
<mgsk> Hi, all. Trying to install mailspring from unstable (https://github.com/NixOS/nixpkgs/pull/85492) but whenever I launch mailspring it errors with a complaint about not being able to find libsecret or gnome-keyring. I've tried installing both of those manually, but no cigar. Does anyone here have mailspring installed successfully?
<{^_^}> #85492 (by toschmidt, 21 weeks ago, merged): mailspring: init at 1.7.8
maxdevjs has quit [Ping timeout: 260 seconds]
cr4y1 has joined #nixos
orivej has joined #nixos
<symphorien[m]> gnome-keyring is a service which must be enabled in configuration.nix
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUBMw
<{^_^}> [nixpkgs] @bennofs opened pull request #98092 → traefik: fix dashboard by using source releases → https://git.io/JUBM6
orivej has quit [Ping timeout: 260 seconds]
flx has quit [Ping timeout: 246 seconds]
Swant_ has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
rprije has quit [Ping timeout: 260 seconds]
flx has joined #nixos
Swant has quit [Read error: Connection reset by peer]
Swant_ is now known as Swant
eoli3n_ has quit [Ping timeout: 240 seconds]
<damjan> is this correct http://vpaste.net/dMtTL ? systemd binaries link to libsystemd from the same store, but to a libudev from another systemd store
<{^_^}> [nixpkgs] @doronbehar closed pull request #97650 → gnomeExtensions.dash-to-panel: 38 -> 39 → https://git.io/JUC2f
<{^_^}> [nixpkgs] @doronbehar merged pull request #97153 → omnisharp-roslyn: 1.35.2 -> 1.37.1 → https://git.io/JUsmV
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JUBD2
hiro98 has quit [Ping timeout: 240 seconds]
<damjan> I guess it's easily reproducible with `nix-env -iA systemd -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz`
<{^_^}> [nixpkgs] @marius851000 opened pull request #98093 → portmod: init at 2.0_beta7 → https://git.io/JUBDy
<gchristensen> ibus is the thing for getting an emoji keyboard right?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<tobiasBora> Hello, I'm building a library, and some tests are failing, so I just want to change the test command, but everytime I run "nix-build -A mylib" to check if tests are passing, it recompiles the whole library. What is the correct way to "cache" the build and just run the tests?
rprije has joined #nixos
<symphorien[m]> gchristensen: yes 🙂
orivej has joined #nixos
<gchristensen> it doesn't seem to work ... maybe there are tricky things about using it with wayland + sway
<symphorien[m]> ah I use it with x
<{^_^}> [nixpkgs] @ajs124 closed pull request #80405 → x265: 3.2 -> 3.3 → https://git.io/Jv4W4
<etu> I use rofi with an emoji plugin as emoji picker on sway 🙃
<etu> I know that rofi is an X program, but it works fine on sway as well
hiro98 has joined #nixos
<etu> gchristensen: If interested: https://github.com/etu/nixconfig/blob/master/modules/my-sway.nix#L283 Line 5 is also very relevant
MasseR has quit [Ping timeout: 240 seconds]
MasseR has joined #nixos
noogie has quit [Ping timeout: 264 seconds]
<gchristensen> looks pretty good, thanks etu! (though some looking to be done clipboard-adapter.sh: 3: exec: -a: not found)
sangoma has quit [Ping timeout: 272 seconds]
<jfirejfioe> It looks like keylocation=prompt is an option to zpool when creating. It's not easy to change after the pool is created. I'll give it a try tomorrow and report back.
noogie has joined #nixos
<etu> jfirejfioe: Yes, I usually use that option, good luck! :)
ManiacOfMadness` has quit []
jfirejfioe has quit [Quit: leaving]
ManiacOfMadness has joined #nixos
<hexo_> hello, is there a way to force nix-build being offline?
<hexo_> last time i did horrible mistake and took laptop to park, to work there
<hexo_> i've hit a nix-build on a project
<gchristensen> --no-net I think
<hexo_> it just *had to* download unnecessary stuff
<hexo_> manual page is silent about --no-net
<hexo_> --fallback?
<hexo_> epic name.
andreas303 has quit [Remote host closed the connection]
sangoma has joined #nixos
Rusty1 has joined #nixos
andreas303 has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
simonpe^^ has joined #nixos
<simonpe^^> I'm trying to override nativeBuildInputs in shell.nix for my derivation created with mkDerivation in default.nix, I'm getting 'attribute nativeBuildInputs missing' and I don't understand why.
<q3k[m]> simonpe^^: show us your code
<simonpe^^> sec
<q3k[m]> `d.overrideAttrs (oa: { nativeBuildInputs = [ ... ]; })` should work
gustavderdrache has joined #nixos
<pbogdan> does the derivation you are overriding actually have nativeBuildInputs?
sangoma has joined #nixos
<pbogdan> if not you may need `nativeBuildInputs = old.nativeBuildInputs or [] ++ [ ]`
<simonpe^^> q3k[m]: pbogdan: default.nix: http://codepad.org/mBaUEkGO shell.nix: http://codepad.org/1XiLoFRS
sputny has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUBQ0
<simonpe^^> pbogdan: lol the "or" was the problem, thx
<q3k[m]> simonpe^^: yeah try the or
<q3k[m]> yep
<{^_^}> [nixpkgs] @eyJhb opened pull request #98095 → scrot: 1.3 -> 1.4 → https://git.io/JUBQa
<eyJhb> ^ If anyone wants to do a quick PR
<ldlework> eyJhb: have you ever seen my tool recap?
<eyJhb> ldlework: tool recap?
<eyJhb> What you got for me? :o
<ldlework> eyJhb: it combines scrot, and some other tools to make a really nice screen capture/record tool
<eyJhb> You might have sent it at one point, but hit me up with it again ldlework !
justanotheruser has joined #nixos
<eyJhb> I am trying to organise my bookmarks better. Also, I have been using imgur-screenshot for a while now.
<ldlework> (that's two different videos)
<ldlework> eyJhb: are you an emacs user?
<eyJhb> ldlework: noooo
<eyJhb> vim
rprije has quit [Ping timeout: 272 seconds]
<eyJhb> ldlework: what is the inception you are doing :o
<eyJhb> Looks nice!
<ldlework> :)
<ldlework> eyJhb: ah I just have created a bookmark solution too, using emacs org-mode
<eyJhb> Atm. I am currently figuring out how it can ease my notetaking. - But does it have a repo?
<ldlework> eyJhb: you'll be the second user ever so i'm open to hearing about bugs and bad design
<ldlework> eyJhb: is there any reason why you use vim specifically? have you considered evil mode for emacs?
<eyJhb> Tried emacs for a while, never really liked it. Never used it with evil mode, have considered it, but haven't gotten the time yet
<eyJhb> I hate vimscript however, and how vim interacts with other langugageegges
<eyJhb> Anything like coc for emacs?
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #97149 → nodePackages.diagnostic-languageserver: init at 1.7.1 → https://git.io/JUskh
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JUBQp
captn3m0 has quit [Ping timeout: 265 seconds]
<ldlework> eyJhb: dunno what that is
<ldlework> eyJhb: i have written a number of packages for emacs. lisp isn't my favorite language, but it's obviously quite servicable.
<{^_^}> [nixpkgs] @grahamc merged pull request #97790 → release*: Support nixpkgsArgs for all release-*.nix files → https://git.io/JUW99
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JUBQj
<ldlework> eyJhb: i'm not sure what's not to like about emacs specifically. it's frame, that can be split into N windows, each of which displays a buffer of text, every buffer is in a "major mode" which maps input events to arbitrary lisp functions which can in turn update the buffer or do anything else, like manipulate files, talk to apis, etc.
Jackneill has quit [Ping timeout: 258 seconds]
<ldlework> you can use this simple system to build just about anything. text editors, IDEs, email clients, rss readers, container and vm managers, task and knowledge systems, etc
jr has joined #nixos
<ldlework> vim's input philosophy is made real via evil-mode
<ldlework> wam bam
<jr> hi guyz
* dutchie wonders if anyone has made an evil-mode-alike for kakoune
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7dbc32359dd (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
cfricke has quit [Quit: WeeChat 2.9]
<eyJhb> ldlework: adisbladis have also tried to convience me! I just need to find the time :p
<eyJhb> ldlework: do you have the ability to write on the image after you have taken it?
<ldlework> no
<{^_^}> [nixpkgs] @Moredread closed pull request #98051 → vcv-rack: fix broken pffft reference → https://git.io/JUBLp
<{^_^}> [nixpkgs] @Moredread reopened pull request #98051 → vcv-rack: fix broken pffft reference → https://git.io/JUBLp
<eyJhb> ldlework: damn. Didn't know I would like that till now.. Just trying to write my professor about a equation that seems to be off
<eyJhb> Still saved ldlework ! :D As it looks quite nice
<ldlework> can just open it in gimp i guess
<ldlework> eyJhb: it has nix expressions in the repo fwi
<ldlework> fyi rather
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
CMCDragonkai1 has joined #nixos
CMCDragonkai1 has quit [Client Quit]
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @galagora opened pull request #98096 → calibre: Update Qt libs to 5.15 → https://git.io/JUB7u
<eyJhb> Yeah I saw that, makes it 10x better ldlework :p
<eyJhb> Lets go to #-chat
jr has quit [Quit: leaving]
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
kleisli__ has quit [Ping timeout: 240 seconds]
sangoma has quit [Ping timeout: 272 seconds]
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
waleee-cl has joined #nixos
<simonpe^^> I've had some problems when subscribing to the unstable channel that the cache disappears and I have to build everything from source, I'm fine with using the 20.09 repos but is that cache kept for longer than the unstable one?
<simonpe^^> or actually I use niv to lock down the nixpkgs commit for my projects, but I don't want to build gcc over and over so idk what revision to lock down in order to avoid building everything from source
da39a3ee5e6b4b0d has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nikivi has joined #nixos
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ajs124 opened pull request #98097 → matrix-synapse: 1.19.1 -> 1.19.2 → https://git.io/JUB5I
<beaky> so i have my own nixpkgs clone in my users home directory is there a way to use that local nixpkgs from the systemwide nixos pkgs for certain packages (rather than having to nix-env -f that nixpkgs as the user)?
AlpineLlama has quit [Quit: No Ping reply in 180 seconds.]
sputny has quit [Ping timeout: 244 seconds]
AlpineLlama has joined #nixos
kleisli__ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JUB5Q
detran has joined #nixos
ddellacosta has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
srhm has joined #nixos
zupo has joined #nixos
sigmundv_ has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
sangoma has joined #nixos
jeregrine has left #nixos [#nixos]
oida has quit [Ping timeout: 240 seconds]
oida has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 354 commits to haskell-updates: https://git.io/JUBF5
stu_[m] has joined #nixos
<{^_^}> [nixpkgs] @titouanco opened pull request #98098 → micro: 2.0.5 -> 2.0.7 → https://git.io/JUBFp
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @evanjs opened pull request #98099 → postman: 7.31.1 -> 7.32.0 → https://git.io/JUBbn
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aaf1331bca7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
boredom101 has joined #nixos
mallox has joined #nixos
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa> When I run nix-index, I get `Error: fetching the file listing for store path '/nix/store/7rvaglzhlx2q2dlnqi71nhj9z6n2jnay-reposurgeon-3.44.tar.xz' failed`
<selfsymmetric-pa> That path doesn't exist, I don't have reposurgeon installed, and nix-store repair succeeds with no problems.
arjen-jonathan has quit [Ping timeout: 244 seconds]
boredom101 has quit [Remote host closed the connection]
veleiro has quit [Remote host closed the connection]
fendor has joined #nixos
<{^_^}> [nixpkgs] @meutraa opened pull request #98101 → androidStudioPackages.beta: 4.1.0.17 -> 4.1.0.18 → https://git.io/JUBbS
orivej has quit [Ping timeout: 260 seconds]
Synthetica has joined #nixos
ManiacOfMadness has quit [Ping timeout: 256 seconds]
sreybastien[m] is now known as reyman[m]
<{^_^}> [nixpkgs] @ryantm merged pull request #98058 → manix: init at 0.6.2 → https://git.io/JUBmD
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/JUBbN
da39a3ee5e6b4b0d has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #97948 → coursier: 2.0.0-RC6-25 -> 2.0.0-RC6-26 → https://git.io/JU8Kn
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUBbh
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JUBbj
fendor has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « ufraw: mark broken »: https://git.io/JUBNt
mmk2410 has joined #nixos
fendor has joined #nixos
aveltras has joined #nixos
da39a3ee5e6b4b0d has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor_ has joined #nixos
fendor has quit [Ping timeout: 260 seconds]
gentauro has quit [Read error: Connection reset by peer]
da39a3ee5e6b4b0d has joined #nixos
gentauro has joined #nixos
mkg has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
da39a3ee5e6b4b0d has quit [Client Quit]
Guest31244 has quit [Changing host]
Guest31244 has joined #nixos
Guest31244 has joined #nixos
Guest31244 is now known as georgyo[m]
zupo has joined #nixos
georgyo[m] has quit [Quit: authenticating]
georgyo[m] has joined #nixos
cfricke has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
o1lo01ol1o has quit [Remote host closed the connection]
<mkg> I've a new laptop and I'm redoing my configuration. I would like to switch all user stuff to home-manager leaving only the minimum in configuration.nix.
<{^_^}> [nixpkgs] @drewrisinger opened pull request #98104 → python3Packages.tinydb: 3.14.1 -> 4.1.1 → https://git.io/JUBAL
mullein[m] has joined #nixos
<mkg> I have a small configuration.nix and am working on a home.nix per rycee's home-manager-template.
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUBAO
saschagrunert has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @hannesweisbach opened pull request #98105 → kicad: remove gettext from buildInputs, add to nativeBuildInputs → https://git.io/JUBA3
<mkg> I would like to modularize my configuration by creating a mkg module with options such as mkg.gui.enable = true; mkg.gui.base = "X11" (or "Wayland") ; mkg.gui.wm = "i3" (or "sway"); etc. I don't know where to get started. A pointer to a repo to use as an example would be very helpful.
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
duckonomy_ is now known as duckonomy
<{^_^}> [nixos-homepage] @garbas pushed to feature/2020-redesign-improve-landing-page-content « improve content on the landing page »: https://git.io/JUBAW
da39a3ee5e6b4b0d has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger opened pull request #98106 → mk-python-derivation: document pyproject format → https://git.io/JUBAB
<{^_^}> [nixos-homepage] @garbas opened pull request #534 → Feature/2020 redesign improve landing page content → https://git.io/JUBAu
Fare has joined #nixos
<{^_^}> [nixos-homepage] @garbas closed pull request #534 → Feature/2020 redesign improve landing page content → https://git.io/JUBAu
<{^_^}> [nixpkgs] @roberth opened pull request #98107 → nixos/cassandra: Add cfg.extraEnvSh → https://git.io/JUBAa
<{^_^}> [nixos-homepage] @garbas opened pull request #535 → improve content on the landing page → https://git.io/JUBAr
wolke has quit [Quit: ZNC 1.8.1 - https://znc.in]
mkg has quit [Remote host closed the connection]
erasmas has joined #nixos
da39a3ee5e6b4b0d has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wolke has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
domogled has joined #nixos
philr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #98106 → mk-python-derivation: document pyproject format → https://git.io/JUBAB
<{^_^}> [nixpkgs] @FRidh pushed commit from @drewrisinger to master « mk-python-derivation: document pyproject format »: https://git.io/JUBxk
<{^_^}> [nix] @edolstra pushed 26 commits to master: https://git.io/JUBxL
<{^_^}> [nix] @edolstra merged pull request #4011 → Document store options → https://git.io/JU8hc
cr4y1_ has joined #nixos
cr4y1 has quit [Ping timeout: 272 seconds]
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #98109 → verilator: 4.040 -> 4.100 → https://git.io/JUBxl
sangoma has joined #nixos
lordcirth_ is now known as lordcirth
arjen-jonathan has joined #nixos
growpotkin has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
eoli3n_ has joined #nixos
sangoma has quit [Ping timeout: 246 seconds]
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
<Orbstheorem> Hello o/ I'm running clangd as a language server from the clang package, but it seems to be unable to find the stl headers :(
<Orbstheorem> Is there a special derivation to get a compiler with system headers ?
<{^_^}> [nixpkgs] @vcunat pushed 254 commits to staging-next: https://git.io/JUBpT
sangoma has joined #nixos
<{^_^}> [nix] @maljub01 opened pull request #4022 → Fix multi-user installation with a symlinked store → https://git.io/JUBpz
noogie has quit [Read error: Connection reset by peer]
noogie has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUBhJ
orivej has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #98101 → androidStudioPackages.beta: 4.1.0.17 -> 4.1.0.18 → https://git.io/JUBbS
<{^_^}> [nixpkgs] @primeos pushed commit from @meutraa to master « androidStudioPackages.beta: 4.1.0.17 -> 4.1.0.18 »: https://git.io/JUBhU
Thra11 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor__ has joined #nixos
fendor_ has quit [Ping timeout: 272 seconds]
ericsagnes has quit [Ping timeout: 240 seconds]
rembo10 has quit [Quit: ZNC 1.8.1 - https://znc.in]
maxdevjs has joined #nixos
<damjan> anyone knows what `# !!! should use XML.` means here ? https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-system-tarball.nix#L44
rembo10 has joined #nixos
<Reiser> How do you guys handle rapidly updating software, I notice the current firefox version in nixpkgs is 70.0.1, and I'm assuming automatic firefox update kind of breaks the nix environment?
<mvnetbiz_> rapidly update the whole nix environment lol
<mvnetbiz_> if you want an exception for firefox you could use flatpak or something, but I dont know how well that works
<mvnetbiz_> or if there is a better way
<Reiser> Latest is 80, doesn't seem that rapid hahaha
<Reiser> I see, hmm
<damjan> or just add it from master?
knupfer has joined #nixos
<Reiser> damjan: How do you work from master? (Brand new to NixOS, silly question probably)
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #98110 → pythonPackages.topydo: Don't fail build on tests → https://git.io/JUBh9
<damjan> Reiser: I'm new too but, `nix-env -iA firefox -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz` should work
<regnat> Orbstheorem: if by any chance you find an answer to that I'm interested ;)
<mvnetbiz_> Reiser, firefox is 76.0.1 on nixos 19.09, and 80 on 20.03, what version are you on?
<Reiser> Interesting, kind of surprised there are releases, I'd have thought given how everything uses only its own dependencies, you wouldn't need releases anymore
<Reiser> mvnetbiz_, 19.09, I guess I'm out of date
<mvnetbiz_> You probably are using channels, have you run nix-channel --update as root recently?
<damjan> Reiser: build time dependencies need to happen in sync :)
<Reiser> I only just installed, I was trying it out with the community ISO available on Vultr
<Reiser> Thought it would be up to date, I'll update now and see how it goes
<Reiser> damjan, wouldn't there be new derivations for build time dependencies too?
CMCDragonkai1 has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « python3Packages.google_api_python_client: 1.11.0 -> 1.12.1 »: https://git.io/JUBjv
ericsagnes has joined #nixos
puffnfresh_ has quit [Ping timeout: 260 seconds]
puffnfresh_ has joined #nixos
CMCDragonkai has quit [Ping timeout: 260 seconds]
CMCDragonkai1 is now known as CMCDragonkai
vk3wtf has quit [Ping timeout: 260 seconds]
vk3wtf has joined #nixos
jtojnar has joined #nixos
<jtojnar> Emantor: this might also interest you https://github.com/jtojnar/nixpkgs-hammering/issues/1
<{^_^}> jtojnar/nixpkgs-hammering#1 (by jtojnar, 4 weeks ago, open): Implement the rest of the checks
cole-h has joined #nixos
endocrimes_ is now known as endocrimes
<NobbZ[m]> [Reiser](https://matrix.to/#/@freenode_Reiser:matrix.org) 19.0x won't get any updates anymore, 20.03 will be EOL soon as well. Still, I'd update incrementally to the next releases channel, instead of doing a big jump, to make sure that deprecations in the config file get fixed while you move along
<Reiser> NobbZ[m], I'm only trialing it at the moment, so a full sytem wipe will be fine, but I'll try and practice this to get used to it
<NobbZ[m]> And whatever vultr is, they should probably provide an image of a version still supported
<Reiser> Main thing now is I'm not sure I understand why there's a release cycle given how nixpkgs seems to work, trying to get a good mental model
<Reiser> Ah I think It's a community ISO anyway so I don't think It's Vultr's fault
<{^_^}> [nix] @maljub01 opened pull request #4023 → Fix the nix-daemon Mac OS SSL CA cert → https://git.io/JUBj8
<Reiser> Nix wiki says it's hosted on Vultr though, so I had expected a later ISO still :)
cjpbirkbeck has joined #nixos
euandreh` has joined #nixos
<NobbZ[m]> 1. You gave a deprecation barrier for system configuration
<NobbZ[m]> 3. Deprecation barrier for things like postgres that makes upgrading its major version hard without proper preparation
<NobbZ[m]> 2. Tool won't look totally different because it got a major release, instead that major release will only be in the next release cycle of nixOS
sangoma has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @oyren opened pull request #98111 → gtg: unstable-2020-08-02 -> unstable-2020-09-16 → https://git.io/JUBjR
euandreh has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @titouanco opened pull request #98112 → mkvtoolnix: 48.0.0 -> 50.0.0 → https://git.io/JUBj0
ManiacOfMadness has joined #nixos
hiro98 has quit [Ping timeout: 256 seconds]
<Reiser> NobbZ[m], that makes sense. Just to confirm though, in THEORY, you could run a constant rolling release channel given everything is separated anyway. And get an Arch like bleeding edge experience right?
veleiro has joined #nixos
iMatejC has quit [Quit: WeeChat 2.9]
<NobbZ[m]> That would be nixos-unstable.
<Reiser> Oh, well there you go
<Reiser> Thanks NobbZ[m], appreciate the answers/patience
<NobbZ[m]> Still, it's probably still slower than arch. Simply due to processes
<Reiser> Makes sense
iMatejC has joined #nixos
<Reiser> I do have one final question, this VPS I'm trialing on has 1GB ram. Trying to do `nix-env -u` seems to OOM kill nix
<Reiser> I'm guessing because It's loading the full package tree into RAM, is there a way around this or is the answer just: I need more than 1GB ram to run nix
<{^_^}> [nixos-homepage] @garbas merged pull request #535 → improve content on the landing page → https://git.io/JUBAr
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to feature/2020-redesign: https://git.io/JUBjX
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to feature/2020-redesign-improve-landing-page-content: https://git.io/JUBj1
<NobbZ[m]> What is -u doing? I am not using nix-env...
<Reiser> Updating derivations in the user environment
<NobbZ[m]> Though indeed, evaluating my system conf usually is roughly consuming 2 to 3 gig of ram
<mvnetbiz_> Reiser, does your vps have /etc/nixos/configuration.nix in it? I am not familiar with what that image might come with
<mvnetbiz_> I have a 1gb vps that I run nixos on fine, I have had to systemctl stop a service once I think to nixos-rebuild
<{^_^}> [nixpkgs] @mmahut merged pull request #95104 → Add btcpayserver → https://git.io/JJDEA
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/JUBjy
<Reiser> mvnetbiz_, it does ineed -- I've already upgraded to 20.03 though
<{^_^}> [nixos-homepage] @garbas merged pull request #532 → redesign: misc. fixes for asciinema panes → https://git.io/JUB4E
<{^_^}> [nixos-homepage] @garbas pushed 3 commits to feature/2020-redesign: https://git.io/JUBj9
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to feature/2020-r/asciinema-fixes: https://git.io/JUBjH
<{^_^}> [nixpkgs] @SFrijters opened pull request #98113 → maestral-qt: 1.1.0 -> 1.2.0 → https://git.io/JUBjQ
<mvnetbiz_> Reiser, you ran nixos-rebuild switch?
sangoma has joined #nixos
<Reiser> Yeah, rebooted and upgraded, now on `Linux nixos 5.4.64`
<Reiser> I can see nix being killed by the OOM reaper, so It's definitely just not enough ram, I can just setup some swap I guess -- was just curious
cr4y1_ has quit [Read error: Connection reset by peer]
fendor__ has quit [Remote host closed the connection]
cr4y1_ has joined #nixos
<xensky> when executing a nixos-rebuild my grub is getting a new generation listed but it's not rerunning os-prober; i need it to do that because i moved some EFI files. is there a way to trigger that?
<mvnetbiz_> boot.loader.grub.useOSProber?
<mvnetbiz_> oh
<xensky> yeah that's active
<mvnetbiz_> do nixos-rebuild boot --install-bootloader
kleisli_ has joined #nixos
<xensky> thanks, gonna reboot and see if that worked
kleisli__ has quit [Ping timeout: 240 seconds]
<xensky> didn't work.. it's still listing a deleted EFI entry and not detecting one i added
cr4y1_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @tokudan opened pull request #98114 → matrix-synapse: 1.19.1 -> 1.19.2 → https://git.io/JURel
endformationage has joined #nixos
cr4y1_ has joined #nixos
<{^_^}> [nixpkgs] @galagora opened pull request #98115 → pythonPackages: default to qt514 → https://git.io/JUReB
<mvnetbiz_> do you have multiple EFI partitions?
<{^_^}> [nixpkgs] @timjrd opened pull request #98116 → sc-controller: fix missing icons (librsvg) → https://git.io/JURe0
cosimone has quit [Read error: Connection reset by peer]
<xensky> i did; there was supposed to be one shared partition but fedora installed its own. i moved fedora to the shared partition where nixos and windows are
<xensky> and it does detect window's EFI
cosimone has joined #nixos
<mvnetbiz_> maybe it works based on efi boot entries, you could check what you have with efibootmgr
zupo has joined #nixos
<xensky> doesn't seem to match up with that either. weird
<{^_^}> [nixpkgs] @tokudan opened pull request #98117 → matrix-synapse: 1.19.1 -> 1.19.2 [20.09] → https://git.io/JUReP
acarrico has quit [Ping timeout: 265 seconds]
mariatsji has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
tokudan_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @leenaars closed pull request #55797 → pythonPackages.pantable: init at 0.12.2 → https://git.io/fh797
mariatsji has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @leenaars closed pull request #91064 → LindeBuzoGrayStippling: init -> 1.0 → https://git.io/JfF0U
tokudan has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
mariatsji has joined #nixos
mmohammadi9812 has joined #nixos
mmohammadi9812 has quit [Client Quit]
meh` has joined #nixos
<Reiser> Is the default set of binaries in `/run/current-system/sw/bin` defined somewhere?
mananamenos has quit [Ping timeout: 256 seconds]
<mvnetbiz_> I think it might come from environment.systemPackages, I'm not sure if from anywhere else
<cole-h> Pretty sure it's just the contents of `environment.systemPackages`
<mvnetbiz_> If you run `nixos-option environment.systemPackages`, it should at the bottom which modules add things to it
justanotheruser has quit [Ping timeout: 244 seconds]
jumper149 has joined #nixos
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #98118 → pythonPackages.cryptography_2_9: Allow to use version 2.9 with Python3 → https://git.io/JURvE
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
ris has joined #nixos
<{^_^}> [nixpkgs] @chkno opened pull request #98119 → Use curl --fail in NixOS tests → https://git.io/JURvy
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
_ris has joined #nixos
alp_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #97227 → libxsmm: 1.15 -> 1.16.1, improve derivation → https://git.io/JUs9M
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JURvH
<{^_^}> [nixpkgs] @ajs124 opened pull request #98120 → transcribe: drop → https://git.io/JURv7
sangoma has joined #nixos
ris has quit [Ping timeout: 260 seconds]
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #98121 → python3Packages.sslyze: Update dependencies → https://git.io/JURvh
<{^_^}> [nixpkgs] @FRidh closed pull request #98118 → pythonPackages.cryptography_2_9: Allow to use version 2.9 with Python3 → https://git.io/JURvE
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #97298 → filebot: init at 4.9.1 → https://git.io/JUGDP
<{^_^}> [nixpkgs] @AndersonTorres pushed 3 commits to master: https://git.io/JURfY
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Remote host closed the connection]
nij has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « Revert "qutebrowser: use qt515 (#97586)" »: https://git.io/JURfR
<nij> I was pretty excited about nixos, but I'm a bit confused recently. Needing to work with other OSes anyways, I decide to keep my config files separately, and ask nix to fetch them or create symlinks.. but then my system is not reproducible :( if I do it this way, is there still a point for me to use nixos?
noogie has quit [Ping timeout: 272 seconds]
<xensky> nij i'm in the same boat right now; i'm symlinking my config files but if you really want the reproducibility, put your config files in a git repo and have nix config pull them from there instead of from your local disk
noogie has joined #nixos
<nij> In fact, I use symlinkings instead of fetching for another reason:
<nij> some softwares (e.g. ranger) ask for writability to its config folder.
<nij> If I use the fetching method, nix will make `~/.config/ranger` read-only.
<mvnetbiz_> what are you doing this with? home-manager?
<nij> Yes.
knupfer has quit [Remote host closed the connection]
<nij> home-manager.users.me = {home.file = { #".config/ranger/rc.conf".text =
<nij> #builtins.readFile "${tilde}/.config/ranger/rc.conf";
<nij> }}
knupfer has joined #nixos
<nij> I have commented out. Oh dear.. should have used bpaste ;(
noogie has quit [Read error: Connection reset by peer]
noogie has joined #nixos
seku has joined #nixos
__monty__ has joined #nixos
mariatsji has joined #nixos
<mvnetbiz_> intead of builtins.readFile try setting home.file.".config/ranger/rc.conf".source = "${tilde}/.config/ranger/rc.conf" ?
<nij> Hmm! Lemme try it
cole-h_ has joined #nixos
<abathur> I'm not sure this is quite your question, but I've been personally a little bearish on pulling all of my config into .nix files for things I use cross-platform; but I version my .nix files and my configs in the same dotfile repo (I manage it with yadm), so it is vaguely reproducible in the sense that they're versioned together
<nij> abathur: is that too much different than using an ordinary OS?
<abathur> in that sense, if it's in ~/, I don't have to symlink too much--since ~/ is the dotfile repo root
<abathur> sure? all of my software is still provisioned via Nix, I get the atomic profile rebuild/rollback
cole-h has quit [Ping timeout: 258 seconds]
werner291 has joined #nixos
<abathur> and I get to share most of that between macOS and NixOS
<abathur> are you asking the more narrow question about why not just use Nix+OS? vs NixOS?
<{^_^}> [nixpkgs] @SFrijters closed pull request #98073 → maestral-gui: Update Qt libs to 5.15 → https://git.io/JUBWq
<nij> Nope. I did mean why NixOS not other OSs.
<nij> For me, why I enter was b/c of reproducibility of my system. That means if all humans no longer exist, with nixpkgs I can reproduce my system.
<nij> But I cannot see such reproducibility.. for example, the packages on my nixos still updates themselves. If I decide to roll back to older versions (say the state 2 years ago), new features in other packages won't be usable anyways.
<mvnetbiz_> can ranger rc.conf import/include another file? maybe you make home-manager create a .config/ranger/rc-static.conf, and have rc.conf include that and then you can edit config through ranger and when you want to commit it you manually copy it over to the nix config?
<nij> But in real life, we need to upgrade packages. So what's really the point of being able to roll back?
<xensky> packages break sometimes
<nij> mvnetbiz_: Things like that can work.. but that's going to introduce un-reproduciblity :(..
<mvnetbiz_> I dont get it your problem in the first place was wanting to edit your settings in your ranger UI, but that is un-reproducible
<abathur> I'm not sure how others experience it, but the utility of rollback is mainly short-run
meh` has quit [Ping timeout: 258 seconds]
noogie has quit [Read error: Connection reset by peer]
noogie has joined #nixos
<mvnetbiz_> nij, or do you not care about using ranger settings editor, but it won't even run if it doesnt have write access?
kahiru has quit [Ping timeout: 265 seconds]
<nij> mvnetbiz_: makes sense.. seems i must choose a side..
<abathur> i.e., most of us are going to have old generations GCed anyways; we won't keep them all forever
kahiru has joined #nixos
<nij> abathur: Ah it's for short-term.. why? I have been on archlinux for almost 2 years, I never had to roll-back.
<nij> Maybe I'm not using arch radically enough yet.
noogie has quit [Read error: Connection reset by peer]
<NobbZ[m]> I wished it would have been possible quite often when I was on arch...
<abathur> I don't feel like I fully grasp where it's breaking down for you, but you may just be bumping up against the fact that a lot of software is built from the worldview of computer-as-a-big-gloop-of-state, and that there are some inherent limitations on what Nix and NixOS can accomplish around those boundaries
ixxie has joined #nixos
<nij> abathur: maybe it's that I haven'd met a need to roll-back in short term. So I misunderstood that nixos can help me roll-back to say 2 years ago.
LnL has quit [Quit: exit 1]
<nij> Thus I failed to get it. Now I feel better.
<nij> NobbZ[m]: what happened to you on arch?
noogie has joined #nixos
<mvnetbiz_> you could roll back to 2 years ago if you have all your nix expressions at that time
<xensky> or if you kept that generation ;)
<{^_^}> [nixpkgs] @galagora closed pull request #98115 → pythonPackages: default to qt514 → https://git.io/JUReB
<nij> xensky: I also hope things can be declarative :"D
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JURJ5
<mvnetbiz_> I have completely stateless computing I run NixOS and it boots up into a terminal with vim open and a read-only buffer, and no way to get out of it. I don't get much done though
<nij> mvnetbiz_: can I specify which version of, say, "vim" in configuration.nix? Will github/nixpkgs take away old packages?
<mvnetbiz_> there is no concept of "taking away" really
<nij> They won't ever remove older packages?
<mvnetbiz_> You can remove vim from configuration.nix and it doesn't remove it but it builds a completely new environment without the old vim and with the new one
alp_ has joined #nixos
<abathur> nij sure (and that's not to say some people aren't doing longer rollbacks--just that I haven't needed to do one beyond a few days); if I'm in the middle of a project and I update to try out the latest version of some software over the weekend but then come Monday find out my build workflow is broken, I can roll back to when I know it built and sort out the problem on my own time later
<mvnetbiz_> but the old one is still in /nix/store somewhere, and the old environment is too
<NobbZ[m]> @nij postgres updates, windows manager updates.
<abathur> nij there are different concepts of "they" and "version" here
<mvnetbiz_> nij, in nixpkgs old packages get removed or updated, but you can still get it by checking out an old version of nixpkgs in git and building it
<symphorien[m]> nij: nixpkgs usually has only one version of vim, but you can easily use the version of an older nixpkgs if so you wish
<symphorien[m]> ,unstable nij
<{^_^}> nij: How to install from unstable while remaining on stable: https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F . Also note that there's nixpkgs-unstable and nixos-unstable
<symphorien[m]> this faq entry also work with older channels ^
<nij> I see. I think my problem is that I never walked out from my comfort zone, thus I never had to rollback..
<abathur> nij if you want really strong reproducibility at the system level, I think you'd historically either be using your own nixpkgs fork/repo or pinning to a specific nixpkgs commit rather than tracking a channel; on the bleeding edge and near future you'll be able to do this better with "flakes" I gather
noogie has quit [Read error: Connection reset by peer]
<nij> If I were a developer who needs to install new packages often, I could have run into problem several times.
<abathur> nij well; not really a problem per-se; I'm happy when nothing breaks :)
mariatsji has quit [Remote host closed the connection]
noogie has joined #nixos
<nij> I entered nixos just b/c I thought a declarative and 100% reproducible system is sexy :P
<abathur> for sure
<nij> need to learn more before I reach that
<abathur> it's a process
<{^_^}> [nixpkgs] @FRidh merged pull request #98089 → pythonPackages.pyslurm: mark as broken → https://git.io/JUBPi
<{^_^}> [nixpkgs] @FRidh pushed commit from @lsix to master « pythonPackages.pyslurm: mark as broken »: https://git.io/JURUY
orivej has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @galagora closed pull request #98096 → calibre: Update Qt libs to 5.15 → https://git.io/JUB7u
sangoma has quit [Quit: WeeChat 2.9]
<abathur> in my limited time using them (early 2018) I think Nix/NixOS are slowly moving towards supporting a more general-computing use-case, but development work is definitely a common driver of interest in Nix
noogie has quit [Read error: Connection reset by peer]
noogie has joined #nixos
<mvnetbiz_> Why shouldn't this give me { b = 5;}? `let a = { a = 5; b = 5; }; b = { b = 1; }; in lib.filterAttrs (n: v: b ? n) a`
tsrt^ has joined #nixos
<mvnetbiz_> keep attributes of a, of which b has also an attribute by the same name
kreyren_ has joined #nixos
<mvnetbiz_> seems like a nix language bug unless theres something obcious i dont get
<{^_^}> [nixpkgs] @turboMaCk opened pull request #98122 → corefonts: fix hash mismatch update → https://git.io/JURUK
andreas303 has quit [Remote host closed the connection]
<jumper149> When can I expect nixos-20-09 to release?
<symphorien[m]> > let a = { a = 5; b = 5; }; b = { b = 1; }; in lib.filterAttrs (n: v: b ? n) a
<{^_^}> { }
nij has quit [Remote host closed the connection]
<mvnetbiz_> > let a = { a = 5; b = 5; }; b = { b = 1; }; in b ? "a"
<{^_^}> false
<{^_^}> [nixpkgs] @FRidh pushed to release-20.09 « pythonPackages: set qt version by overriding pkgs »: https://git.io/JURUP
knupfer has quit [Read error: Connection reset by peer]
knupfer1 has joined #nixos
kreyren has quit [Ping timeout: 240 seconds]
jtcs has quit [Ping timeout: 258 seconds]
stiell has quit [Ping timeout: 260 seconds]
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
andreas303 has joined #nixos
knupfer has joined #nixos
jtcs has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « qutebrowser: fixup »: https://git.io/JURU1
<mvnetbiz_> > let a = { a = 5; b = 5; }; b = { b = 1; }; in lib.filterAttrs (n: v: lib.elem n (lib.attrNames b)) a
<{^_^}> { b = <CODE>; }
alp_ has quit [Ping timeout: 272 seconds]
boredom101 has joined #nixos
<mvnetbiz_> Okay I guess `?` nix expression operator is broken in some uses
<symphorien[m]> this is mysterious
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #98109 → verilator: 4.040 -> 4.100 → https://git.io/JUBxl
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JURUS
<exarkun> is the right hand argument to ? supposed to be a string or a symbol?
rihards has joined #nixos
<exarkun> I think it is a symbol
<mvnetbiz_> either works
<mvnetbiz_> > { test = "hi"; } ? "test"
<{^_^}> true
<exarkun> Or maybe I should say
<mvnetbiz_> > { test = "hi"; } ? "te" + "st"
<exarkun> is it meant to be an expression that evaluates to a string, or a literal symbol?
<{^_^}> cannot coerce a boolean to a string, at (string):323:1
<exarkun> > { test = "hi"; } ? ("te" + "st")
<mvnetbiz_> > { test = "hi"; } ? ("te" + "st")
<{^_^}> error: syntax error, unexpected '(', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):323:20
<{^_^}> error: syntax error, unexpected '(', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):323:20
<exarkun> It seems it is not just an arbitrary expression that evaluates to a string
<mvnetbiz_> exarkun, oh right
<exarkun> > { test = "hi"; } ? test
<{^_^}> true
<exarkun> > let test = "foo"; in { test = "hi"; } ? test
<mvnetbiz_> didnt think about literal string vs expression
<{^_^}> true
<mvnetbiz_> nevermind :o
<exarkun> seems like kind of a weird language choice
<exarkun> I guess there's probably a library function that does what you want though
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mvnetbiz_> hasAttr
stiell has joined #nixos
<{^_^}> [nixpkgs] @beardhatcode opened pull request #98123 → Add Zettlr → https://git.io/JURUd
<mvnetbiz_> > let a = { a = 5; b = 5; }; b = { b = 1; }; in lib.filterAttrs (n: v: hasAttr n b) a
<{^_^}> { b = <CODE>; }
<mvnetbiz_> > let a = { a = 5; b = 5; }; b = { b = 1; }; in lib.filterAttrs (n: v: b ? ${n}) a
<{^_^}> { b = <CODE>; }
andreas303 has quit [Remote host closed the connection]
<exarkun> why are lib and hasAttr in scope for {^_^}
<mvnetbiz_> exarkun, I guess if you enclose the right operand in ${} it works
<exarkun> let lib = (import <nixpkgs> { }).lib; a = { a = 5; b = 5; }; b = { b = 1; }; in lib.filterAttrs (n: v: lib.hasAttr n b) a
<exarkun> > let lib = (import <nixpkgs> { }).lib; a = { a = 5; b = 5; }; b = { b = 1; }; in lib.filterAttrs (n: v: lib.hasAttr n b) a
<{^_^}> { b = <CODE>; }
<exarkun> and what does <CODE> mean anyway
<symphorien[m]> add :p at the beginning
<mvnetbiz_> > :p let a = { a = 5; b = 5; }; b = { b = 1; }; in lib.filterAttrs (n: v: b ? ${n}) a
<symphorien[m]> `<CODE>` means that nix is lazy, and that the value cannot be printed as it wasn't evaluated
<{^_^}> { b = 5; }
cole-h_ is now known as cole-h
andreas303 has joined #nixos
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa> Is a 20.09 beta branch available yet?
<selfsymmetric-pa> I'm tempted to try it out.
<mvnetbiz_> I was doing something else the other day that needed ${} I forget what. I didnt even realize that works outside of strings, it must be some deeper feature of the parser
zupo has joined #nixos
SirFunk has joined #nixos
<exarkun> symphorien[m]: thanks
SirFunk is now known as JeffU
<JeffU> I'm trying to write a derivation for a shell script that has some required packages (like jq). How do I make those binaries available to the shell script?
<JeffU> basically runtime dependencies
<symphorien[m]> with wrapProgram --prefix PATH (from makeWrapper)
lsix has quit [Ping timeout: 244 seconds]
<ks2048[m]> 480p+ videos always get desynchronised on mpv/vlc while the web browser runs 1080p videos fine, is there any necessary config option to enable to fix this?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b6b616bbe59 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
boredom101 has quit [Ping timeout: 245 seconds]
<JeffU> symphorien[m] thanks. I think I get it.. how do I provide the path to the original script without putting it in my path, or can I not do that?
<maralorn> After switching to the 20.09 branch fetchgit does not work anymore on repos which need my local ssh-agent.
<NieDzejkob> maralorn: do you happen to know whether this also happens on unstable?
<maralorn> NieDzejkob: Not right know.
<NieDzejkob> selfsymmetric-pa: https://nixos.org/channels/nixos-20.09 is already a thing
<maralorn> But the issue does not seem to be related to my ssh-agent after all.
<maralorn> It says can't verify Host Key, which seems to fail because it trys to write a known hosts file to /home/<my-user>/.ssh, which it obviously can't.
<maralorn> This feels like a bug in fetchgit
cosimone has joined #nixos
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
<xensky> ok so i realized i had systemd bootloader enabled instead of grub. not sure how to make the systemd one refresh so i just switched. but grub is failing to install with these errors:
<JeffU> Oh, I think I've got it. Thanks
<xensky> Installing for i386-pc platform (not sure if that's right?) || warning: File system 'fat' doesn't support embedding
JeffU has quit [Remote host closed the connection]
cyraxjoe has joined #nixos
jb55 has quit [Remote host closed the connection]
<NieDzejkob> xensky: do you use EFI?
jb55 has joined #nixos
<xensky> NieDzejkob: yes
<NieDzejkob> then i386-pc is wrong
<NieDzejkob> not sure how to correct it
<xensky> i figured. i have efiSupport = true though
<NieDzejkob> does nixos's grub machinery even support EFI?
<mvnetbiz_> NieDzejkob, last time I dual booted, I think I just used the bios F12 menu to select different OSs
<mvnetbiz_> might be different depending on the pc
supercoven has quit [Ping timeout: 272 seconds]
<mvnetbiz_> it's a lot easier thantrying to manage different OS clobbering each otheres boot loaders
LnL has joined #nixos
<{^_^}> [nixpkgs] @stigtsp merged pull request #98098 → micro: 2.0.5 -> 2.0.7 → https://git.io/JUBFp
<{^_^}> [nixpkgs] @stigtsp pushed 2 commits to master: https://git.io/JURkW
<mvnetbiz_> might be a different keyboard key i mean, but all that i've seen make entries really easy to select that way
tobeportable has joined #nixos
dermetfan has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @Gerschtli opened pull request #98124 → atom, atom-beta: fix not working file deletion → https://git.io/JURkg
stree has quit [Remote host closed the connection]
<xensky> i guess in theory i could do that...
<samueldr> NieDzejkob: yes, grub on NixOS supports EFI
<mvnetbiz_> oh I pinged the wrong name i meant xensky
tobeportable has quit [Client Quit]
dermetfan has joined #nixos
<samueldr> NieDzejkob: was the installer booted as legacy or as UEFI?
<NieDzejkob> don't ask me :P
stree has joined #nixos
<mvnetbiz_> NixOS supports 64 bit cpu with a 32 bit UEFI, I unfortunately have tried that :D
<samueldr> NieDzejkob: mount | grep efivar
<samueldr> if there is a fs mounted as /sys/firmware/efi/efivars it's booted as uefi
<NieDzejkob> samueldr: I'm not the one troubleshooting their bootloader here
<samueldr> yes, was just about to say I got you mixed up because of the question
<samueldr> xensky: ^ see previous questions :)
<xensky> yes
<xensky> checking
<xensky> yeah it's there
<samueldr> your disk was partitioned using GPT, right?
<xensky> yup
<samueldr> boot.loader.grub.device = "nodev"; right?
<samueldr> you don't point it to the ESP for UEFI :)
<xensky> ohhh. i was pointing it. i'll switch that and try, thanks
<samueldr> the description could do with a touch-up
<samueldr> >> The special value nodev means that a GRUB boot menu will be generated, but GRUB itself will not actually be installed.
m4tsa_ has quit [Ping timeout: 272 seconds]
<samueldr> it implies grub wouldn't be installed
<samueldr> but what it means is it won't be "installed to the disk or the partition"
ManiacOfMadness has quit [Ping timeout: 240 seconds]
<samueldr> "if using UEFI the program will be added to the ESP"
puck has quit [Quit: nya]
puck has joined #nixos
mariatsji has joined #nixos
<xensky> ok checking one more thing before i reboot... should i be mounting my shared ESP at /boot or /boot/efi?
<samueldr> depends
astro has quit [Read error: Connection reset by peer]
<samueldr> and good question
<samueldr> it can be both
<damjan> I personally use /boot as ESP
<samueldr> by default it assumes you'll use the ESP as /boot
astro has joined #nixos
<xensky> ok cool. gonna reboot then
<samueldr> but it's not mandatory
<judson> To get <unstable>, I have to have unstable=... in my NIX_PATH, right? There's no way to reference a named channel that way without NIX_PATH?
thc202 has quit [Ping timeout: 240 seconds]
<selfsymmetric-pa> NieDzejkob++
<{^_^}> NieDzejkob's karma got decreased to -1
<{^_^}> Wait no, it got *increased* to 1
sputny has joined #nixos
mariatsji has quit [Ping timeout: 244 seconds]
Darkmatter66 has quit [Ping timeout: 264 seconds]
cr4y1_ has quit [Read error: Connection reset by peer]
<mvnetbiz_> judson, you can have some place in your configuration that you do `let unstable =... in` and use fetchgit or something else to get it, but if you want to use channels thats how you do it
selfsymmetric-pa has quit [Read error: Connection reset by peer]
evils[m] has joined #nixos
<judson> Right. Maybe that's the best thing then.
<judson> Until flakes?
cr4y1_ has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #98125 → sky: drop → https://git.io/JURIq
<mvnetbiz_> I would like to use `nix eval` can i have a file like add1.nix containing `num: num + 1` and then I can run it on the command line like `nix eval -f add1.nix 10` somehow?
<clever> mvnetbiz_: i think it would need to be `{ num }:` and then use `--arg num`
<NieDzejkob> `{ num }:` deconstructs a dict, just `num:` is what I'd expect
<cransom> echo num: num +1 > f.nix , nix eval '(import ./f.nix) 10'
<mvnetbiz_> Thanks. it would be nice if it could just take ordered arguments too
<mvnetbiz_> clever++
<{^_^}> clever's karma got increased!
<catern> ./bin/run-nixos-vm is a nice way to run NixOS in a VM on top of non-NixOS systems, e.g. https://github.com/catern/rsyscall/blob/master/research/default.nix
<catern> is there a script to do that as a container?
<catern> i.e. ./bin/run-nixos-container which uses some unprivileged container system in the same way run-nixos-vm uses qemu
<mvnetbiz_> cransom, thanks that works too but you have to have --impure --expr, i think
<{^_^}> [nixpkgs] @zowoq opened pull request #98126 → gitAndTools.gh: 0.12.0 -> 1.0.0 → https://git.io/JURI8
<cransom> it works for me.
<{^_^}> [nixpkgs] @Chili-Man opened pull request #98127 → eksctl: 0.26.0 -> 0.27.0 → https://git.io/JURIu
ManiacOfMadness has joined #nixos
<NieDzejkob> why is nixpkgs-review wip taking 5 gigs of RAM to do its magic?
<clever> cransom: not directly, youll need to look at how nixos containers work, and set i think boot.isContainer = true;
<samueldr> NieDzejkob: it evals all packages to check for diffs I think
<clever> NieDzejkob: it has to eval every single package in nixpkgs, to see if they depend on what you changed
<mvnetbiz_> Doesnt it build them all too?
<mvnetbiz_> all the depending ones I mean
<NieDzejkob> I'd expect this to be doable with less ram, though.
<samueldr> NieDzejkob: I don't want to be rude, but, show how :)
<samueldr> evaluation performance is... quite weird due to intricacies of Nix IIRC
<NieDzejkob> samueldr: I guess one day this will bother me while I've got more spare time. In that case, probability of a PR is non-negligible ;)
<infinisil> catern: In particular nixos-run-vms
not-rager has joined #nixos
<not-rager> curious - what's wrong with bazelisk on nixos?
<catern> infinisil: does that run in a container?
<infinisil> catern: It runs in a vm
<catern> infinisil: I did just mention run-nixos-vm which sounds similarly named, which uses qemu
<catern> like nixos-run-vms
<maralorn> When I run: nix-repl> :b fetchgit { url = "git@github.com:nixos/nixpkgs"; sha256 = "0000000000000000000000000000000000000000000000000000000000000000";} I get: "Could not create directory '/home/maralorn/.ssh'. Host key verification failed."
<infinisil> catern: Both nixos-rebuild build-vm and what I mentioned use qemu
Darkmatter66 has joined #nixos
<maralorn> Or phrased differently it seems git with ssh auth is broken on 20.09 and master.
<maralorn> Okay, not git.
<maralorn> fetchgit
<catern> infinisil: I know... I'm wondering if there's something that does it with a container... "is there a script to do that as a container?"
<infinisil> Is qemu not a container?
<not-rager> because I'd love to help make it possible to bazelisk on nix if it's not too intractable
<catern> infinisil: no
<not-rager> qemu is for emulation of hardware, infinisil
<not-rager> generally for virtual machines or running wrong-arch stuff
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<infinisil> Hmm, what can containers do that a vm can't?
civodul has joined #nixos
<mvnetbiz_> is there a way to easily make systemd-nspawn container? nixos containers module does that some how
<catern> infinisil: they're generally much more lightweight
knupfer has quit [Ping timeout: 240 seconds]
<NieDzejkob> also, sharing a filesystem is not a PITA
<{^_^}> [nixpkgs] @dywedir merged pull request #98062 → streamlit: fix build → https://git.io/JUBYd
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JURLI
<infinisil> I see
<infinisil> catern: Then, are nixos containers what you're looking for?
<mvnetbiz_> I think he wants to build them separately from nixos configuration
<infinisil> Yeah that's possible with the nixos-container command
<catern> infinisil: not necessarily - as I mentioned, you can use ./bin/run-nixos-vm to immediately run NixOS in qemu
<maralorn> Was there something done to the purity of builds (or fetchgit specifically) between 20.03 and 20.09?
<catern> including on non-NixOS systems
<catern> I'm wondering if there's something like that, which uses some container software instead of qemu
<infinisil> catern: And what's the problem with nixos-container?
<infinisil> That uses systemd-nspawn underneath
<{^_^}> [nixpkgs] @NieDzejkob opened pull request #98128 → chez: add env hook → https://git.io/JURLL
stree has quit [Quit: Caught exception]
<infinisil> I think
<catern> infinisil: nixos-container doesn't work on non-NixOS systems, which I think I've mentioned as a requirement several times
<Orbstheorem> regnat: About clangd, adding `-xc++` to the `.clangd` file did the trick.
stree has joined #nixos
<catern> maybe the important fact worth noting here is that both VMs and containers don't require any system-wide configuration to run; nixos-container relies on system-wide config and hence is NixOS-specific
<{^_^}> [nixpkgs] @demyanrogozhin opened pull request #98129 → react-native-debugger: fix build → https://git.io/JURLm
<infinisil> Does it not work on other systemd systems?
<catern> run-nixos-vm however does not require any system-wide config, it just runs the qemu binary directly
<catern> infinisil: no, none of its concepts are NixOS-independent
<catern> I'm not sure it's quite clear what I'm talking about
<mvnetbiz_> catern, I get what you mean
<not-rager> containers can reuse the same kernel - theoretically a memory savings
<not-rager> everything else is window dressing
<mvnetbiz_> kvm-qemu can too somewhat )
<catern> thanks, I guess I'll just look for something like run-nixos-vm but working for containers next to nixos/modules/virtualization/qemu-vm (which is where run-nixos-vm is written)
<infinisil> I guess you don't want nixos-containers got it. But what part of it is NixOS-dependent?
qqqqqq has joined #nixos
<infinisil> Looking at it I can't spot anything that wouldn't work on other systemd systems
<qqqqqq> Proof that Jesus worshiped one God same as muslims do: - Jesus identifying the commandment: "The Lord our God is One Lord" (Mark 12:29) to be the most important of all As stated in (Mark 12:29): Jesus was asked "Which commandment is the most important of all?" Jesus replied, "This is the most important: Hear O Israel, the Lord our God is One Lord" (Mark 12:29) as in Quran: {Say He is God the one (Allah)} [Quran chapter 112].
<qqqqqq> so the above qoute(mark12:29) is a clear evidence that Jesus was directing us towards monothiesm belief and to consider it as the very first of all commandments; also here is the firsts of the The Ten Commandments(to moses) which is similar to what he was directing us towards: [ 1 - I am the LORD your God who brought you out of the land of Egypt, out of the house of bondage. You shall have no other gods before Me.]
<mvnetbiz_> it requires root though
eoli3n_ has quit [Ping timeout: 272 seconds]
<mvnetbiz_> and it does all sorts of stuff like make files in /etc/containers,
<not-rager> lol
<catern> yeah fundamentally nixos-containers requires root and requires this imperative management binary (nixos-container), but none of that is fundamentally necessary to run a container
<catern> a container can run like run-nixos-vm does, without accumulating any state or requiring root etc
<mvnetbiz_> catern, I dont get where do you get that .vm attribute in (import <nixpkgs/nixos> {}>).vm
qqqqqq has quit [K-Lined]
RoboFlex13 has quit [Quit: Leaving]
<not-rager> literally, the only difference is that with a VM, you define the whole software stack and with a container you share the kernel
<catern> mvnetbiz_: that attribute just always exists - although maybe Nixpkgs has changed since I last used this script...
<not-rager> there are some perf penalties for the added stuff for a VM, generally
<not-rager> everything else is how various systems use containers or VMs
<infinisil> So nixos-container works on all systemd systems, but you need to also be root
<not-rager> ie: window dressing
<mvnetbiz_> (nixos {}).vm does exist for me
<mvnetbiz_> doesn't*
knupfer has joined #nixos
cybrian has quit [Quit: cya]
<catern> mvnetbiz_: hmm I just tried it with that default.nix and it works for me on latest master of nixpkgs
<catern> (and has been working for quite some time)
cybrian has joined #nixos
lsix has joined #nixos
<xensky> good news: that fixed grub. bad news: grub takes like five minutes to update every time i nixos-rebuild because it's complaining about a memory leak (it then succeeds). hm
lsix has quit [Client Quit]
<ajs124> xensky: are you using lvm?
boredom101 has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @ajs124 merged pull request #98097 → matrix-synapse: 1.19.1 -> 1.19.2 → https://git.io/JUB5I
<{^_^}> [nixpkgs] @ajs124 pushed 2 commits to master: https://git.io/JURLp
<{^_^}> [nixpkgs] @Pamplemousse closed pull request #98078 → wordgrinder: Correct build failure → https://git.io/JUB4H
<{^_^}> [nixpkgs] @ajs124 merged pull request #98117 → matrix-synapse: 1.19.1 -> 1.19.2 [20.09] → https://git.io/JUReP
<{^_^}> [nixpkgs] @ajs124 pushed 2 commits to release-20.09: https://git.io/JURLh
<{^_^}> [nixpkgs] @ajs124 merged pull request #98114 → matrix-synapse: 1.19.1 -> 1.19.2 [20.03] → https://git.io/JURel
<{^_^}> [nixpkgs] @ajs124 pushed 2 commits to release-20.03: https://git.io/JURte
mmk2410 has quit [Quit: ERC (IRC client for Emacs 27.1)]
Fare has quit [Ping timeout: 244 seconds]
praduca has joined #nixos
<praduca> Hi to everyone
<iwq> do package init commits get merged into current stable or they have to wait for next stable?
<xensky> ajs124: only on my fedora partition
<infinisil> iwq: They're merged into master, so they're only in the next release
<iwq> is there any date for the next release?
<infinisil> Well the next release is in like 20 days, 20.09
<praduca> I'm having some trouble with a netbook... It worked ok on nixos 19.09, but the video drivers doesn't come on 20.03 apparently... odd is that if i specify the kernel as 4.19, it wont work, but it work ok when using this kernel in 19.09
<mvnetbiz_> clever, I can't get something like this to work nix eval --expr "{ a, b }: a + b" --arg a 1 --arg b 2
<praduca> I'm missing something? Its a old n2600 netbook
<infinisil> iwq: But if your package was merged after the feature freeze, it will have to wait for 21.03
<cole-h> iwq: But branchoff already happened, so unless the package init happened before September 7th, it will have to wait for 21.03
<clever> mvnetbiz_: --arg only applies when loading files from disk
<cole-h> infinisil: lol
<infinisil> cole-h: Oh nice I was searching for the date
<infinisil> But lol
<{^_^}> #95535 (by jonringer, 4 weeks ago, open): 20.09 Timeline
<infinisil> Nice
<mvnetbiz_> clever, that still doesn't work, I just get <LAMBDA> for everything I try unless theres a syntax error in my file
<clever> mvnetbiz_: it may only work on nix-instantiate, ive not looked at `nix eval` in depth yet
<{^_^}> [nixos-org-configurations] @garbas merged pull request #95 → Avoid colour indications on outdated channels → https://git.io/JvfYh
<{^_^}> [nixos-org-configurations] @garbas pushed 2 commits to master: https://git.io/JURtn
cr4y1_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @wamserma opened pull request #98130 → junixsocket: 1.3 -> 2.3.2 → https://git.io/JURtB
<{^_^}> [nixos-org-configurations] @aanderse closed pull request #92 → webserver.nix: update to reflect changes in httpd module options → https://git.io/JeQaa
<{^_^}> [nixpkgs] @risicle merged pull request #98060 → python3Packages.ihatemoney: disable sandbox unfriendly tests → https://git.io/JUBY0
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JURt0
cr4y1_ has joined #nixos
<{^_^}> [nixpkgs] @rycee opened pull request #98131 → jwt-cli: 3.1.0 -> 3.2.1 → https://git.io/JURtu
<ajs124> xensky: that's probably enough. grub2 complains about memory leaks during install on all my systems with lvm.
cr4y1_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @roosemberth opened pull request #98132 → [20.03] fzf: 0.20 -> 0.22 → https://git.io/JURtz
<{^_^}> [nixpkgs] @risicle merged pull request #97911 → wordgrinder: fix build → https://git.io/JU8Ye
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JURtg
<{^_^}> [nixos-homepage] @garbas pushed 5 commits to feature/2020-r/last-mvps: https://git.io/JURt2
<xensky> ajs124: thanks. not sure how to fix that but at least i know
knupfer has quit [Ping timeout: 272 seconds]
<catern> mvnetbiz_: not-rager: infinisil: I went ahead and made an issue for adding something like this https://github.com/NixOS/nixpkgs/issues/98133
<{^_^}> #98133 (by catern, 44 seconds ago, open): Add .container derivation to nixos/default.nix building ./bin/run-nixos-container
<catern> even if it already exists, I think it would be good to be surfaced in the same way as .vm
<xensky> got one other problem i wanted to tackle today; having trouble getting xrandr settings to apply at startup. i tried setting via xrandrHeads and by running as displayManager.setupCommands but in both cases the x server fails to start (even though, it sounds like both should occur after x starts)
cr4y1_ has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed to master « jwt-cli: 3.1.0 -> 3.2.1 »: https://git.io/JURtX
<{^_^}> [nixpkgs] @rycee merged pull request #98131 → jwt-cli: 3.1.0 -> 3.2.1 → https://git.io/JURtu
<mvnetbiz_> catern, cool that would be useful
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<{^_^}> [nixos-org-configurations] @garbas pushed to remove-nixos-org « removing nixos-org folder since the website is moved to netlify »: https://git.io/JURt7
<{^_^}> [nixos-homepage] @samueldr pushed 6 commits to feature/2020-r/last-mvps: https://git.io/JURtd
<{^_^}> [nixos-org-configurations] @garbas opened pull request #122 → removing nixos-org folder since the website is moved to netlify → https://git.io/JURtF
<infinisil> catern: Hm, what underlying technology would it use though?
<{^_^}> [nixos-planet] @garbas pushed to master « Add @layus blog to the nixos planet. »: https://git.io/JURtp
<catern> infinisil: I suggested bubblewrap in the issue
<infinisil> Ah I should probably read the issue first, sorry :)
boredom101 has quit [Remote host closed the connection]
<infinisil> catern: Hm there's newly nixos/modules/virtualisation/oci-containers.nix
<infinisil> Maybe it could be a generic OCI container thing
ixxie has quit [Remote host closed the connection]
<infinisil> Those modules currently support both podman and docker
arjen-jonathan has quit [Ping timeout: 272 seconds]
<catern> infinisil: so if you search for writeScript in nixos/modules/virtualisation, there's only run-nixos-vm - nothing equivalent for a container
<infinisil> Yeah I just wanted to point out OCI containers
bennofs has joined #nixos
<catern> infinisil: yeah, thanks for the pointer :) there's definitely lots of system-wide container support in NixOS, and lots of suport for building container images
<mvnetbiz_> building the image is probably not desired though or at least as small as possible to bootstrap and share the nix store
<catern> but it would be cool (and illustrative of the underlying capabilities) to have a single derivation you can build that gives you a script which runs NixOS using a container as a subprocess
<catern> mvnetbiz_: yeah, it would probably be like the qemu image
<catern> which IIRC is a minimal bootstrap like that
bennofs_ has quit [Ping timeout: 240 seconds]
<mvnetbiz_> systemd doesnt have unpriviledged containers as of now but it might some time
__monty__ has quit [Quit: leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nobrak has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
cr4y1_ has quit [Read error: Connection reset by peer]
lahmilahsi[m] has joined #nixos
inkbottle has joined #nixos
cr4y1_ has joined #nixos
zebrag has quit [Ping timeout: 264 seconds]
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @TimPut opened pull request #98134 → openmvs: bump version to latest release and fix build → https://git.io/JURq2
praduca has quit [Remote host closed the connection]
teto has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<teto> is it possible to write ` outputs = inputs@{ self, hm, nixpkgs, nova ? null, nur, unstable }:
<teto> ` in the flake.nix ? it doesn't seem to be accepted
<{^_^}> [nixpkgs] @Pamplemousse closed pull request #98110 → pythonPackages.topydo: Don't fail build on tests → https://git.io/JUBh9
<{^_^}> [nixpkgs] @Pamplemousse reopened pull request #98110 → pythonPackages.topydo: Don't fail build on tests → https://git.io/JUBh9
<teto> I would like to make one of the flake optional
seku has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @collares opened pull request #98135 → signal-desktop: ringrtc depends on libpulseaudio → https://git.io/JURqS
<{^_^}> [mobile-nixos] @Thra11 opened pull request #198 → initrd: handle systemd-udevd being a symlink to udevadm → https://git.io/JURqH
<ddellacosta> so I'm in nix repl and I've loaded nixpkgs and I can do e.g. "${git}" and in general it works but for anything related to alsa it's failing, e.g. "${alsa-lib}" or "${alsa-utils}", anyone know why this would be?
cr4y1_ has quit [Read error: Connection reset by peer]
Preisschild has joined #nixos
<ddellacosta> like, for stuff I've installed via nix-env -iA I should be clear
rihards has quit [Quit: rihards]
rihards has joined #nixos
<simpson> > alsaUtils # ddellacosta
<{^_^}> "<derivation /nix/store/acjdd7r65y8yqs5hv1wvqv037g5n8wsj-alsa-utils-1.2.3.drv>"
<ddellacosta> simpson: ah! Okay, thanks!
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<ddellacosta> oh man I completely forgot about the difference between the attribute name and I guess the package name or whatever
srhm has quit [Ping timeout: 240 seconds]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
rihards has quit [Client Quit]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
spudly has quit [Ping timeout: 260 seconds]
sputny has quit [Ping timeout: 244 seconds]
sputny1 has joined #nixos
justanotheruser has joined #nixos
sputny1 is now known as sputny
cr4y1_ has joined #nixos
mananamenos has joined #nixos
mananamenos has quit [Read error: Connection reset by peer]
cr4y1_ has quit [Read error: Connection reset by peer]
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cr4y1_ has joined #nixos
philr has joined #nixos
Rusty1 has joined #nixos
heywoodlh has quit [Quit: WeeChat 2.9]
rprije has joined #nixos
Fare has joined #nixos
court_jester has joined #nixos
<mvnetbiz_> cole-h, I was thinking about doing subtracting attrSets when we were discussing list stuff yesterday I wrote a function :D https://gist.github.com/mvnetbiz/1d4143c98ffd7bae357a9eeef4170101 not sure if its the most efficient or anything
<mvnetbiz_> It recursively remove attributes in a that are also in b and have the same value. I was thinking about comparing whole NixOS configurations, but I didnt think about how to handle high level types like derivations or options
<mvnetbiz_> If anyone makes a better version let me know >:D
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5177665caf1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
cr4y1_ has quit [Read error: Connection reset by peer]
cr4y1_ has joined #nixos
<{^_^}> [nixpkgs] @risicle merged pull request #98110 → pythonPackages.topydo: Don't fail build on tests → https://git.io/JUBh9
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JURm4
cr4y1_ has quit [Read error: Connection reset by peer]
cr4y1_ has joined #nixos
erasmas has quit [Quit: leaving]
sputny has quit [Remote host closed the connection]
heywoodlh has joined #nixos
Fare has quit [Ping timeout: 244 seconds]
heywoodlh has quit [Client Quit]
cosimone has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
<court_jester> I just wanted you folks to know that I just met NixOS and I'm in love. F*cking awesome!
dbe2 has quit [Ping timeout: 260 seconds]
dbe2 has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
<jlv1> court_jester: welcome :)
<{^_^}> [nixpkgs] @ryantm closed pull request #97330 → yacreader: 9.6.2 -> 9.7.0 → https://git.io/JUZ3i
<jlv1> Hmm. How would I change Qt version of a package with an overlay? Something like `super.libsForQt515.callPackage super.qutebrowser { }`.
justanotheruser has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @gdamjan opened pull request #98136 → matrix-appservice-irc: init at 0.20.3 → https://git.io/JURYw
<V> jlv1: `super.libsForQt515.callPackage <nixpkgs/pkgs/applications/browsers/qutebrowser> {}` :/
Guest32831 is now known as zanc
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 244 seconds]
mbrgm_ is now known as mbrgm
<zanc> what's the value of f in `nix-env -i -E 'f: with import <nixpkgs> { }; pkgs.hello'`?
<V> zanc: an empty set p. much
<V> v@february ~> nix-env -i -E 'f: builtins.trace f {}'
<V> trace: { _combineChannels = [ ]; }
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ad7755193f6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
zupo has joined #nixos
<jlv1> V: that might work in my particular situation, but in general, that would only work if the package hasn't already been overlaid or modified in some other way. It feels like a cludge.
werner291 has quit [Quit: werner291]
<V> it is a kludge
dermetfan has quit [Ping timeout: 240 seconds]
<clever> zanc: i believe its a set of every channel in ~/.nix-defexpr/
<clever> zanc: the same set your acting on when you `nix-env -iA nixpkgs.hello`
<V> jlv1: In general I don't think it's really feasible to change stuff like that without either modifying upstream nixpkgs or copying parts of it
<V> For example, the node packages
<not-rager> asked before, didn't really see an answer or any engagement, so re-asking: is there something weird about nixos or bazelisk that make the two play so poorly together?
<{^_^}> [mobile-nixos] @samueldr merged pull request #198 → initrd: handle systemd-udevd being a symlink to udevadm → https://git.io/JURqH
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/JURYS
<jlv1> V: I was thinking something like `qutebrowser = super.qutebrowser.override { inherit (super.qt515) *; };`, but I'm not sure how to "inherit everything from ...".
zupo has quit [Ping timeout: 272 seconds]
<clever> jlv1: super.qt515.callPackage will pass things from qt515 in for you
<clever> jlv1: then you just need the path to the default.nix
<V> clever: yes, I suggested that
<V> jlv1: it doesn't work like that. libsForQt515 *specifically* passes extra stuff into the derivation, the two aren't equivalent
<V> unless you duplicate everything that libsForQt515 does, you can't do .override
<V> and there's a bunch of other packages where it's not even possible to do .override or .overrideAttrs
gv has quit [Remote host closed the connection]
<jlv1> So I guess it's not possible to use `super.qutebrowser` to change Qt version in an overlay? That feels like an oversight or missing feature.
<V> Correct.
<V> callPackage sucks, that is all :)
<V> (as does all-packages.nix, and pretty much the entire way that is set up.)
<clever> python and kernel modules have a solution to that mess
<clever> just put all stuff in a dedicated file, and then callPackage it for every version at once!
fresheyeball has quit [Quit: WeeChat 2.7.1]
<simpson> (I'm not yet convinced that callPackage is the problem, as opposed to the concept of overlays.)
<clever> so you have python2Packages.foo and python3Packages.fo
<clever> then you dont need overlays
<clever> callPackage is also what lets python do that
<V> ah, but then you have to manage compatibility matrices as well
<V> And you have python2Packages containing packages which don't even work with python2
<V> etc
<clever> python has a broken = something; field on each package
<V> Indeed
<clever> that wont let you build stuff that is known-broken
<clever> and it queries the version
<V> Yes, I don't really like how that is
Synthetica has quit [Quit: Connection closed for inactivity]
gv has joined #nixos
<jlv1> Did Qt 5.15 change how it supports Wayland or something? I'm getting `Could not find the Qt platform plugin "Wayland" in ""` when I try to run Qutebrowser with Qt 5.15
hexa- has quit [Quit: WeeChat 2.7.1]
<jlv1> Or maybe some difference between nixpkgs Qt 5.15 and 5.14?