worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116566 → python38Packages.aiolyric: 1.0.5 -> 1.0.6 → https://github.com/NixOS/nixpkgs/pull/116566
werner292 has joined #nixos
CMCDragonkai1 has joined #nixos
<{^_^}> [nixpkgs] @wd15 opened pull request #116567 → pythonPackages.fipy: 3.4.1 -> 3.4.2.1 → https://github.com/NixOS/nixpkgs/pull/116567
werner291 has quit [Ping timeout: 265 seconds]
werner292 is now known as werner291
werner291 has quit [Client Quit]
wnklmnn has quit [Quit: Leaving]
orivej has quit [Ping timeout: 245 seconds]
dbmikus has joined #nixos
hasik has joined #nixos
CMCDragonkai1 has quit [Remote host closed the connection]
<bigvalen> Has anyone tried to play with iSCSI on nixos ? I was going to use the 'targetcli' tool - but it tries to write to /etc/target. What's a usual way to fix that ? Patch the source to write to /var/lib/target instead? Or make a symlink in /etc/ pointing to /var/lib/target?
<hasik> following https://nixos.org/manual/nixos/stable/#sec-installing-from-other-distro doing the nix-channel --add followed by update leads to a 404 any ideas why,  ```❯ nix-channel --add https://channels.nixos.org/nixpkgs-20.09-darwin
<hasik> ~                                                                                                          20:13:27
<hasik> ❯ nix-channel --update
<hasik> error: unable to download 'https://nixos.org/channels/nixos-20.09-darwin': HTTP error 404
<hasik> ```
<hasik> web browser says  The specified key does not exist
<clever> bigvalen: ive got both iscsid and tgtd working on nixos
jesystani has quit [Quit: Lost terminal]
<ece> hasik: try nixpkgs-20.09
<cole-h_> bigvalen: gchristensen might also have some information (they were messing with iscsi earlier last week IIRC)
<hasik> `--add https://nixos.org/channels/nixpkgs-20.09 nixpkgs` leads to same
<clever> hasik: https://status.nixos.org/ has the names of each channel
<{^_^}> [nixpkgs] @mweinelt opened pull request #116568 → python3Packages.aiohttp: 3.6.2 -> 3.6.3 → https://github.com/NixOS/nixpkgs/pull/116568
<hasik> trying those
<hasik> no luck on those urls
xO1 has quit [Ping timeout: 265 seconds]
<clever> hasik: https://nixos.org/channels/nixpkgs-20.09-darwin looks valid when i check it in a browser
<cole-h_> maybe an infra issue?
<hasik> I am doing this from within another distro as per the "installing from another distro"
proofofkeags has quit [Ping timeout: 265 seconds]
<sterni> curl -I https://channels.nixos.org/nixpkgs-20.09-darwin looks good again
<sterni> I think earlier there was a 404 with that url as well
<hasik> ```❯ nix-channel --add https://nixos.org/channels/nixpkgs-20.09-darwin
<hasik> ~                                                                                                          20:26:32
<hasik> ❯ nix-channel --update
<hasik> error: unable to download 'https://channels.nixos.org/nixpkgs-version': HTTP error 404
<hasik> ```
<hasik> still has version showing for some reason
<bigvalen> clever, Cool, thanks. I'm trying to go through https://tech.xlab.si/blog/pxe-boot-raspberry-pi-iscsi/ and see can I make my nixos box netboot RPis.
<hasik> ah ok so now i see I have a bunch listed
<hasik> I should remove these somehow
<sterni> hasik: any left over channels if you run nix-channel --list?
mcornick has joined #nixos
<sterni> make sure no broken ones are left over there
<hasik> just showed 5 of em, removing with --remove now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116569 → python38Packages.google-cloud-secret-manager: 2.2.0 -> 2.3.0 → https://github.com/NixOS/nixpkgs/pull/116569
<hasik> last one i cannot remove
mbrgm_ has joined #nixos
<clever> bigvalen: i originally wrote this to netboot my rpi's, because of nfs trouble
NinjaTrappeur has quit [Ping timeout: 264 seconds]
<clever> hasik: what does it say?
<clever> bigvalen: and the server end, but its a bit buggy: https://github.com/cleverca22/nixos-configs/blob/master/tgt_service.nix
acarrico has joined #nixos
cole-h_ has quit [Ping timeout: 265 seconds]
<hasik> ```❯ nix-channel --list
<hasik> ~                                                                                                          20:34:03
<hasik> ❯ nix-channel --remove nixos-20.09
<hasik> ~                                                                                                          20:34:07
<hasik> ❯ nix-channel --list
hasik has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<ajs124> clever: there's also #115590
<{^_^}> https://github.com/NixOS/nixpkgs/pull/115590 (by grahamc, 1 week ago, open): WIP NixOS: services.{openiscsi, target}, boot.iscsi-initiator: init
<clever> ajs124: ah, nice!
<jess> wee woo false positive brigade
<clever> ,tell hasik --remove wants the name on the left, not the right
<{^_^}> clever: I'll pass that on to hasik
<{^_^}> [nixpkgs] @dnr opened pull request #116570 → gphotos-sync: init at 2.14.2 → https://github.com/NixOS/nixpkgs/pull/116570
<jess> i have removed that sigyn murder
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @WilliButz merged pull request #116373 → prometheus-postgres-exporter: add environment file → https://github.com/NixOS/nixpkgs/pull/116373
NinjaTrappeur has joined #nixos
CMCDragonkai1 has joined #nixos
<sterni> jess: hope they realize they can come back sooner than later
<jess> sometimes they email in
<jess> the k-line reason has an address you can mail so i can say "no worries m8 already lifted it"
<Yaniel> assuming they read that far
<wrl> jess: oh
<sterni> jess: wholesome
<nicolas[m]> Is there any package built from rust unstable in nixpkgs?
<{^_^}> [nixpkgs] @sternenseemann opened pull request #116571 → lowdown: 0.8.2 -> 0.8.3 → https://github.com/NixOS/nixpkgs/pull/116571
<jess> t wrl hi
<jess> just doin,,,, oper doodies
<Yaniel> nicolas[m]: you mean rust nightly?
<wrl> yeah i see that
<jess> dont look
* jess hides shame
<nicolas[m]> Yaniel: yup, my mistake
<wrl> damn.... ok
<Yaniel> I doubt it, that would be rather... controversial to package
<sterni> if just the K-line were a Kat-line
<sterni> Katze-line
<Yaniel> since basically every package would need its own version of the toolchain
<jess> kuddle-line
<sterni> nicolas[m]: nope, no rust nightly in nixpkgs :)
<nicolas[m]> Thanks! I guess I'll use naersk or whatever is used now
<Yaniel> if you just need a nightly compiler I suggest installing rustup from nixpkgs
<sterni> nicolas[m]: I think the mozilaa nixpkgs thing has rust nightly
<Yaniel> and letting rustup take care of things
<sterni> if you need nightly in your local nixpkgs that overlay works
<Yaniel> or the mozilla overlay yeah, can that be used in nix-shell?
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<nicolas[m]> this isn't for development, just to package a software and have it in my cachix
growpotkin has joined #nixos
<Yaniel> ah
<sterni> Yaniel: yeah, you just need to enable the overlay globally
<sterni> you can put that into NIX_PATH as well
lordcirth has quit [Remote host closed the connection]
rajivr has joined #nixos
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #115167 → darwin.cctools: use clang for as on aarch64-darwin → https://github.com/NixOS/nixpkgs/pull/115167
<bigvalen> clever, The iscsi-boot.nix - that's for making nixos RPi's that boot iSCSI ? For tgt_service - What is 'backingStore' ? Is that a directory ? A partition ? A flatfile ?
codygman` has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #116572 → dialog: 1.3-20210117 -> 1.3-20210306 → https://github.com/NixOS/nixpkgs/pull/116572
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116573 → python38Packages.googlemaps: 4.4.2 -> 4.4.5 → https://github.com/NixOS/nixpkgs/pull/116573
growpotkin has quit [Ping timeout: 246 seconds]
<bigvalen> Ah, backingstore should be fine as the .img I ripped off the existing box, for playing with.
<fresheyeball> is there a way to get the current git branch name like pkgs.lib.commitIdFromGitRepo ?
<Yaniel> git branch name of what
<fresheyeball> a given .git folder
<{^_^}> [nixpkgs] @veprbl reopened pull request #115167 → darwin.cctools: use clang for as on aarch64-darwin → https://github.com/NixOS/nixpkgs/pull/115167
c74d has joined #nixos
<Yaniel> you can always shell out to git cli
<fresheyeball> I can get the rev as a nix string with pkgs.lib.commitIdFromGitRepo ./.git for example
<fresheyeball> Yaniel: how would I get it as a nix string though? I can make a derivation with `git branch --show-current > $out`
<fresheyeball> but I can't pass the result of that to a nix function requireing a string
<Yaniel> https://github.com/NixOS/nixpkgs/blob/master/lib/sources.nix#L126 I'm going to hazard a guess that there is no such thing directly in nixpkgs
<Yaniel> but you can probably adapt this
<fresheyeball> yikes
<Yaniel> oh yea there's one tiny problem which is that the repo state might not be on any branch at all
<fresheyeball> true
growpotkin has joined #nixos
<fresheyeball> hmm
<Yaniel> you can get the ref though
<Yaniel> it's in packed-refs after the hash
aswanson has quit [Ping timeout: 272 seconds]
<Yaniel> not sure how .git/HEAD behaves
<fresheyeball> no one does
NinjaTrappeur has quit [Ping timeout: 244 seconds]
<Yaniel> heh
<Yaniel> well, I'd hope libgit does2
<Yaniel> *well, I'd hope libgit2 does
<Yaniel> why do you need the branch name though?
<fresheyeball> it's complicated
<fresheyeball> but basically I have nix code that makes a project template
<fresheyeball> that template has it's own default.nix file
<fresheyeball> and it should be pinned to the current rev and ref of the repo
<fresheyeball> so when people use this code to generate a template/seed project
<fresheyeball> the contained nix code has an upto date hash
SomeoneSerge has quit [Ping timeout: 264 seconds]
<fresheyeball> problem is, if I don't specify the branch, then only master ever works
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #116017 → vector: 0.10.0 -> 0.12.1 → https://github.com/NixOS/nixpkgs/pull/116017
gustavderdrache has quit [Quit: Leaving.]
<Yaniel> shouldn't it Just Work if you give the commit id
<Yaniel> I mean you can checkout a commit without ever knowing which branch it is from
<fresheyeball> no, because if the commit id is not on the default branch it fails
<fresheyeball> I tried that already
<Yaniel> huh
<Yaniel> what fails?
<fresheyeball> fetchGit
<fresheyeball> git itself fails to find the object
NinjaTrappeur has joined #nixos
<Yaniel> huh
<p01ar> hey is building nix with s3 support working atm?
<Yaniel> granted, I don't think I've really used plain commit hashes in nixpkgs, only git tags
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116575 → python38Packages.google-cloud-logging: 2.2.0 -> 2.3.0 → https://github.com/NixOS/nixpkgs/pull/116575
<fresheyeball> Yaniel: I am giving up on this for now
<fresheyeball> if you are curious about what I did. This is the MR for the current state, and it is working well enough
<fresheyeball> this is the line that sucks
<fresheyeball> this should let CI pass atleast
<c74d> I have this issue: <https://github.com/NixOS/nixpkgs/issues/89599>. Chrome's sandbox helper program needs to be setuid root, which it can't be in the store, but security.wrappers doesn't work, because Chrome invokes the program by its absolute path. As a slightly desperate 'fix', how unreasonable would it be to copy the whole google-chrome store directory out of the store so that it can work?
<{^_^}> #89599 (by 8573, 40 weeks ago, open): Google Chrome complains that its SUID sandbox isn't configured correctly
<c74d> (E.g., rsyncing it from the store on activation)
<c74d> s/so that it can work/so that the helper program can be setuid root)
gustavderdrache has joined #nixos
growpotkin has quit [Ping timeout: 276 seconds]
NeoCron has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 256 seconds]
marusich has quit [Ping timeout: 264 seconds]
dbmikus has quit [Ping timeout: 244 seconds]
ris has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #116560 → haskellPackages.spacecookie: enable extra tests, install man pages → https://github.com/NixOS/nixpkgs/pull/116560
<matthewcroughan_> How can I make a nixos module that has the ability to pass many vars to a sequence of -D's ?
<matthewcroughan_> node-red has -D. I need to say -D x=y -D f=b -D z=f
<matthewcroughan_> I need to be able to do a -D ${cfg.thing1} -D {cfg.thing2} for a given list of parameters
gustavderdrache has quit [Quit: Leaving.]
marusich has joined #nixos
gustavderdrache has joined #nixos
<matthewcroughan_> looks like this does it, I don't understand it though
Negher_ has quit [Quit: Leaving ...]
Negher has joined #nixos
<simpson> I want to say "what have you tried?" and "yeah, that's about how I would do it", but I don't think that those are helpful. What's currently blocking you?
gustavderdrache has quit [Quit: Leaving.]
<matthewcroughan_> simpson: understanding what L71-76 of that file I linked is doing
<matthewcroughan_> because 65 shows that default = {}, so what is 71-76 doing?
<simpson> It's initializing some defaults.
<matthewcroughan_> "Function that converts the option value to something else."
<matthewcroughan_> What exactly does this mean?
<DigitalKiwi> one does not need to have a physics degree to swing a hammer
<simpson> Er, not defaults, but forced overrides.
<clever> matthewcroughan_: after the final merge is done, nixos will run the apply function, and the result of apply is what you read with services.activemq.javaProperties
<simpson> matthewcroughan_: It's like a post-processing step.
<matthewcroughan_> Yes, but default = {}
<matthewcroughan_> so the app should by default never have any of those options set? So what is the point?
<clever> matthewcroughan_: default = { foo = 1; }; would entirely be replaced by javaProperties = { bar = 2; };
<matthewcroughan_> at what point are any of those options in 'apply =' used?
<clever> so then you loose the foo=
<clever> they are acting like defaults, because they are on the left of a //
<matthewcroughan_> Okay. So, if I choose to fill javaProperties with *anything*, these values in the attrset of `apply=` will be forcibly concatenated?
<clever> but they have higher priority, and wont magically vanish if you add anything
<matthewcroughan_> but if I do not set javaProperties to anything, then indeed, nothing will be passed?
<clever> but they also cant conflict with your own things
<clever> matthewcroughan_: apply is putting those values on the left side of //, so they have a lower priority
<clever> so if you ever set activemq.base, your version has priority
<matthewcroughan_> clever: They should never be set, because default = {} though
h0m1 has quit [Ping timeout: 260 seconds]
<matthewcroughan_> it should be null, in all circumstances
<clever> the problem is that if you set default = { a=1; b=2; };
<clever> then a/b are at the default priority level
<clever> if you ever do javaProperties = { c=3; }
<clever> then that is at the non-default priority, and so ALL of the default ones (a/b) vanish
<matthewcroughan_> I do not understand when anything in apply will be set.
<matthewcroughan_> If default = {}, then apply = { something } is ignored, no?
<clever> it isnt ignored
john-appleseed[m has joined #nixos
<matthewcroughan_> then when is it used?
<clever> apply always gets ran, when you read javaProperties
<matthewcroughan_> is default = {} false then? Clearly some values *are set*?
h0m1 has joined #nixos
<clever> if you never set javaProperties, then the attrs on line 71 is the default of {}
<clever> yeah, it is very funky
<matthewcroughan_> the default being = to {} is a complete lie then?
<clever> its acting like a default, by different rules
<matthewcroughan_> so it's a complete misuse of the function?
<clever> its a different way of providing defaults at a higher priority
growpotkin has joined #nixos
<matthewcroughan_> sure, but if I went to search.nixos.org and looked for this option, I'd be misled in thinking that it was empty
<clever> a lot of options do that
<clever> matthewcroughan_: the default of this option dynamically changes, based on other options
kaivai has quit [Ping timeout: 265 seconds]
<matthewcroughan_> Yes, but that's unrelated.
<matthewcroughan_> If the default = {}, I expect it to reflect the truth.
<matthewcroughan_> But when apply = is used, it lies.
<clever> yeah
<clever> you could pass that same set to default, but anybody knowing the rules would still be confused more
<clever> getting the auto-generated docs to explain these edge cases isnt easy
<simpson> From the perspective of a user, it's not a lie; the user probably *doesn't know* about those flags being required.
<matthewcroughan_> That hydra option being dependant on other options is really cool though. WOw.
<matthewcroughan_> clever: " # Function that converts the option value to something else."
kaivai has joined #nixos
<matthewcroughan_> What does this mean? It seems meaningless to me.
<matthewcroughan_> "To something else".
<matthewcroughan_> Windows 10: Something happened.
<simpson> It's just open-ended. Like a polymorphic type which hasn't been specialized. The idea is that the post-processing can completely change the configured data's type, if that's easier/faster to work with.
<matthewcroughan_> simpson: deep nix fu, I'll understand that when my beard is grey.
<clever> matthewcroughan_: after nixos has finished merging every value assigned to that option (or picking the default), it will run apply on the merged result
<clever> matthewcroughan_: the result of apply, is what you see at config.services.activemq.javaProperties
<clever> matthewcroughan_: so line 126 is reading the result of the apply function, at all times
<matthewcroughan_> What is the purpose of this apply for example? This usage seems a bit weird.
<clever> matthewcroughan_: the option accepts text, but this apply turns it into a file containing the text
<matthewcroughan_> so is apply= like default= but completely open-ended?
<clever> apply is ALWAYS ran
<clever> while default is just a default if you never set anything
<matthewcroughan_> could apply= just as easily have been runthis= ?
<clever> probably
mayhew has quit [Quit: Konversation terminated!]
<matthewcroughan_> What about this?
growpotkin has quit [Ping timeout: 244 seconds]
<matthewcroughan_> In this case it looks like it's being used as a check/test
<matthewcroughan_> is this the case?
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @bhipple merged pull request #116571 → lowdown: 0.8.2 -> 0.8.3 → https://github.com/NixOS/nixpkgs/pull/116571
<clever> matthewcroughan_: if you assign package to pkgs.yabar, it will print that warning
<matthewcroughan_> So apply is open ended in this way that you can use it for anything, and it's very arbitrary
<matthewcroughan_> damn :D
<clever> yeah
<matthewcroughan_> at least I understand that much now, thanks.
evils has quit [Ping timeout: 246 seconds]
palo1 has joined #nixos
<clever> matthewcroughan_: when you use default= inside a mkOption, it goes via mkOptionDefault, giving it a priority of 1500
<clever> if you do config = { foo = mkDefault "foo"; } then it gets a priority of 1000
<matthewcroughan_> so was apply a botch because there was no priority system in the past?
<clever> foo = "bar"; is a priority of 100
<clever> and foo = mkForce "baz"; is a priority of 50
growpotkin has joined #nixos
<clever> if you assign a given option multiple times, nixos will first first out what the strongest (lowest number) priority is
<clever> it will then run the type-specific merge function on everything at that priority
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<clever> so if you use both mkOptionDefault and nothing, you then have values at priority 1500, and priority 100
dbmikus has joined #nixos
<clever> it will gather every value at 100, throw the rest out, and merge just the 100's
<clever> so now the default= has entirely vanished, and cant participate in the merge rules
<clever> this also causes other fun things
<clever> if you set a given option with mkForce twice, it will merge them, according to the usual rules
<Yaniel> did something happen with the default build steaps?
<Yaniel> steps*
<clever> apply just lets you do one final transformation after all merging is done
<Yaniel> my openocd override suddenly stopped building although the commit and hash stayed the same
<Yaniel> and by stopped building I mean it doesn't run autogen+automake+configure for some reason
<clever> Yaniel: thats triggered by a hook in the inputs
evils has joined #nixos
<Yaniel> ooh, the nixpkgs version lost said hook it seems
<Yaniel> thanks for the hint
<matthewcroughan_> clever: hmm.. so how could I make a function here that does -D *for each* thing in a list?
<matthewcroughan_> similar to L126 of activemq
<clever> $ git -C ~/apps/nixpkgs log --patch origin/master pkgs/development/tools/misc/openocd/default.nix
<clever> - nativeBuildInputs = [ autoreconfHook pkg-config ];
<clever> + nativeBuildInputs = [ pkg-config ];
<clever> Yaniel: yep, exactly
<matthewcroughan_> clever: https://pad.1312.media/p/list
c0ffee152 has quit [Quit: Lost terminal]
<clever> > map ({key, value}: "-D${key}=${value}") [ {key="a"; value="1";} {key="b";value="2"; } ]
<{^_^}> [ <CODE> <CODE> ]
<clever> > :p map ({key, value}: "-D${key}=${value}") [ {key="a"; value="1";} {key="b";value="2"; } ]
<{^_^}> [ "-Da=1" "-Db=2" ]
<Yaniel> autoreconfHook269 apparently
<Yaniel> excellent
<clever> matthewcroughan_: the other package, was using an attrset, so you could do { foo = "bar"; }, rather then [ "foo=bar" ];
<matthewcroughan_> I want it to be foo=bar because this is literally how you interact with nodered on the cli
<clever> matthewcroughan_: because [ "foo=bar"] and [ "foo=baz" ] dont conflict, and you wind up with [ "foo=bar" "foo=baz" ]
<clever> do you want to silently allow duplicates?
<matthewcroughan_> It doesn't seem to matter on the cli
<clever> does it use both, or just one?
<matthewcroughan_> just one, and I'm not sure on the precedence
<clever> then you want nixos to error out when duplicates are given
<clever> so the type should be attrs
<matthewcroughan_> and the only way to do that is the way activemq has done it?
<matthewcroughan_> ah, okay
<meatcar> Hi all, can I get someone to take a look at and potentially help merge a PR? It's been stuck open for a couple weeks now. Thanks :) https://github.com/NixOS/nixpkgs/pull/113871
<{^_^}> #113871 (by r-ryantm, 3 weeks ago, open): sqlite-utils: 3.5 -> 3.6
<{^_^}> [nixpkgs] @ryantm merged pull request #113871 → sqlite-utils: 3.5 -> 3.6 → https://github.com/NixOS/nixpkgs/pull/113871
<{^_^}> [nixpkgs] @ryantm merged pull request #116404 → editorconfig-checker: 2.3.3 -> 2.3.4 → https://github.com/NixOS/nixpkgs/pull/116404
<matthewcroughan_> clever: what about the fact that I only want to pass -D conditionally?
<matthewcroughan_> if cfg.option is empty, I need it to not pass -D
<clever> map attrs
<matthewcroughan_> Not sure I follow :D
<clever> > :p mapAttrsToList (key: value: "-D${key}=${value}") { a="1"; b="2"; }
<{^_^}> [ "-Da=1" "-Db=2" ]
<clever> matthewcroughan_: this turns a set into a list
<clever> > :p mapAttrsToList (key: value: "-D${key}=${value}") { }
<{^_^}> [ ]
<matthewcroughan_> omfg
<clever> and an empty set, into an empty list!
<clever> > :p concatStringsSep " " (mapAttrsToList (key: value: "-D${key}=${value}") { a="1"; b="2"; })
<{^_^}> "-Da=1 -Db=2"
<clever> then you can turn it into a space seperated list
dbmikus has quit [Ping timeout: 246 seconds]
<matthewcroughan_> That is just too great.
sigmundv_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @zseri closed pull request #116570 → gphotos-sync: init at 2.14.2 → https://github.com/NixOS/nixpkgs/pull/116570
<matthewcroughan_> clever: I wonder what the utility of that `concatStringsSep " \\\n"` is
<clever> it becomes \
<clever> a multi-line \
<clever> bash script
<matthewcroughan_> Any particular reason for that?
<{^_^}> [nixpkgs] @wunderbrick opened pull request #116576 → juniper: init at 2.3.0 → https://github.com/NixOS/nixpkgs/pull/116576
<clever> matthewcroughan_: just to make the generated shell script more human readable
<clever> so you dont wind up with a single line that is 1000 chars long
<matthewcroughan_> Oh, that thing that crashes vim/emacs?
<clever> ive not seen it crash vim
<clever> and ive opened 3mb files in vim
m0rphism has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #116577 → buildbot: 3.0.0 -> 3.0.2 → https://github.com/NixOS/nixpkgs/pull/116577
<matthewcroughan_> clever: to that, I say https://www.youtube.com/watch?v=HChEv83ti0g
teto has quit [Ping timeout: 272 seconds]
<clever> heh
<clever> and yes, it does slow down when editing such large files
<clever> but it doesnt crash
<{^_^}> [nixpkgs] @worldofpeace merged pull request #116407 → fondo: 1.5.1 -> 1.5.2 → https://github.com/NixOS/nixpkgs/pull/116407
<siraben> is his language (jai) packaged in nixpkgs?
sigmundv_ has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6557a3c1fe8 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
growpotk- has quit [Quit: ZNC 1.8.2 - https://znc.in]
lordcirth has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6557a3c1fe8 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7015e86ece5 (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #115167 → darwin.cctools: use clang for as on aarch64-darwin → https://github.com/NixOS/nixpkgs/pull/115167
<{^_^}> [nixpkgs] @veprbl reopened pull request #115167 → darwin.cctools: use clang for as on aarch64-darwin → https://github.com/NixOS/nixpkgs/pull/115167
sigmundv__ has joined #nixos
sigmundv_ has quit [Read error: Connection reset by peer]
s1341_ has quit [Quit: Connection closed for inactivity]
mcornick has quit [Quit: leaving]
mcornick has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
mcornick has quit [Quit: zzz]
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos
<{^_^}> [nixpkgs] @MatthewCroughan opened pull request #116578 → nixos/node-red: add module → https://github.com/NixOS/nixpkgs/pull/116578
<matthewcroughan_> siraben: no, but it should be
fresheyeball has quit [Quit: WeeChat 2.9]
<siraben> matthewcroughan_: looks like it's not even released publicly yet
fresheyeball has joined #nixos
fiddlerwoaroof_ is now known as fiddlerwoaroof
<fresheyeball> I have a nix expression that builds fine on linux but not on mac
<fresheyeball> but I am a 'x86_64-darwin' with features ...
<fresheyeball> how can I figure out what is causing this? --show-trace does not help
CMCDragonkai1 has quit [Remote host closed the connection]
CMCDragonkai1 has joined #nixos
<{^_^}> [nixpkgs] @bobrik opened pull request #116579 → liblapack: disable failing tests on darwin → https://github.com/NixOS/nixpkgs/pull/116579
<Miyu-saki> fresheyeball: What does "builds fine" mean.
<Miyu-saki> Or rather
<Miyu-saki> What do you mean by it not "building fine" on Mac?
Supersonic112 has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #115167 → darwin.cctools: use clang for as on aarch64-darwin → https://github.com/NixOS/nixpkgs/pull/115167
Shiranai has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
Supersonic112 is now known as Supersonic
<Shiranai> Hello, anyone using coq with nix? As mentioned here https://nixos.wiki/wiki/Coq I can't use libraries without a custom shell
<{^_^}> [nixpkgs] @samuela closed pull request #116182 → vscodium: 1.53.2 -> 1.54.2 → https://github.com/NixOS/nixpkgs/pull/116182
<Shiranai> which I can't link when trying to us vscoq
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116580 → python38Packages.asyncwhois: 0.3.0 -> 0.3.1 → https://github.com/NixOS/nixpkgs/pull/116580
sigmundv__ has quit [Ping timeout: 256 seconds]
ahmedelgabri has quit [Ping timeout: 265 seconds]
Shiranai has quit [Quit: Connection closed]
terinjokes has quit [Quit: ZNC 1.8.1 - https://znc.in]
jimkooch has joined #nixos
terinjokes has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #116577 → buildbot: 3.0.0 -> 3.0.2 → https://github.com/NixOS/nixpkgs/pull/116577
Kennan[m]1 is now known as kclejeune[m]
growpotk- has joined #nixos
sss2 has quit [Quit: Leaving]
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #116562 → python3Packages.snapcast: 2.1.1 -> 2.1.2 → https://github.com/NixOS/nixpkgs/pull/116562
<{^_^}> [nixpkgs] @jonringer merged pull request #116561 → python3Packages.googlemaps: 4.4.2 -> 4.4.5 → https://github.com/NixOS/nixpkgs/pull/116561
<{^_^}> [nixpkgs] @jonringer merged pull request #116565 → python3Packages.pyshark: 0.4.2.11 -> 0.4.3 → https://github.com/NixOS/nixpkgs/pull/116565
dbmikus has quit [Ping timeout: 260 seconds]
gregf has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #116569 → python38Packages.google-cloud-secret-manager: 2.2.0 -> 2.3.0 → https://github.com/NixOS/nixpkgs/pull/116569
<{^_^}> [nixpkgs] @jonringer merged pull request #116559 → python3Packages.aiorun: 2020.6.1 -> 2020.12.1 → https://github.com/NixOS/nixpkgs/pull/116559
yjftsjthsd has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #116558 → python3Packages.openwrt-luci-rpc: 1.1.7 -> 1.1.8 → https://github.com/NixOS/nixpkgs/pull/116558
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116581 → python38Packages.casbin: 0.18.3 -> 0.18.4 → https://github.com/NixOS/nixpkgs/pull/116581
endformationage has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @jonringer merged pull request #116566 → python38Packages.aiolyric: 1.0.5 -> 1.0.6 → https://github.com/NixOS/nixpkgs/pull/116566
<{^_^}> [nixpkgs] @jonringer merged pull request #116580 → python38Packages.asyncwhois: 0.3.0 -> 0.3.1 → https://github.com/NixOS/nixpkgs/pull/116580
<{^_^}> [nixpkgs] @jonringer merged pull request #116581 → python38Packages.casbin: 0.18.3 -> 0.18.4 → https://github.com/NixOS/nixpkgs/pull/116581
<remexre> did something change how sh (the python module) interacts with python recently? A build that does pkgs.python39.withPackages(p: [ ... p.sh ...]) is now trying to build python from source...
<remexre> (and doesn't when p.sh is commented out)
<remexre> (git log of pkgs/development/python-modules/sh shows nothing incriminating; this change would've happened in the last month, I think)
orivej has joined #nixos
<jonringer> remexre: the build is broken, therefore not cached
<remexre> oh >_>
<remexre> sh's is, or python's is?
<{^_^}> [nixpkgs] @jonringer merged pull request #116575 → python38Packages.google-cloud-logging: 2.2.0 -> 2.3.0 → https://github.com/NixOS/nixpkgs/pull/116575
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #116563 → python38Packages.azure-mgmt-datafactory: 1.0.0 -> 1.1.0 → https://github.com/NixOS/nixpkgs/pull/116563
<{^_^}> [nixpkgs] @jonringer closed pull request #116573 → python38Packages.googlemaps: 4.4.2 -> 4.4.5 → https://github.com/NixOS/nixpkgs/pull/116573
ml| has quit [Ping timeout: 276 seconds]
ahmedelgabri has quit [Ping timeout: 244 seconds]
yjftsjthsd has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116582 → python38Packages.datashader: 0.12.0 -> 0.12.1 → https://github.com/NixOS/nixpkgs/pull/116582
<remexre> okay, looks like https://hydra.nixos.org/build/137423885, which upstream seems unaware of...
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/Jme0m
<{^_^}> [nixpkgs] @vcunat merged pull request #116040 → firefox-bin: 86.0 -> 86.0.1 → https://github.com/NixOS/nixpkgs/pull/116040
oxalica has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116583 → python38Packages.bx-python: 0.8.10 -> 0.8.11 → https://github.com/NixOS/nixpkgs/pull/116583
oxalica has joined #nixos
zakame has quit [Ping timeout: 256 seconds]
Jd007 has quit [Quit: Jd007]
zakame has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @marsam opened pull request #116584 → ocamlPackages.ocaml-lsp: 1.4.0 -> 1.4.1 → https://github.com/NixOS/nixpkgs/pull/116584
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b702a56d417 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116585 → python38Packages.ckcc-protocol: 1.0.3 -> 1.1.0 → https://github.com/NixOS/nixpkgs/pull/116585
MahmoudMAZOUZ[m] has joined #nixos
riksteri has joined #nixos
c74d has left #nixos [#nixos]
cole-h_ has joined #nixos
growpotkin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @asbachb opened pull request #116586 → netbeans: netbeans: 12.2 -> 12.3 → https://github.com/NixOS/nixpkgs/pull/116586
cole-h_ is now known as cole-h
MidAutumnHotaru has quit [Quit: Quit 啾]
MidAutumnHotaru has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
simba1 has joined #nixos
puffnfre- has joined #nixos
puffnfresh_ has quit [Ping timeout: 265 seconds]
growpotk- has quit [Quit: ZNC 1.8.2 - https://znc.in]
waleee-cl has quit [Quit: Connection closed for inactivity]
i1l has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116587 → python38Packages.google-cloud-bigquery: 2.11.0 -> 2.12.0 → https://github.com/NixOS/nixpkgs/pull/116587
srk has quit [Remote host closed the connection]
andreas31 has quit [Remote host closed the connection]
srk has joined #nixos
andreas31 has joined #nixos
sangoma has joined #nixos
palo1 has joined #nixos
<hyper_ch> how can I make sure that when I create a custom iso using nix-build and the channel.nix etc... that I get the unstable channel?
<Miyu-saki> What constitutes as getting the unstable channel?
<{^_^}> [nixpkgs] @martinetd opened pull request #116588 → pahole: 1.17 -> 1.20 → https://github.com/NixOS/nixpkgs/pull/116588
palo has quit [Ping timeout: 244 seconds]
palo1 is now known as palo
<hyper_ch> I used this here: https://paste.simplylinux.ch/view/raw/cc5af7e2 but the problem was that there was no zstd compression available for zfs... but that was put into unstable channel half a year ago
<hyper_ch> it uses unstable 20.09... but I need newer
mfernandez has quit [Ping timeout: 260 seconds]
mikeplus64 has joined #nixos
noudle has joined #nixos
<mikeplus64> hi all, i have a haskell package that links to the c library libgit2 that i've updated to use ghc102 and now get a undefined symbol (for a libgit2 func) error when compiling the executable, which previously worked on an older nixpkgs/ghc combination, anyone have any ideas?
<mikeplus64> ahaaaaaaaaaaa nevermind, this specific function has changed in the new version of libgit2
<pie_> hyper_ch: Idk offhand how things get put into the iso, but for building the iso youd probably do something like -I nixpkgs=channel:nixos-unstable to set the <nixpkgs> value which is used by impure.nix, if I recall correctly, to set the pkgs thats in scope, and such
<mikeplus64> oh, nevermind my nevermind, it's actually that the GIT_THREADS opt has been removed from libgit2 in nixpkgs...
<pie_> ok nevermind thats just dealing with some other stuff, but good to know about anyway https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/impure.nix
<Miyu-saki> pie_: Technically, by doing `-I nixpkgs=...` you'd be changing your impure.nix(and this is just tangential)
<pie_> i get the pieces but i always manage to majorly wrongthink something :P
<pie_> actually though, that seems like a good question
<pie_> how does -I actually work
<pie_> for setting which channel is active
<Miyu-saki> -I is very simple, it just changes what `<foo>` refers too.
<pie_> because it sets <nixpkgs> , sure, but something has to resolve what it's using as the overall nixpkgs context
<pie_> like, the context where <nixpkgs> is used in a nix expression
<Miyu-saki> And doing `-I nixpkgs=...` will change `<nixpkgs>` to refer to `/nix/store/...` which is fetched by Nix, based on the channel.
<hyper_ch> pie_: thanks, I'll try
<Miyu-saki> Err `/nix/store/...-nixpkgs` I think
xO1 has joined #nixos
<Miyu-saki> Or maybe -nixpkgs-source or just -source. I haven't checked.
<pie_> Miyu-saki: i would guess / youre implying that nix knows to look in the nixpkgs variable for default.nix
jol has quit [Quit: ZNC 1.7.5 - https://znc.in]
<pie_> (which would make sense,im just sayin)
jol has joined #nixos
dbmikus has joined #nixos
<Miyu-saki> Kinda! I think what your actual question is, "how is <nixpkgs> in general used." So what nixpkgs does is that when you `import` it, the resulting attrset is basically similar to `/pkgs/top-level.nix`.
<Miyu-saki> This provides you with a function called `callPackage`.
<pie_> no im asking the exactly converse question :p
<mikeplus64> (fwiw, my problem was *actually* an incorrect version check. as it's been a while since I touched this codebase I forgot all about it and spent ages doing stuff unrelated to the actual issue. doh)
<pie_> how does nix-build or eval.cc or (well this is part of figuring out the answer) whichever part of nix is responsiblefor this, figure out where that first default.nix that it should be calling, is
<pie_> the obvious part is that it checks NIX_PATH
<pie_> but i havent found the source yet
<Miyu-saki> So in the "usual use-case", you'll have something like `with import <nixpkgs> {}; callPackage ./. {}`. And when you override that with `-I` it will instead use the nixpkgs from your /nix/store, with no regards to any other nixpkgs installed in your systme.
Lord_of_Life has joined #nixos
<Miyu-saki> And oh
<Miyu-saki> TL;DR, it is stored in like ~/.nix/cache or something
<Miyu-saki> I think
<Miyu-saki> Err, ~/.cache/nix
<pie_> actually yeah i guess it makes more sense for it to not have a separate mechanis
<pie_> -m
<Miyu-saki> [myrl@myrl-thinkpad:~]$ echo ~/.cache/nix/tarballs/*-unstable*unpacked
<Miyu-saki> /home/myrl/.cache/nix/tarballs/s85wss0l1bgpnkja7fbvib64abcc9wca-nixos-unstable.tar.gz-unpacked
<Miyu-saki> [myrl@myrl-thinkpad:~]$ stat ~/.cache/nix/tarballs/*-unstable*unpacked
<Miyu-saki> File: /home/myrl/.cache/nix/tarballs/s85wss0l1bgpnkja7fbvib64abcc9wca-nixos-unstable.tar.gz-unpacked -> /nix/store/lksr0fr492i6zb2c8f2sqji0awi77n24-nixos-unstable.tar.gz
orivej has quit [Ping timeout: 256 seconds]
<Miyu-saki> I think this answers your question?
<pie_> i think thats -p
<Miyu-saki> Yep, that's `-p`.
<pie_> im looking for whatever nix-build something.nix does
<Miyu-saki> Okay, I think I'm a bit confused. Are you trying to figure out how `NIX_PATH` is resolved, or how channels are reified to /nix/store paths?
<Miyu-saki> Oh
<pie_> hm. ok i guess nix-build something.nix doesnt need to invoke the nixpkgs variable at all
<pie_> if it does its because _youre_ using it in your nix code
<pie_> so yeah i guess that makes sense.
<Miyu-saki> Yep!
<pie_> its almost as if i havent been using nix for years :'c
<Miyu-saki> I mean, it could also be that, y'know? You've been using it for so long, and it's so automatic, that you don't really think about it kinda thing.
<pie_> hyper_ch: fwiw, i didnt look into it, but when i did nixos-install -I nixpkgs=channel:nixos-unstable at some point, it seemed to set that as the default nixos channel in the new system, so it sounds like it should work
<pie_> Miyu-saki: no i just never really understood how things work on a deeper level, just accumulating bits and pieces and forgetting things :P
<pie_> anyway
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116589 → python38Packages.jsonrpc-base: 1.1.0 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/116589
turlando has joined #nixos
mallox has joined #nixos
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @servalcatty opened pull request #116590 → v2ray: 4.35.1 -> 4.36.2 → https://github.com/NixOS/nixpkgs/pull/116590
vidbina has joined #nixos
ahmedelgabri has quit [Ping timeout: 265 seconds]
<hyper_ch> pie_: the problem is I need a current live iso where I have zfs available with zstd
<hyper_ch> it's not working with building the iso
<hyper_ch> it just uses 20.09
<pie_> well i think that should work with what i said because it should build using the unstable channel
orivej has joined #nixos
dbmikus has quit [Ping timeout: 265 seconds]
zakame has quit [Ping timeout: 265 seconds]
<pie_> hyper_ch: do you have enough cpu/ram to run a vm?
<hyper_ch> pie_: yes, but how is that of any help?
ahmedelgabri has joined #nixos
<pie_> hyper_ch: i highly recommend using vms to test this stuff, faster than rebooting and shuffling images around
<hyper_ch> no idea what that's good for
zakame has joined #nixos
<hyper_ch> how can I create an iso from the current nixos-unstable channel
<pie_> the idea would be that for example, you can test if the image you built has zfs
<pie_> but thats tangential
<hyper_ch> pie_: the built images have zfs
<hyper_ch> but it uses 20.09 and not current unstable
<hyper_ch> so that zfs version does not have zstd
<pie_> ok right
<pie_> hyper_ch: did you try what i said
<hyper_ch> and hence I can't import the pool on the server
<hyper_ch> pie_: nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=customIso.nix -I nixpkgs=channel:nixos-unstable --> it did build, but again with 20.09
<pie_> ok thats odd
<hyper_ch> how do I set in the customiso to use that channel?
<pie_> well, what happens is that any references to <nixpkgs> now point to nixos-unstable
<pie_> do you have any other channels, and are you referring to anyhting else with <>?
<pie_> somethng you can try is set NIX_PATH= in the environment and see what breaks (though some misc. stuff might have to be fixed before we can see what we really want)
<hyper_ch> pie_: not sure what you're refering to
<pie_> run it like: NIX_PATH= nix-build ...
jonringer has quit [Ping timeout: 264 seconds]
<hyper_ch> pie_: trying with an overlay in the customIso.nix now
<pie_> hyper_ch: I don't know what exactly is going on, but it sounds like you have a different channel leaking in from somewhere, so we need to figure out why
<hyper_ch> pie_: that's what it looks like: https://paste.simplylinux.ch/view/raw/cc5af7e2
<hyper_ch> not sure about other paths you mention
<hyper_ch> the problem could be <nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
<hyper_ch> anyway, I found a zfs overlay and trying that now
orivej has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
saschagrunert has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « dnsperf: 2.4.0 -> 2.5.0 »: https://git.io/JmeNT
cole-h has quit [Ping timeout: 264 seconds]
luxemboye has quit [Remote host closed the connection]
philr_ has quit [Ping timeout: 245 seconds]
luxemboye has joined #nixos
<hyper_ch> pie_: still no luck
<pie_> hyper_ch: what version is the zfs
<pie_> that the system is giving you
<hyper_ch> pie_: some 0.8.x
<hyper_ch> becuase 2.0 contains zstd
<pie_> do you _know_ the problem is the channels? if you know the problem is the channels, stop trying random things and figure out whats wrong with your channels
orivej has quit [Ping timeout: 264 seconds]
<hyper_ch> pie_: I have no idea what the problem ist
<{^_^}> [nixpkgs] @LeSuisse opened pull request #116591 → tailscale: 1.4.5 -> 1.6.0 → https://github.com/NixOS/nixpkgs/pull/116591
<hyper_ch> except it's no useing current unstable
<pie_> ok, you have a hypothesis
cfricke has joined #nixos
<pie_> so follow the path it leads down
rdk313 has joined #nixos
<hyper_ch> I have no idea
<pie_> have you tried this? <pie_> run it like: NIX_PATH= nix-build ...
<{^_^}> [nixpkgs] @LeSuisse closed pull request #116458 → tailscale: 1.4.5 -> 1.4.6 → https://github.com/NixOS/nixpkgs/pull/116458
h0m1 has quit [Quit: WeeChat 3.1]
<hyper_ch> NIX_PATH= nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=customIso.nix -I nixpkgs=channel:nixos-unstable
<hyper_ch> nothing changed
<hyper_ch> it did not rebuild
h0m1 has joined #nixos
<leonardp> what happens if you drop the '<nixpkgs/nixos>'?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116592 → hwi: 1.2.1 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/116592
Chiliparrot has joined #nixos
<hyper_ch> I was under the impression that's needed for building the iso
rdk31 has quit [Ping timeout: 265 seconds]
rdk313 is now known as rdk31
<pie_> leonardp: you need that for it to "run" nixpkgs/nixos/default.nix
<pie_> unless im doing some wrongthink again
evanjs has quit [Read error: Connection reset by peer]
<pie_> what that does it evaluate the config.system.build.isoImage attribute of the attrset from nixpkgs/nixos/default.nix
<leonardp> but that points to your local nixos path doesn't it? and you want to build the iso from unstable
<hyper_ch> pie_: rephrase that so I can understand
<pie_> the nixos/default.nix is what's used for building a system configuration, as opposed to pkgs/default.nix which leads to the nixpkgs package set
<hyper_ch> ah, that wasn't for me
<pie_> leonardp: the first part of <nixpkgs/nixos> is <nixpkgs> which comes from the -I variable
<pie_> btw -I overrides whats in NIX_PATH
<hyper_ch> pie_: I have two -I variables
evanjs has joined #nixos
<pie_> yes but they are setting different parts of it, intuition says it should be fine
<leonardp> i mean
<hyper_ch> one points to customiso.nix
<pie_> but im actually not sure if the otder matters
<hyper_ch> not sure if the second one gets ignored
<leonardp> nix-instantiate --eval -E '<nixpkgs/nixos>' vs. nix-instantiate --eval -E '<nixpkgs-unstable/nixos>'
<pie_> leonardp: where does nixpkgs-unstable come from?
<leonardp> in my case
dbmikus has joined #nixos
lsix has joined #nixos
Chiliparrot has quit [Ping timeout: 264 seconds]
<hyper_ch> I only have
<hyper_ch> nix-channel --list
<pie_> libexpr/parser.y#L410
<leonardp> yeah .. i also just now saw `nix-instantiate -I nixpkgs=channel:nixos-unstable --eval -E '<nixpkgs/nixos>'` should give you the right path
<pie_> which are in fact things you can end up overloading
<pie_> (not 100% sure but i have heard of people playing with __findFile)
<pie_> leonardp: yeah so can see you have nixpkgs-unstable defined as a channel
<pie_> leonardp: but if you pass -I nixpkgs-unstable=... you will override the value of that
<hyper_ch> can you pass multiple -I ?
<leonardp> makes sense... just tried it ...
<pie_> in fact you can delete the channel and just pass -I nixpkgs-unstable=channel:nixos-unstable , or anything else
<{^_^}> [nixpkgs] @dotlambda closed pull request #106811 → appdaemon: relax dependencies → https://github.com/NixOS/nixpkgs/pull/106811
<leonardp> so technically that hyper_ch's command should build the correct iso
<pie_> hyper_ch: 1) i dont know 2) you can test it :)
<hyper_ch> I did not fetch nixpkgs git, put it to /tmp/nixos-master , checked out latest unstable build on my notebook and now running
<pie_> let me see if ican throw together a oneliner
jimkooch has quit [Quit: leaving]
<hyper_ch> nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=customIso.nix -I nixpkgs=/tmp/nixos-master
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8e1891d5b8d (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Miyu-saki> Errr
<hyper_ch> pie_: as you can see, I have two -I -- that should work since different things are defined, right?
<Miyu-saki> Just so you know, `<nixpkgs/nixos>` is not the same as `<nixpkgs> + /nixos` (but it *should* be equal, otherwise, you have a misconfiguration.)
<Miyu-saki> hyper_ch: Also, just run that.
<hyper_ch> run what?
<Miyu-saki> IIRC, it does work, if not, then you have to use nixos-config=customIso.nix:nixpkgs=/tmp/nixos-master
<Miyu-saki> (I'm not sure if -I uses the : delimiter, but NIX_PATH does)
<hyper_ch> it did not complain about running it like that
<Miyu-saki> Right, then there's no problem!
<hyper_ch> we'll see
<Miyu-saki> Most of the time, if Nix doesn't complain, you did it correctly.
<pie_> error: file 'bar' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:19
<pie_> $ nix eval -I foo="$(mktemp -d)" '(<foo> + " || " + <bar>)'
<pie_> $ nix eval -I foo="$(mktemp -d)" -I bar="$(mktemp -d)" '(<foo> + " || " + <bar>)'
<pie_> error: file 'foo' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:2
<pie_> $ nix eval '(<foo>)+" || "+(<bar>)'
<pie_> /run/user/1000/tmp.gPNUsXueka || /run/user/1000/tmp.qooSobVeJB
<pie_> /run/user/1000/tmp.gPNUsXueka || /run/user/1000/tmp.qooSobVeJB
<hyper_ch> never had so much problems with zfs
<pie_> i used mktemp because apparently it checks if the file exists or something and errors otherwise
<pie_> also, interestingly, this doesnt work:
<pie_> nix eval -I foo="$(mktemp -d)":bar="$(mktemp -d)" '(<foo> + " || " + <bar>)'
<pie_> warning: Nix search path entry '/run/user/1000/tmp.EXczKy2Qzf:bar=/run/user/1000/tmp.1ZRH1Ejb4s' does not exist, ignoring
<pie_> error: file 'foo' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:2
<Miyu-saki> Ah yeah, so -I doesn't accept the :, so the only way is multiple -I then.
<pie_> so either i did something wrong, or you actually_have_ to pass them separately. TIL, and that will remain an open queastion
<pie_> could check the source but im lazy
<hyper_ch> I did use that customiso in the past often to create unstable live isos... not sure what it has problems now
<hyper_ch> there's no channel for 21.05 yet, right?
<{^_^}> [nixpkgs] @vcunat opened pull request #116593 → concurrencykit: remove in favor of duplicate libck → https://github.com/NixOS/nixpkgs/pull/116593
<pie_> Miyu-saki: should we expect : to work there? maybe needs an issue if it doesnt have one already
boolman has quit [Quit: leaving]
<Miyu-saki> Nah, I think multiple `-I` is exactly how you're supposed to pass multiple files. The problem with accepting : as a delimiter is that URIs get a bit more weird.
teto has joined #nixos
<pie_> ok so i did a quick test and the order of -I as expected, should not be an issue here
<pie_> hyper_ch: the problem is that youre saying the channel isnt taking effect. trying a different channel wont help
<pie_> anyway im still catching up on some threads
<pie_> oh? <Miyu-saki> Just so you know, `<nixpkgs/nixos>` is not the same as `<nixpkgs> + /nixos` (but it *should* be equal, otherwise, you have a misconfiguration.)
<Miyu-saki> Yeah
<Miyu-saki> You can for example add nixpkgs/nixos to your NIX_PATH.
<pie_> <Miyu-saki> (I'm not sure if -I uses the : delimiter, but NIX_PATH does)
<pie_> <hyper_ch> it did not complain about running it like that
<pie_> wait what? re:
Milanfallbackacc has joined #nixos
<pie_> Miyu-saki: ok lol, i guessed as much but wasnt sure
<Miyu-saki> [myrl@myrl-thinkpad:~/Downloads]$ nix eval -I nixpkgs/nixos=/ '(<nixpkgs/nixos>)'
<Miyu-saki> /
<pie_> infinisil: can we get bot that takes args? :P
<Miyu-saki> (Also, I love -I, it's like, really helpful.)
<pie_> half the time i use -I im thinking "ugh i should be pinning this"
<Miyu-saki> OTOH, I feel old, I prefer using `-I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz`
<pie_> well, pure funcitions are nice, and -I means you can change the inputs :P
<hyper_ch> so, still not working even when using -I nixpkgs=/tmp/nixos-master
<pie_> Miyu-saki: i prefer not to type that out
<hyper_ch> also, https://releases.nixos.org/nixos/unstable/nixos-21.05pre276379.266dc8c3d05 --> that does not have zfs included I guess
<Miyu-saki> pie_: I type it once, then C-r on my terminal forever. :P
<pie_> hyper_ch: yeah, im thinkin
<{^_^}> [nixpkgs] @SuperSandro2000 pushed to SuperSandro2000-patch-1 « sage: remove duplicated pkgconfig »: https://git.io/JmfLt
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #116594 → sage: remove duplicated pkgconfig → https://github.com/NixOS/nixpkgs/pull/116594
<Miyu-saki> (Also, I keep forgetting that the channel: syntax exists
<pie_> hyper_ch: sidenote, you probably dont need this?: boot.zfs.enableUnstable = true;
dbmikus has quit [Ping timeout: 260 seconds]
<hyper_ch> pie_: ?
<pie_> i mean im not using zfs unstable and im on 2.x i think
<hyper_ch> because as of 2.0 or maybe before, they're at the same version now
<ldlework> If some derivation fails with
<ldlework> In file included from ../main.cpp:21:
<hyper_ch> when encrytpion was introduced to zfs, then it was different
<ldlework> ./sysdeps.h:32:2: error: #error "You don't have ANSI C header files."
<ldlework> 32 | #error "You don't have ANSI C header files."
<ldlework> | ^~~~~
<ldlework> How can i fix that
<pie_> leonardp: that looks scary. cpp though??
Milan[m] has joined #nixos
<pie_> * ldlework
<pie_> leonardp: bad highlight :P
<pie_> ldlework: that looks like something google might help with though?
<pie_> diagnosing anyway
<pie_> anyway im bikeshedding, idk
<ldlework> i assume there's just some package needing to be in the environment but okie
<pie_> anythin in the build instructions of that?
<pie_> lol. _ONE_ result
<pie_> ldlework: everyone always forgets about AUR and I do too https://aur.archlinux.org/packages/sheepshaver-git/ ...doesnt look solved though
<pie_> ldlework: isnt sysdeps someting in the stdlib?
<pie_> oh its not
dbmikus has joined #nixos
ahmedelgabri has quit [Ping timeout: 264 seconds]
<ldlework> honestly no clue what i should do
<ldlework> should be said that i did build this very derivation a few months ago on unstable at the time
<{^_^}> [nixpkgs] @raboof opened pull request #116595 → jetbrains: updates → https://github.com/NixOS/nixpkgs/pull/116595
<pie_> i dont either but i ended up digging a little
oxalica has quit [Remote host closed the connection]
afics has quit [Ping timeout: 260 seconds]
<hyper_ch> pie_: Miyu-saki: leonardp: it's a typical PEBKAC ..... on the server, there was another usb stick still on the back inserted with 20.09 which I always selected fromthe boot menu
dbmikus has quit [Ping timeout: 256 seconds]
hypokeimenon[m] has joined #nixos
fuzzypixelz has joined #nixos
<Miyu-saki> lol
<Miyu-saki> Pain
<pie_> hyper_ch: haha yeah i was gonna ask something like are you running the right iso
<hyper_ch> sorry for wasting everyone's time
<leonardp> hyper_ch: oh wow
<pie_> you didnt waste much this time ;P i spent it learning some stuff
<ldlework> pie_: what are you telling me
<pie_> but yeah thers a heuristic like "always check the things youd be most embarrassed about first" xD
<leonardp> yeah i think everyone did a bit of learning here :9
<fuzzypixelz> is managing vscode extentions through home-manager supported? it only seems to work with vscodium for me
<pie_> ldlework: so it looks like something that comes from autocon
<pie_> -f
<pie_> (sorf ot)
<pie_> *sort of
<pie_> hyper_ch: something i would also have checked is maybe using nix show-derivation to figure out if things were coming from the right channel
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116564 → treewide: don't reference aliases in packages → https://github.com/NixOS/nixpkgs/pull/116564
<pie_> or one of the show-deps things or such
<pie_> idk off hand how i would have checked that but maybe something like looking what zfs derivation was getting added
fuzzypixelz has quit [Client Quit]
<pie_> though it would have been even more of a headscratcher to see the right version of zfs :P
<pie_> otoh not finding any old versions in the list would have also been suspicious
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116572 → dialog: 1.3-20210117 -> 1.3-20210306 → https://github.com/NixOS/nixpkgs/pull/116572
<{^_^}> [nixpkgs] @vbgl merged pull request #116584 → ocamlPackages.ocaml-lsp: 1.4.0 -> 1.4.1 → https://github.com/NixOS/nixpkgs/pull/116584
<pie_> here's the current autoconf
<hyper_ch> well, there were a ton of entries in the list to select which boot devices from efi, and I knew the usb stick just shows as usb generic.... and on the back I still had an identical one in there :(
<pie_> All hosted environments that are still of interest for portable code provide all of the headers specified in ISO C90 (as amended in 1995).
<pie_> This macro is obsolescent. Its sole effect is to make sure that all the headers that are included by AC_INCLUDES_DEFAULT (see Default Includes), but not part of ISO C90, have been checked for.
<pie_> doesnt really help but *shrug*
<{^_^}> [nixpkgs] @fabaff merged pull request #116546 → operator-sdk: 1.4.2 -> 1.5.0 → https://github.com/NixOS/nixpkgs/pull/116546
<pie_> ldlework: have you checked the autoconf output oesnt have any errors
<pie_> i have barely any idea how tha tsutff works
<{^_^}> [nixpkgs] @fabaff merged pull request #116433 → nats-server: 2.1.9 -> 2.2.0 → https://github.com/NixOS/nixpkgs/pull/116433
<ldlework> maybe gc can help tomorrow
<pie_> ldlework: autoconf has some flags for outputting debug info though i think
<pie_> though im probably mixing it up with cmake
<ldlework> i don't even know what autoconf or cmake does
jboy has joined #nixos
<pie_> i dont either, it generates like headers and paths and stuff
<pie_> idk , general configuration for your specific system
<pie_> you know, you have your source files, but you nee dto tell the compiler where to find headers n shit
<pie_> it probably interfaces with stuff like pkgconfig
<pie_> it also does various kinds of checks, no idea how that works
<pie_> if anyone has a good primer on autoconf and such, im also interested :P
<pie_> ldlework: put your excavator hat on haha
<ldlework> here's the entire output
<jboy> I'm trying to write a simple derivation to build a "./configure --prefix=... && make" type package. I set `makeFlags = [ "prefix=${placeholder "out"}" ];` but it still fails trying to write to `/etc`. Any ideas what might be going wrong?
<pie_> i probably shouldnt be looking at a 2 year old repository
* pie_ yonks the url from the nix expresision
ahmedelgabri has joined #nixos
<pie_> jboy: do you know why its trying to access /etc?
<raboof> jboy: shouldn't that be `configureFlags` then?
<jboy> pie_: no, I looked at the configure script and it seems to do everything right in terms of prefixing everything
<raboof> oh, okay
<jboy> oh, good point raboof, I'll try that
<pie_> let me rephrase, i dont know your the stuff looks like but i mean you should figure out why its still trying to write to /etc then :P
<{^_^}> [nixpkgs] @fabaff merged pull request #116359 → python38Packages.deprecated: 1.2.11 -> 1.2.12 → https://github.com/NixOS/nixpkgs/pull/116359
<pie_> raboof: sharper eyes than mine :PP
<jboy> raboof: oddly that doesn't change the behavior at all
<{^_^}> [nixpkgs] @fabaff merged pull request #116313 → msmtp: 1.8.14 -> 1.8.15 → https://github.com/NixOS/nixpkgs/pull/116313
<jboy> I guess there must be an error someplace, I'll have to see if I can spot and patch it
<pie_> jboy: did the rebuild actually succeed
<{^_^}> [nixpkgs] @jlesquembre closed pull request #115445 → vimPlugin.nvim-treesitter: Add withPlugins → https://github.com/NixOS/nixpkgs/pull/115445
<pie_> jboy: one thing id try is look at the "source" of the error and work backwards
faffolter has joined #nixos
<jboy> building succeeds, it's the install phase that fails because it is trying to copy something to /etc
<pie_> i.e. for example figure out what file its trying to write and where that path comes from
<pie_> ok
<jboy> yeah, that's what I was doing and it looks properly prefixed, but I'll keep looking. cheers pie_
<pie_> you can do -K to save the build
<pie_> and poke around in it's directory
<{^_^}> [nixpkgs] @fabaff merged pull request #116198 → sn0int: 0.20.0 -> 0.20.1 → https://github.com/NixOS/nixpkgs/pull/116198
<pie_> idk if there's a more convenient way to do it but you can then also set that temporary directory writable with chown/chmod , drop into a nix-shell, and run the phases manually
<{^_^}> [nixpkgs] @fabaff merged pull request #116127 → bettercap: 2.29 -> 2.30 → https://github.com/NixOS/nixpkgs/pull/116127
<pie_> ugh why are autoconf files so long
zupo has joined #nixos
<pie_> ldlework: configure: WARNING: Could not find mon, ignoring --with-mon.
<pie_> ok theres two ways to read that
<pie_> this is probably unrelated to the problem but is --with-mon passed
<pie_> the phrasing might bjust be weird
<pie_> configuring
<pie_> no configure script, doing nothing
<pie_> suspicious
<pie_> ?
<pie_> also suspicious?
<pie_> /nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin/bash: astyle: command not found
<pie_> /nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin/bash: git: command not found
<jboy> thanks for the tip pie_, doing that now
<pie_> ldlework: why are there things about sdl2? i think i read something about only supporting sl1?
<pie_> *sdl
<pie_> this was linked from the AUR page but im not really sure whats going on https://github.com/cebix/macemu/pull/219/commits/b7bf5f6422f60e863051d1cfa3f067cd028a0bf8
Milan[m] has left #nixos ["User left"]
tim140123[m] has quit [Quit: Idle for 30+ days]
<pie_> all random stuff as i scrol
<ldlework> Only SDL is used in the derivation
<{^_^}> [nixpkgs] @peterhoeg pushed commit from @r-ryantm to master « strawberry: 0.8.5 -> 0.9.1 »: https://git.io/JmJaL
griff_ has joined #nixos
<pie_> ldlework: there are some SDL2 paths that show up for some reason
<ldlework> maybe I'll update the commit
<pie_> ldlework: soem stuf flooks weird, were there multiple things building at once?
<pie_> can you do -j1 or something? --cores 1 --max-jobs 1 i think?
<{^_^}> [nixpkgs] @peterhoeg merged pull request #116457 → strawberry: 0.8.5 -> 0.9.1 → https://github.com/NixOS/nixpkgs/pull/116457
<pie_> ldlework: and then paste the output again
<ldlework> pie_: oh you mean in my build output; yeah that sdl2 stuff was probably cataclysm compiling
<pie_> oh lol
<jboy> solved it by setting `configureFlags = [ "prefix=${placeholder "out"}" ];` and `installFlags = [ "DESTDIR=${placeholder "out"}" ];`
<pie_> yeah please serialize the thing xD
<jboy> not sure why the makefile doesn't infer DESTDIR from the prefix
<pie_> everyone does things a little different *shrug*
<pie_> its easy enough to miss things if youre not building against a system that works different too
<{^_^}> [nixpkgs] @RaghavSood opened pull request #116596 → ledger-live-desktop: 2.23.0 -> 2.24.0 → https://github.com/NixOS/nixpkgs/pull/116596
<ldlework> pie_: have you tried the derivation
<pie_> no
<ldlework> ah
<pie_> I guess I should have lol
dbmikus has joined #nixos
<pie_> with nix being reproducible and whatnot
<pie_> though you dont have nixpkgs pinned in it
<ldlework> here's the separated output
<ldlework> yeah i'm using some commit on nixos-unstable
<ldlework> f6b5bfdb470d60a876992749d0d708ed7b6b56ca
<{^_^}> [nixpkgs] @fabaff merged pull request #116079 → python38Packages.ijson: 3.1.3 -> 3.1.4 → https://github.com/NixOS/nixpkgs/pull/116079
<pie_> somewhat suspicious on nixos: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
<pie_> (dunno what that does )
avaq has joined #nixos
dbmikus has quit [Ping timeout: 265 seconds]
<pie_> ldlework: wild guess, try downgrading autoconf
<pie_> hmm weird, im on unstable and its 2.70 and the source seems to still do thething
<pie_> ok im trying the nix now
<{^_^}> [nixpkgs] @fabaff pushed 2 commits to master: https://git.io/JmUUo
<pie_> ldlework: im going to try to see what kind of includes get generated
<pie_> and wether the define is being created or not
<{^_^}> [nixpkgs] @fabaff merged pull request #116081 → python38Packages.inflect: 5.2.0 -> 5.3.0 → https://github.com/NixOS/nixpkgs/pull/116081
<pie_> that raises two questions 1) if the define is created why isnt is passed 2) if its not created, why not
<ldlework> pie_: My internet went out bbs in a few minutes
<pie_> k
<{^_^}> [nixpkgs] @fabaff merged pull request #116092 → python38Packages.h3: 3.7.1 -> 3.7.2 → https://github.com/NixOS/nixpkgs/pull/116092
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116597 → brave: 1.21.76 -> 1.21.77 → https://github.com/NixOS/nixpkgs/pull/116597
<bitonic> who can i ping to move https://github.com/NixOS/nixpkgs/pull/113957 along?
<{^_^}> #113957 (by chpatrick, 3 weeks ago, open): gnome-flashback: add option to remove gnome-panel, auto-generate wmName
<pie_> Im having trouble figuring out how to debug preprocessor macros and get gcc to dump what it sees :P
m4ts has quit [Read error: Connection reset by peer]
m4tsa_ has joined #nixos
werner291 has joined #nixos
<pie_> ldlework: #define STDC_HEADERS 1
<pie_> so its defined..
SomeoneSerge has joined #nixos
<pie_> ldlework: im minimizing the g++ line from the output
<pie_> apparently -E limits gcc to preprocessor mode, and -dM makes it dump the defines
<ldlework> Argh my isp so garbage
<pie_> the error is at the very top, so im guessing things are in the wrong order, but im not sure if thats just an output artefact
sangoma_ has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @prusnak closed pull request #116592 → hwi: 1.2.1 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/116592
<{^_^}> [nixpkgs] @prusnak opened pull request #116598 → python3Packages.hwi: 1.2.1 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/116598
<pie_> apparently -M lists all the included files. sysdeps.h is the first thing main.cpp includes, so the question is where the defines come from
<pie_> ldlework: with some filtering https://bpa.st/GXVA
sangoma_ has quit [Ping timeout: 256 seconds]
turlando has quit [Ping timeout: 246 seconds]
<pie_> oh yeah, just to check that the header isnt set by the compiler by default: gcc -E -dM -xc++ <(echo "int main(){}") | grep STDC
sangoma has joined #nixos
respawn_ has joined #nixos
m0rphism has joined #nixos
<pie_> ok its actually defined in /nix/store/sr0ci8f8pgby77fj4mpcl9bcgxji3676-gcc-10.2.0/include/c++/10.2.0/x86_64-unknown-linux-gnu/bits/c++config.h:#define STDC_HEADERS 1
fendor has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116599 → cargo-expand: 1.0.5 -> 1.0.6 → https://github.com/NixOS/nixpkgs/pull/116599
fendor_ has joined #nixos
MidAutumnHotaru1 has joined #nixos
Supersonic112 has joined #nixos
puffnfresh_ has joined #nixos
<pie_> ldlework: for a while i figured its an include order issue
<pie_> ldlework: adding #include "/nix/store/sr0ci8f8pgby77fj4mpcl9bcgxji3676-gcc-10.2.0/include/c++/10.2.0/x86_64-unknown-linux-gnu/bits/c++config.h" to sysdeps.h before the check seems to fix it, so the question is why is the include order the way it is
<ldlework> You got it to compile?
turlando has joined #nixos
ptrcmd_ has joined #nixos
<pie_> ldlework: no but i got the error to go away
evils_ has joined #nixos
diamondbond_ is now known as diamondbond
<pie_> idk if thats how it works, but note that here sysdeps is included before like, all the other stuff
<pie_> specifically, the check happens before /nix/store/f8ahd6cxx9ia4fzdiyczmhcv3c2qmd42-glibc-2.32-37-dev/include/sys/types.h \
<pie_> and only config.h user_strings_unix.h are included between sysdeps.h and types.h
<pie_> we probably want all the system headers to show up before the user ones
philr_ has joined #nixos
<pie_> (mostly ive just been googling and lookig at SO posts for what the commands are to get things out of GCC, ive become more comfortable with this stuff ever since i had a good fight with some clang tooling a while back)
<pie_> half of it is just figuring out wtf even exists and how to look at it
<pie_> i really need to start that "how to debug whatever" website..
turlando has quit [Ping timeout: 260 seconds]
* pie_ tries to remember where g++ gets its include paths...
<{^_^}> [nixpkgs] @mmahut merged pull request #116491 → prometheus-cups-exporter: This shouldn't be packaged → https://github.com/NixOS/nixpkgs/pull/116491
fendor has quit [*.net *.split]
SomeoneSerge has quit [*.net *.split]
puffnfre- has quit [*.net *.split]
MidAutumnHotaru has quit [*.net *.split]
Supersonic has quit [*.net *.split]
evils has quit [*.net *.split]
ptrcmd has quit [*.net *.split]
Supersonic112 is now known as Supersonic
MidAutumnHotaru1 is now known as MidAutumnHotaru
<{^_^}> [nixpkgs] @jtojnar merged pull request #114879 → calls: 0.2.0 -> 0.3.1, callaudiod: 0.0.4 -> 0.1.0 → https://github.com/NixOS/nixpkgs/pull/114879
<{^_^}> [nixpkgs] @jtojnar closed pull request #111865 → callaudiod: 0.0.4 -> 0.1.0 → https://github.com/NixOS/nixpkgs/pull/111865
<{^_^}> [nixpkgs] @siraben opened pull request #116600 → treewide (darwin): fix or enable darwin build for many packages (6) → https://github.com/NixOS/nixpkgs/pull/116600
<pie_> ldlework: ok here we go -v gives us the following: https://bpa.st/K5JA
<pie_> so we can see the things that are being passed
<pie_> nix wraps gcc so nano $(which gcc) to take a peek at that
<pie_> we are reminded NIX_DEBUG=1 exists
<pie_> note im not doing this in the build, things may be different there, but we get:
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116601 → chezmoi: 1.8.11 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/116601
<pie_> https://man7.org/linux/man-pages/man1/gcc.1.html looking at -B tells us to look at -isystem
<pie_> the assumption is nix isnt insane so theres probably a reason these are appanded afterwards and it _should_ work?
SomeoneSerge has joined #nixos
<pie_> looking for -isystem shows a description of the lookup order
<pie_> understandably, user directories are searched first...but actually i just realized....theres no reason to expect system includes will be arbitrarily included :P
<pie_> so wtf
<{^_^}> [nixpkgs] @jlesquembre opened pull request #116602 → vimPlugins.vim-flog: init at 2021-03-16 → https://github.com/NixOS/nixpkgs/pull/116602
<pie_> theres also -idirafter
<pie_> ok so the question is....with the current include order in the source code...how does this _ever_ work???
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos
m4ts has joined #nixos
m4tsa_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116594 → sage: remove duplicated pkgconfig → https://github.com/NixOS/nixpkgs/pull/116594
supercoven has joined #nixos
civodul has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116603 → coursier: 2.0.13 -> 2.0.14 → https://github.com/NixOS/nixpkgs/pull/116603
devhell has joined #nixos
griff_ has quit [Quit: griff_]
gthm_ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @RaghavSood merged pull request #116596 → ledger-live-desktop: 2.23.0 -> 2.24.0 → https://github.com/NixOS/nixpkgs/pull/116596
gthm has joined #nixos
<ldlework> pie_ Have you updated to the latest commit? Maybe it changed?
__monty__ has joined #nixos
<pie_> ldlework: well, the short of it all is I added NIX_CFLAGS_COMPILE = "-DSTDC_HEADERS=1"; and it seems to be fine but something is still fucky
_fctorial_ has joined #nixos
<pie_> or rather, it bothers me that i dont know what the real issue is
<pie_> ldlework: no i havent
jumper149 has joined #nixos
<{^_^}> [nix] @roberth opened pull request #4648 → Remove unimplemented hashAlgoOpt → https://github.com/NixOS/nix/pull/4648
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116604 → croc: 8.6.10 -> 8.6.11 → https://github.com/NixOS/nixpkgs/pull/116604
werner292 has joined #nixos
<{^_^}> [nixpkgs] @erictapen merged pull request #116554 → [20.09] electron_{9,10,11}: backport latest updates → https://github.com/NixOS/nixpkgs/pull/116554
werner291 has quit [Ping timeout: 244 seconds]
werner292 is now known as werner291
sangoma has quit [Ping timeout: 260 seconds]
sangoma has joined #nixos
<pie_> ldlework: id open an isuse somewhere wondering about the include ordering issue or something
<pie_> ldlework: you could also try bisecting for when the build broke?
saschagrunert has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @tomcur opened pull request #116605 → renoise: fix installation → https://github.com/NixOS/nixpkgs/pull/116605
<{^_^}> [nixpkgs] @tomcur opened pull request #116606 → surge: 1.7.1 -> 1.8.1 → https://github.com/NixOS/nixpkgs/pull/116606
<{^_^}> [nixpkgs] @martinetd opened pull request #116607 → irssi: fix GLib > 2.62 breaking input on nul byte → https://github.com/NixOS/nixpkgs/pull/116607
<{^_^}> [nixpkgs] @tomcur opened pull request #116608 → distrho-ports: 2020-07-14 -> 2021-03-15 → https://github.com/NixOS/nixpkgs/pull/116608
saschagrunert has joined #nixos
wnklmnn has joined #nixos
nschoe has joined #nixos
fuiltilt has quit [Quit: WeeChat 2.9]
Raito_Bezarius has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @fabaff closed pull request #116087 → python38Packages.ftputil: 4.0.0 -> 5.0.0 → https://github.com/NixOS/nixpkgs/pull/116087
<{^_^}> [nixpkgs] @fabaff merged pull request #113542 → python37Packages.ftputil: 4.0.0 -> 5.0.0 → https://github.com/NixOS/nixpkgs/pull/113542
<{^_^}> [nixpkgs] @wamserma opened pull request #116609 → teams: reorder arguments produced by wrapper → https://github.com/NixOS/nixpkgs/pull/116609
turlando has joined #nixos
Wizek has joined #nixos
oxalica has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116610 → dolt: 0.24.1 -> 0.24.2 → https://github.com/NixOS/nixpkgs/pull/116610
oxalica has quit [Client Quit]
evils_ has quit [Ping timeout: 264 seconds]
mkaito has joined #nixos
Raito_Bezarius has joined #nixos
NieDzejkob_ has quit [Ping timeout: 276 seconds]
ml| has joined #nixos
Dr8128 has joined #nixos
dbmikus has joined #nixos
xelxebar has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @wamserma opened pull request #116611 → xa: fix typo in derivation → https://github.com/NixOS/nixpkgs/pull/116611
xelxebar has joined #nixos
respawn_ has quit [Quit: Leaving]
dbmikus has quit [Ping timeout: 246 seconds]
mkaito has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116612 → elixir: 1.11.3 -> 1.11.4 → https://github.com/NixOS/nixpkgs/pull/116612
supercoven_ has joined #nixos
pushqrdx has quit [Remote host closed the connection]
managarmr has quit [Quit: Ping timeout (120 seconds)]
managarmr has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
supercoven has quit [Ping timeout: 245 seconds]
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116613 → emplace: 1.2.2 -> 1.3.0 → https://github.com/NixOS/nixpkgs/pull/116613
philr_ has quit [Ping timeout: 256 seconds]
dbmikus has joined #nixos
<pie_> ldlework: dude your commit is from 2017? :P
<ldlework> It was the commit used on the expression I found that I was able to hack into working.
<pie_> yeaaaah tha tmight be worth an update
<pie_> meanwhile im like a page into a writeup
<ldlework> It'll be sad when Sheepshaver dies though as it represents a pretty special preservation.
dbmikus has quit [Ping timeout: 256 seconds]
hiro98 has joined #nixos
NieDzejkob has joined #nixos
MahmoudMAZOUZ[m] has left #nixos ["User left"]
vidbina has quit [Ping timeout: 246 seconds]
Qwerky has joined #nixos
zupo has quit [Ping timeout: 256 seconds]
ml| has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
<pie_> ldlework: hmm it doesnt seem to have changed configure or systdeps since then in any related manner...
<pie_> this is bothering me xD
<pie_> the order includes are passed on the cli doesnt influence the order they are evaluated in this case right????
<pie_> like, putting all the system includes before or after the local includes shouldnt matter because theyre orthogonal?
NieDzejkob has quit [Ping timeout: 260 seconds]
werner292 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #116395 → leocad: 19.07.1 -> 21.03 → https://github.com/NixOS/nixpkgs/pull/116395
werner291 has quit [Ping timeout: 264 seconds]
werner292 is now known as werner291
NieDzejkob has joined #nixos
avaq has quit [Ping timeout: 256 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ml| has joined #nixos
zupo has joined #nixos
orivej has joined #nixos
nschoe has quit [Ping timeout: 265 seconds]
hiro98 has quit [Quit: hiro98]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116614 → fly: 7.0.0 -> 7.1.0 → https://github.com/NixOS/nixpkgs/pull/116614
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #116591 → tailscale: 1.4.5 -> 1.6.0 → https://github.com/NixOS/nixpkgs/pull/116591
orivej has quit [Ping timeout: 265 seconds]
lsix has quit [Ping timeout: 265 seconds]
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon1 has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116616 → frp: 0.35.1 -> 0.36.0 → https://github.com/NixOS/nixpkgs/pull/116616
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/JmtYh
<{^_^}> [nixpkgs] @rasendubi merged pull request #111737 → jetbrains.mps: fix license → https://github.com/NixOS/nixpkgs/pull/111737
<{^_^}> [nixpkgs] @dotlambda opened pull request #116617 → pdfslicer: unvendor dependencies → https://github.com/NixOS/nixpkgs/pull/116617
mkaito has quit [Read error: Connection reset by peer]
<ldlework> pie_: eyyy, my internet is back
<ldlework> gonna read through all that again
avaq has joined #nixos
<ldlework> pie_: does NIX_CFLAGS_COMPILE = "-DSTDC_HEADERS=1" make it compile?
<ldlework> guess i'll find out in a minute
<ldlework> It does seem to be compiling it.
orivej has quit [Ping timeout: 246 seconds]
griff_ has joined #nixos
werner292 has joined #nixos
werner291 has quit [Ping timeout: 265 seconds]
werner292 is now known as werner291
fctorial has joined #nixos
_fctorial_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #116620 → python3Packages.luftdaten: 0.6.4 -> 0.6.5 → https://github.com/NixOS/nixpkgs/pull/116620
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @toonn opened pull request #116621 → wire-desktop: linux 3.22.2937 -> 3.23.2938, mac 3.21.3959 -> 3.23.4046 → https://github.com/NixOS/nixpkgs/pull/116621
Qwerky has joined #nixos
bb80 has joined #nixos
fctorial is now known as fctorial_
fctorial_ is now known as _fctorial_
bb80 has quit [Client Quit]
<{^_^}> [nixpkgs] @danieldk merged pull request #115389 → libtorch-bin: switch to CUDA 11.1, remove static libraries → https://github.com/NixOS/nixpkgs/pull/115389
<sterni> ,locate ld
<{^_^}> Found in packages: go, gcc, gcj, gdc, gcc6, gcc7, gcc8, gcc9, gnat, cjdns, clang, gcc10, gcc48, gcc49, gccgo, gnat6, gnat10, arduino, axoloti, clang_5, clang_6, clang_8, clang_9, go_1_14, binutils, clang_10, clang_11, gfortran, gnatboot, gcc_debug, gcc_multi, gfortran6, gfortran7, gfortran8, codeblocks, gfortran10, gfortran48, gfortran49, clang_multi, graalvm8-ce, arduino_core, go_bootstrap, graalvm11-ce, libhugetlbfs, ccacheWrapper, and 23 more
lord| has quit [Read error: Connection reset by peer]
respawn_ has joined #nixos
lord| has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #115237 → python3Packages.datasets: 1.1.2 -> 1.4.1 → https://github.com/NixOS/nixpkgs/pull/115237
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116622 → hcloud: 1.21.0 -> 1.21.1 → https://github.com/NixOS/nixpkgs/pull/116622
zakame has quit [Ping timeout: 276 seconds]
_fctorial_ is now known as jklasdfjklasdfjk
jklasdfjklasdfjk is now known as _fctorial_
thehottestpotato has quit [Quit: The Lounge - https://thelounge.chat]
noudle has quit []
Qwerky has joined #nixos
everythingTaken has joined #nixos
<everythingTaken> hi guys, rather basic question, why name of iso different in sha256 file? downloaded iso is latest-*, but in sha256 file starts with nixos*
orivej has joined #nixos
dbmikus has joined #nixos
thehottestpotato has joined #nixos
<everythingTaken> how do I compare sha256sum latest-* with hash I copied from sha256 file
meh` has joined #nixos
Qwerky has quit [Ping timeout: 265 seconds]
Qwerky has joined #nixos
respawn_ has quit [Quit: Leaving]
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
<everythingTaken> I had to rename the file name in sha256 file
<everythingTaken> anyone gonna look into this? perhaps fix it?
<{^_^}> [nixpkgs] @Stunkymonkey reopened pull request #104111 → octoprint: add plugin option-type → https://github.com/NixOS/nixpkgs/pull/104111
orivej has quit [Ping timeout: 256 seconds]
dbmikus has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116623 → i2pd: 2.36.0 -> 2.37.0 → https://github.com/NixOS/nixpkgs/pull/116623
fctorial has joined #nixos
<{^_^}> [nixpkgs] @Stunkymonkey closed pull request #104111 → octoprint: add plugin option-type → https://github.com/NixOS/nixpkgs/pull/104111
aei has joined #nixos
_fctorial_ has quit [Ping timeout: 260 seconds]
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @akshaymankar opened pull request #116624 → sphinx-autobuild: Use correct package → https://github.com/NixOS/nixpkgs/pull/116624
dbmikus has joined #nixos
fctorial_ has joined #nixos
fctorial_ is now known as _fctorial_
vidbina has joined #nixos
_fctorial_ has left #nixos [#nixos]
fctorial has quit [Ping timeout: 264 seconds]
dbmikus has quit [Ping timeout: 256 seconds]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 265 seconds]
werner292 is now known as werner291
<{^_^}> [nixpkgs] @kittywitch opened pull request #116625 → sway: Added alacritty to extraPackages defaultText → https://github.com/NixOS/nixpkgs/pull/116625
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116626 → janet: 1.15.3 -> 1.15.4 → https://github.com/NixOS/nixpkgs/pull/116626
tv has quit [Ping timeout: 245 seconds]
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
cyraxjoe has joined #nixos
<contrun> How do I get a list ol all systems like "x86_64-linux"
tv has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #116603 → coursier: 2.0.13 -> 2.0.14 → https://github.com/NixOS/nixpkgs/pull/116603
orivej has joined #nixos
dev_mohe has joined #nixos
nschoe has joined #nixos
MidAutumnHotaru1 has joined #nixos
dupon1 has quit [Quit: The Lounge - https://thelounge.chat]
<etu> > lib.platforms.all
<{^_^}> [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7a-linux" "armv7l-linux" "mipsel-linux" "i686-cygwin" "i686-freebsd" "i686-linux" "i686-netbsd" "i686-openbsd" "x86_64-cygwin" "x86_64-freebsd" "...
dupon1 has joined #nixos
MidAutumnHotaru has quit [Ping timeout: 260 seconds]
bb_ has joined #nixos
<bb_> So when I install a package with: nix-env -iA nixos.pwsafe
<bb_> to which config file it is added?
<bb_> or how does this work?
<jumper149> bb_: I guess you are kinda new to nix?
<bb_> jumper149, yes
<jumper149> You will have symlinks in ~/.nix-profile
<jumper149> The actual files are placed under /nix/store/...
<bb_> ah, so it does not use a configuration like configuration mix or home.nix or shell.nix
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116627 → ktlint: 0.40.0 -> 0.41.0 → https://github.com/NixOS/nixpkgs/pull/116627
<bb_> it's not installing it in a "reproducible way"
<bb_> does not seem very nix like
<jumper149> bb_: There are different approaches to declarative userspace packages.
<etu> bb_: That kind of interactive install just adds it to the users profile, but yeah, it doesn't add it to any config automatically
<bb_> I understand
* etu tends to stay away from such installs
<jumper149> There is a wiki page, one sec
<bb_> I have read somewhere
<bb_> that I can start a temporary shell and install there
<srk> ,imperative
<{^_^}> nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.
<bb_> for testing puposes
<bb_> but I forgot how to do that
<jumper149> bb_: nix-shell -p firefox
<bb_> makes sense, thank you
<{^_^}> [nixpkgs] @primeos pushed to master « chromiumBeta,chromiumDev: Mark as broken »: https://git.io/JmY31
* devhell agrees with etu
Chiliparrot has joined #nixos
<jumper149> bb_: I can't seem to find the wiki page I was talking about. But the 2 main ideas are either you use home-manager, or you set up an overlay with your packages.
<bb_> I use home-manager and shell.nix in my projects folders
<etu> Or use a shell.nix to declare dependencies :)
<bb_> but what do you mean by "set up an overlay"?
adisbladi is now known as adisbladis
<etu> bb_: Look up direnv and add 'use nix' to ~.envrc~ along side with your shell.nix, then direnv can load that shell.nix automatically for you
<jumper149> For projects you should definetely stick to shell.nix and not clutter your home environment
dev_mohe has quit [Quit: dev_mohe]
dev_mohe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116628 → lab: 0.20.0 -> 0.21.0 → https://github.com/NixOS/nixpkgs/pull/116628
zebrag has joined #nixos
everythingTaken has quit [Ping timeout: 268 seconds]
sangoma has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116630 → lean: 3.27.0 -> 3.28.0 → https://github.com/NixOS/nixpkgs/pull/116630
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ErinvanderVeen opened pull request #116632 → clean: change to bsd2 license → https://github.com/NixOS/nixpkgs/pull/116632
nore has quit [Ping timeout: 245 seconds]
nore has joined #nixos
teto has quit [Ping timeout: 244 seconds]
jonringer has joined #nixos
Jd007 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sudo: 1.9.6 -> 1.9.6p1 »: https://git.io/JmYQO
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #116524 → sudo: 1.9.6 -> 1.9.6p1 → https://github.com/NixOS/nixpkgs/pull/116524
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #116526 → oh-my-zsh: 2021-03-13 → 2021-03-15 → https://github.com/NixOS/nixpkgs/pull/116526
<{^_^}> [nixpkgs] @FRidh merged pull request #116609 → teams: reorder arguments produced by wrapper → https://github.com/NixOS/nixpkgs/pull/116609
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #116511 → python3Packages.gradient-utils: fix build, python3Packages.gradient: allow later websocket-client releases → https://github.com/NixOS/nixpkgs/pull/116511
<{^_^}> [nixpkgs] @prusnak merged pull request #116598 → python3Packages.hwi: 1.2.1 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/116598
ml| has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #116525 → awscli: 1.19.27 -> 1.19.28 → https://github.com/NixOS/nixpkgs/pull/116525
werner291 has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/6557a3c1fe8 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
bb__ has joined #nixos
bb_ has quit [Read error: Connection reset by peer]
<matthewcroughan_> supersandro2000: https://github.com/NixOS/nixpkgs/pull/116578
<{^_^}> #116578 (by MatthewCroughan, 10 hours ago, open): nixos/node-red: add module
<matthewcroughan_> any chance of reviewing this? :D
bb__ has quit [Client Quit]
_bin has quit [Ping timeout: 265 seconds]
ml| has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116633 → livepeer: 0.5.14 -> 0.5.15 → https://github.com/NixOS/nixpkgs/pull/116633
_bin has joined #nixos
nek0 has quit [Quit: The Lounge - https://thelounge.chat]
gustavderdrache has joined #nixos
hlz has quit [Quit: WeeChat 3.1]
hlz has joined #nixos
<lunik1> did the error format reported by nix-instantiate change recently?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116634 → mark: 5.2.2 -> 5.4 → https://github.com/NixOS/nixpkgs/pull/116634
eeva has joined #nixos
sangoma has joined #nixos
dev_mohe has quit [Ping timeout: 260 seconds]
zakame has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #116635 → apostrophe: 2.3 -> 2.4 → https://github.com/NixOS/nixpkgs/pull/116635
MidAutumnHotaru1 has quit [Quit: Quit 啾]
MidAutumnHotaru1 has joined #nixos
rj_ has joined #nixos
MidAutumnHotaru1 has quit [Client Quit]
MidAutumnHotaru1 has joined #nixos
<oreoking[m]> Can someone tell me whats a flake
<oreoking[m]> I am new to nixos
<{^_^}> [nixpkgs] @ari-becker opened pull request #116636 → vimPlugins.vim-concourse: init at 2016-11-21 → https://github.com/NixOS/nixpkgs/pull/116636
orivej has joined #nixos
<Aleksejs_Home> hey, does libinput restart during switch?
s1341_ has joined #nixos
<sterni> oreoking[m]: you don't really need to worry about flakes just yet, it' an experimental feature at the moment and you don't need to necessarily use them for anything currently
Boomerang has joined #nixos
proofofkeags has joined #nixos
fuzzypixelz[m] has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116637 → minio: 2021-03-12T00-00-47Z -> 2021-03-17T02-33-02Z → https://github.com/NixOS/nixpkgs/pull/116637
hlz has quit [Quit: WeeChat 3.1]
hlz has joined #nixos
<evanjs> Ah, we don't have nixos support for virt-v2v somewhere, do we?
<evanjs> Came accross this https://bugzilla.redhat.com/show_bug.cgi?id=1446150#c7 when I was trying to load an ova into libvirtd
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116638 → minizinc: 2.5.3 -> 2.5.4 → https://github.com/NixOS/nixpkgs/pull/116638
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/Jm34e
<{^_^}> [cabal2nix] @peti merged pull request #485 → Add support for the aarch64-linux platform → https://github.com/NixOS/cabal2nix/pull/485
oxalica has joined #nixos
<evanjs> *actually reads title*
<evanjs> oh lol it's for VMWare in particular
<{^_^}> [cabal2nix] @peti pushed to master « Require the latest version of distribution-nixpkgs. »: https://git.io/Jm3Bw
<{^_^}> [cabal2nix] @peti merged pull request #483 → Update hackage2nix instructions to reflect cabal v2 usage → https://github.com/NixOS/cabal2nix/pull/483
<{^_^}> [cabal2nix] @peti merged pull request #484 → feat(FromCabal.License): don't generate unclear attributes for gpl licenses → https://github.com/NixOS/cabal2nix/pull/484
<{^_^}> [cabal2nix] @peti pushed to master « Bump to version 2.17.0 for the upcoming release. »: https://git.io/Jm3EU
dev_mohe has joined #nixos
nek0 has joined #nixos
erasmas has joined #nixos
dbmikus has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<numkem> I have build nodes for hydra running nixFlakes as their nix and they are now getting the error basic_string::_M_create when hydra is trying to send them a build to do
dbmikus has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #116639 → nixos/privacyidea: use envsubst to avoid leaking secrets to the store → https://github.com/NixOS/nixpkgs/pull/116639
rng4 has joined #nixos
<rng4> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
werner291 has joined #nixos
teto has joined #nixos
dbmikus has joined #nixos
codygman` has joined #nixos
b42 has quit [Ping timeout: 264 seconds]
b42 has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116640 → nixos-shell: 0.2 -> 0.2.1 → https://github.com/NixOS/nixpkgs/pull/116640
fendor_ is now known as fendor
edomfjp[m] has quit [Quit: Idle for 30+ days]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oxalica has quit [Quit: oxalica]
dev_mohe has quit [Quit: dev_mohe]
<{^_^}> [nixpkgs] @Br1ght0ne merged pull request #116616 → frp: 0.35.1 -> 0.36.0 → https://github.com/NixOS/nixpkgs/pull/116616
orivej has quit [Ping timeout: 256 seconds]
rprosper- has quit [Quit: ZNC 1.7.5 - https://znc.in]
rprospero has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #116641 → [20.09] gstreamer: 1.16.2 -> 1.18.2 → https://github.com/NixOS/nixpkgs/pull/116641
mallox has quit [Quit: WeeChat 3.1]
<nschoe> Hey everyonem I've got a quick issue: I'm trying to boot on a nixOS installer just to resize my LVM partitions of my main NixOS installation. I've DLed and dd-ed the latest (non grpahical) ISO on a USB stick, but when I boot, it says "error occured on stage 1", I tried to simply "launch an interactive shell", but I don't have cryptsetup commands.
cole-h has joined #nixos
dupon1 has quit [Quit: The Lounge - https://thelounge.chat]
dupon1 has joined #nixos
ddellacosta has joined #nixos
ddellacosta has quit [Remote host closed the connection]
sangoma has quit [Ping timeout: 260 seconds]
<oreoking[m]> <sterni "oreoking: you don't really need "> i still want to know
<oreoking[m]> <sterni "oreoking: https://www.tweag.io/b"> THX
<oreoking[m]> i am enlightened
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #116642 → [20.09] libetpan: Fix CVE-2020-15953 → https://github.com/NixOS/nixpkgs/pull/116642
cfricke has quit [Quit: WeeChat 3.0.1]
<fuzzypixelz[m]> hello. I'm using `programs.vscode.extentions` in `home-manager` to ... manage vscode extentions. Except it doesn't seem to work with VSCode, only VSCodium for some reason. I want to do this because the MS C/C++ extensions throws a `no such file or directory) error when running `cpptools` (obviously the binary has linking errors) Any ideas? the `vscode.package` doesn't seem to have any requirements:
<fuzzypixelz[m]> * hello. I'm using `programs.vscode.extentions` in `home-manager` to ... manage vscode extentions. Except it doesn't seem to work with VSCode, only VSCodium for some reason. I want to do this because the MS C/C++ extensions throws a `no such file or directory` error when running `cpptools`(obviously the binary has linking errors) Any ideas? the`vscode.package` doesn't seem to have any requirements:
<nschoe> Hi again, any idea why my bootable USB (burned on with `dd`) gives me "error ocured in stage 1" ?
<fuzzypixelz[m]> it doesn't give any details?
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #116643 → [20.09] ndpi: 2.8 -> 3.4 → https://github.com/NixOS/nixpkgs/pull/116643
<fuzzypixelz[m]> nschoe: scroll through https://github.com/NixOS/nixpkgs/issues/6265 ?
<{^_^}> #6265 (by lethalman, 6 years ago, closed): Cannot boot live cd
<nschoe> fuzzypixelz[m]: thanks!
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4d797d37091 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4d797d37091 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<fuzzypixelz[m]> the most abvious thing was using bs=4m instead of bs=4M on macOS
<{^_^}> [nixpkgs] @lovesegfault merged pull request #116625 → nixos/sway: Parity between extraPackages defaultText and default → https://github.com/NixOS/nixpkgs/pull/116625
oxalica has joined #nixos
oxalica has quit [Remote host closed the connection]
<nschoe> fuzzypixelz[m]: hum, there's this thing also where one has to label the usb dive?
<nschoe> drive8
<nschoe> drive**
dbmikus has joined #nixos
<fuzzypixelz[m]> yes, what's the label of yours?
<nschoe> I don't know. Never cared much about this :/
<nschoe> I don't even know how to label the drive.
<nschoe> Is this done with `dd` as well?
werner291 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit merged pull request #116634 → mark: 5.2.2 -> 5.4 → https://github.com/NixOS/nixpkgs/pull/116634
<fuzzypixelz[m]> try `sudo lsblk -o name,mountpoint,label,size,uuid` from the 2nd answer in https://unix.stackexchange.com/questions/14165/list-partition-labels-from-the-command-line
<nschoe> fuzzypixelz[m]: thanks :) So apaprently the label is "nixos-minimal-20.09-x86_64"
<nschoe> And this seems to be confirmed when I launched thunar, I see this also as the name of the drive.
<nschoe> I've just tried tune2fs and e2label to change it, but I keep being hit with "bad superblock" or something :/
<fuzzypixelz[m]> what's the cmd you're running?
bvdw has quit [Remote host closed the connection]
bvdw has joined #nixos
bvdw has quit [Client Quit]
Boomerang has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Pamplemousse closed pull request #116641 → [20.09] gstreamer: 1.16.2 -> 1.18.2 → https://github.com/NixOS/nixpkgs/pull/116641
<nschoe> fuzzypixelz[m]: I've tried `tune2fs -L NIXOS_ISO /dev/sdb`, `e2label /dev/sdb NIXOS_ISO` and `mlabel -i /dev/sdb:NIXOS_ISO` as per https://askubuntu.com/questions/194510/how-to-edit-label-of-usb-drive
<nschoe> But none of them works.
<nschoe> I've just launched Gparted, and right click doesn't even show "label" either ^^
corpix has quit [Remote host closed the connection]
corpix has joined #nixos
<fuzzypixelz[m]> by this point, I'd suggest changing the usb stick and/or dd (see https://www.balena.io/etcher/ for example)
<nschoe> Yeah.... it's insane xD. I've been at it for far too long, I just want to boot the installer xD.
<nschoe> I'll try etcher and then set myself trying to find another USB stick layign around :S
<nschoe> Thanks for hte help fuzzypixelz[m]
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JmGH0
<{^_^}> [nixpkgs] @mweinelt merged pull request #116375 → python38Packages.influxdb-client: 1.14.0 -> 1.15.0 → https://github.com/NixOS/nixpkgs/pull/116375
<nschoe> But is it new that the installer needs the USB to be labelled this way? I don't remember is to tbe the case when I last installed nixos, about a year ao
sangoma has joined #nixos
dmoerner has joined #nixos
<fuzzypixelz[m]> good luck, I know nothing about how exactly these issues come up. I've had the same usb installer on the same machine bootup or not purely on a whim
<ToxicFrog> I last installed it last week and it definitely didn't need any "labeling"
matsaman has joined #nixos
<ToxicFrog> Download iso, dd to usb drive, boot from USB and away it goes.
<fuzzypixelz[m]> <nschoe "But is it new that the installer"> no I don't think so either, I'm sure my last installer had "GNOME" in it
matsaman has quit [Quit: leaving]
<ToxicFrog> That said, all the systems involved were fairly straightforward amd64 arch UEFI boxes made within the last five years
<nschoe> ToxicFrog: that's literally what I've just done. It boots all right: I see the 3 or 4 menu entries, I chose the default "installer". But then it immediately fails at stage 1 o_O
<nschoe> I'm trying Etcher and an old iso file I've just found laying in a folder. Will see :)
<nschoe> Maybe it's my USB stick, dunnow.
<fuzzypixelz[m]> wait I never asked, what the full error?
<ToxicFrog> Oh, so it fails at nixos stage1, not grub stage1
<nschoe> ToxicFrog: indeed.
<nschoe> Oh so now it works: either it's Etcher that did the job or the fact that it was an old ISO.
<nschoe> Dunnow :/
Qwerky has quit [Remote host closed the connection]
avaq has quit [Ping timeout: 260 seconds]
<fuzzypixelz[m]> it's black magic
Qwerky has joined #nixos
mallox has joined #nixos
<jumper149> I want to put this into nixpkgs: https://github.com/jumper149/blucontrol/blob/master/default.nix
dmoerner has left #nixos ["WeeChat 2.8"]
<jumper149> Should I call it from nixpkgs or should I copy-paste the build instructions?
mallox has quit [Client Quit]
exarkun has quit [Excess Flood]
exarkun has joined #nixos
yjftsjthsd has quit [Quit: Ping timeout (120 seconds)]
yjftsjthsd has joined #nixos
rprospero has quit [Quit: ZNC 1.7.5 - https://znc.in]
rprospero has joined #nixos
devhell has quit [Quit: leaving]
Marcelo2324 has joined #nixos
<Marcelo2324> Hi
<Marcelo2324> I'm using nix package manager for a project I was told to use, and also given a "default.nix" file https://bpa.st/2ZPA
<{^_^}> [nixpkgs] @jluttine opened pull request #116644 → nixos/update-users-groups: /etc/shadow read permission to group shadow → https://github.com/NixOS/nixpkgs/pull/116644
<Marcelo2324> error: undefined variable 'csv' at /home/linuxlite/Desktop/Website-Logo-Crawler/default.nix:13:17
<Marcelo2324> Why am I getting that meesage
<Marcelo2324> message*?
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
aei has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jackgerrits opened pull request #116645 → vowpal-wabbit: init at 8.9.2 → https://github.com/NixOS/nixpkgs/pull/116645
<simpson> Marcelo2324: I don't see `csv`, `json`, or `sys` either. Those are typically part of the Python stdlib; they wouldn't be needed as extra libraries. You should confirm with the person who sent it to you that it works for them.
plp_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
plp has joined #nixos
ahmedelgabri has quit [Ping timeout: 265 seconds]
<Marcelo2324> So should I add those libraries?
<Marcelo2324> How do I know if Nix is working?
<{^_^}> [nixpkgs] @ggreif opened pull request #116646 → llvmPackages_12: start with rc3 (mostly copy 11.1.0) → https://github.com/NixOS/nixpkgs/pull/116646
<Marcelo2324> "nix-shell -p python3" is not working for me, which is weird
<simpson> How is it not working?
Qwerky has quit [Remote host closed the connection]
<Marcelo2324> shouldn't I get a python console?
<Marcelo2324> I mean, like a "switch" from linux terminal to python
Qwerky has joined #nixos
<simpson> No, you'll get a bash shell with `python3` available as a command.
<Marcelo2324> tbh, I know nothing about nix lol
<Marcelo2324> But I think it's not important for this project
zupo has joined #nixos
<simpson> https://bpa.st/JNZA I tried removing the broken packages.
<simpson> Sure. Your interviewer should be the one explaining all of this to you.
<Marcelo2324> I don't wanna spend too much time on it tbh, just wanna make sure the other person can run the project
<Marcelo2324> thx a lot :)
<Marcelo2324> how do you know it's for an interview? lol
<simpson> Because you left the string "interview" in the file. If you're administering the interview, then I'd hope that you know the tools you're asking folks to use.
<Marcelo2324> Idk if he knows either
<Marcelo2324> It's a CEO who's interviewing me
<Marcelo2324> CEO + HR at the same time lol
<Marcelo2324> I really appreciated your help :)
<simpson> No worries. Good luck.
<Marcelo2324> Sorry, last thing
fuzzypixelz has joined #nixos
<Marcelo2324> I'm getting this again
<Marcelo2324> rror: undefined variable 'BeautifulSoup4'
<Marcelo2324> requests is working ok
Qwerky has quit [Ping timeout: 260 seconds]
<simpson> Nix is case-sensitive.
<simpson> > :p python3.pkgs.beautifulsoup4.meta
<{^_^}> { available = true; broken = false; description = "HTML and XML parser"; homepage = "http://crummy.com/software/BeautifulSoup/bs4/"; insecure = false; isBuildPythonPackage = [ "aarch64-linux" "armv5te...
dev_mohe has joined #nixos
<Marcelo2324> thx
<{^_^}> [nixpkgs] @rmcgibbo reopened pull request #116641 → [20.09] gstreamer: 1.16.2 -> 1.18.2 → https://github.com/NixOS/nixpkgs/pull/116641
<fuzzypixelz> hello. The C/C++ extension in VSCode throws a `no such file or directory` error for the `cpptools` executable. Any ideas?
teto has quit [Ping timeout: 256 seconds]
thc202 has quit [Ping timeout: 240 seconds]
<simpson> fuzzypixelz: I don't use VSCode, but reading https://matthewrhone.dev/nixos-vscode I think that you can use our packaged cpptools.
<simpson> > :p pkgs.vscode-extensions.ms-vscode.cpptools.meta
<{^_^}> { available = true; broken = false; insecure = false; license = { free = false; fullName = "Unfree"; shortName = "unfree"; }; maintainers = [ { email = "jraygauthier@gmail.com"; github = "jraygauthier...
thc202 has joined #nixos
<fuzzypixelz[m]> simpson: sadly VSCode doesn't seem to detect it?
figsoda[m] has joined #nixos
<fuzzypixelz> whether or not I have the extension from the marketplace, it's just no detected
<{^_^}> [nixpkgs] @oxalica opened pull request #116647 → sddm: source /etc/profile on wayland with zsh default shell → https://github.com/NixOS/nixpkgs/pull/116647
<{^_^}> [nixpkgs] @oxalica opened pull request #116648 → birdtray: fix crash on wayland → https://github.com/NixOS/nixpkgs/pull/116648
ptrcmd_ is now known as ptrcmd
berberman has quit [Ping timeout: 244 seconds]
zupo_ has joined #nixos
teto has joined #nixos
ahmedelgabri has joined #nixos
<__monty__> Hmm, when I build llvmPackages_7.clang-unwrapped I see it build cmake-root. I assume it's because cmake is a buildInput in the clang expression. However when I try to build cmake it tries to build a lot more than just cmake-root.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116650 → rpi-imager: 1.5 -> 1.6 → https://github.com/NixOS/nixpkgs/pull/116650
<__monty__> I think it's somehow tied to the stdenv but I don't understand how.
<__monty__> Anyone have wisdom to share?
zupo has quit [Ping timeout: 260 seconds]
<yaymukund> what's a rule of thumb for putting stuff in environment.sessionVariables versus variables?
bvdw has joined #nixos
n-osborne has joined #nixos
ahmedelgabri has quit [Ping timeout: 244 seconds]
n-osborne has quit [Remote host closed the connection]
domogled has joined #nixos
teto has quit [Ping timeout: 264 seconds]
meh` has quit [Ping timeout: 256 seconds]
codygman` has quit [Remote host closed the connection]
rajivr has quit [Quit: Connection closed for inactivity]
codygman__ has joined #nixos
Dr8128 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jumper149 opened pull request #116651 → blucontrol-wrapper: init → https://github.com/NixOS/nixpkgs/pull/116651
ahmedelgabri has joined #nixos
wnklmnn has quit [Quit: Leaving]
Marcelo2324 has quit [Ping timeout: 240 seconds]
teto has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #116599 → cargo-expand: 1.0.5 -> 1.0.6 → https://github.com/NixOS/nixpkgs/pull/116599
<yaymukund> if I add variables to sessionVariables and variables and they are not accessible from the environment in my terminal emulator, does that mean I've set it up incorrectly?
<yaymukund> (e.g. environment.variables.FOO = "bar")
fuzzypixelz has quit [Quit: Connection closed]
ahmedelgabri has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #116451 → grafana-loki: don't build test executables → https://github.com/NixOS/nixpkgs/pull/116451
<jumper149> yaymukund: I'm not sure, but you might have to start a new session for environment variables.
endformationage has joined #nixos
<evanjs> What's the best way to "patch" nixpkgs/grab an expression before it's merged? Just grab nixpkgs from the PR's source branch, import and use that package set?
<evanjs> Trying to use #112886 right now and trying the approach I mentioned
<{^_^}> https://github.com/NixOS/nixpkgs/pull/112886 (by alyssais, 4 weeks ago, open): qemu: set localstatedir
<jumper149> evanjs: You could use an overlay
nicoo has quit [Ping timeout: 268 seconds]
<evanjs> So I initially tried throwing it in an overlay, but then I realized it's not a patch to qemu, but a patch to the nix expression.
emmanuel_erc has joined #nixos
<{^_^}> [nixpkgs] @kubek2k closed pull request #116299 → pango: fix when x11 is disabled → https://github.com/NixOS/nixpkgs/pull/116299
Dr8128 has joined #nixos
<jumper149> What you can do is either to just copy that default.nix and use it in your overlay or you could try to use pkgs.qemu.override or pkgs.qemu.overrideAttrs to just override what you want to change
<evanjs> jumper149: yeah I figured as much
<jumper149> So postPatch and configureFlags. I think you need overrideAttrs for that
<{^_^}> [nixpkgs] @Ma27 merged pull request #116397 → cicero-tui: 0.1.4 -> 0.2.0 → https://github.com/NixOS/nixpkgs/pull/116397
<yaymukund> jumper149: that is exactly what the problem was. starting a new session did it ^^
<evanjs> Was trying to minimize what I had to copy but I guess I'll have to go with that lol
<jumper149> evanjs: If anyone knows a better way I would like to know to :D
<{^_^}> [nixpkgs] @Ma27 merged pull request #116449 → element: 1.7.22 -> 1.7.23 → https://github.com/NixOS/nixpkgs/pull/116449
<jumper149> But I'm pretty sure that's as little boilerplaty as it gets
<evanjs> Well that answers my question regardless; wanted to make sure I'm not forgetting anything simple
nschoe has joined #nixos
emmanuel_erc has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
fuzzypixelz has joined #nixos
<fuzzypixelz> anyone tried to extend a gtk theme to gdm under nixos?
emmanuel_erc has joined #nixos
ris has joined #nixos
sangoma has quit [Ping timeout: 265 seconds]
davidv7 has quit [Remote host closed the connection]
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @TredwellGit to release-20.09 « element: 1.7.22 -> 1.7.23 »: https://git.io/Jmn2G
davidv7 has joined #nixos
davidv7 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zseri reopened pull request #116570 → gphotos-sync: init at 2.14.2 → https://github.com/NixOS/nixpkgs/pull/116570
davidv7 has joined #nixos
davidv7 has quit [Remote host closed the connection]
ahmedelgabri has quit [Ping timeout: 260 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teto has quit [Ping timeout: 256 seconds]
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @xvapx opened pull request #116653 → tribler: Mark as broken → https://github.com/NixOS/nixpkgs/pull/116653
nicoo has joined #nixos
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
<evanjs> fuzzypixelz: I am pretty sure my GDM is dark right now... lemme check lol
dupon19 has joined #nixos
<evanjs> ahhh gdm is grey by default so it just happens to work with breeze-dark on my system haha
<evanjs> It looks like other DMs have theme options... I wonder how much work it would be to add such to gdm, or if there's an easy way to hook into that to begin with
gthm_ has joined #nixos
<{^_^}> [nixpkgs] @CohenCyril opened pull request #116654 → coqPackages.coq-elpi: 1.9.3 -> 1.9.4 → https://github.com/NixOS/nixpkgs/pull/116654
SomeoneS1 has joined #nixos
lor|d has joined #nixos
<evanjs> fuzzypixelz: lazy google brought me here -- https://discourse.nixos.org/t/theming-gdm-greeter/5106/11
jumper141 has joined #nixos
ahmedelgabri has joined #nixos
jumper141 has quit [Client Quit]
dupon1 has quit [*.net *.split]
eeva has quit [*.net *.split]
Jd007 has quit [*.net *.split]
lord| has quit [*.net *.split]
thehottestpotato has quit [*.net *.split]
jumper149 has quit [*.net *.split]
gthm has quit [*.net *.split]
SomeoneSerge has quit [*.net *.split]
dupon19 is now known as dupon1
Izorkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
ahmedelgabri has quit [Ping timeout: 265 seconds]
Izorkin has joined #nixos
lsix has quit [Ping timeout: 264 seconds]
<fuzzypixelz> evanjs: thank you, but I read through it and it doesn't seem to get anywhere (nowhere I can follow anyway :(
sangoma has joined #nixos
<evanjs> fuzzypixelz: figured as much. I sort of forgot I didn't theme it as gdm seems to just match my system theme to begin with
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116655 → teler: 1.1.0 -> 1.1.1 → https://github.com/NixOS/nixpkgs/pull/116655
<fuzzypixelz> evanjs: it just does it by itself? :o Are you on nixos?
<fuzzypixelz> you must be doing something :0
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Dr8128 has quit [Ping timeout: 265 seconds]
codic12 has joined #nixos
codic12 has quit [Client Quit]
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116542 → rdkafka: python2 -> python3 → https://github.com/NixOS/nixpkgs/pull/116542
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116532 → vimPlugins: fix update script, fix embark-vim branch, fix vim-clap cargoSha256, add nvim-nonicons & git-blame-nvim → https://github.com/NixOS/nixpkgs/pull/116532
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116656 → tfsec: 0.39.6 -> 0.39.8 → https://github.com/NixOS/nixpkgs/pull/116656
<{^_^}> [nixpkgs] @dotlambda opened pull request #116657 → pythonPackages.python-dateutil: modernize expression → https://github.com/NixOS/nixpkgs/pull/116657
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116658 → thc-hydra: 9.1 -> 9.2 → https://github.com/NixOS/nixpkgs/pull/116658
seku has joined #nixos
ManiacOfMadness has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116514 → plexamp: 3.4.3 -> 3.4.4 → https://github.com/NixOS/nixpkgs/pull/116514
Chiliparrot has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116659 → tickrs: 0.14.2 -> 0.14.3 → https://github.com/NixOS/nixpkgs/pull/116659
jackgerrits has joined #nixos
growpotkin has joined #nixos
<omasanori[m]> Would anyone look into #101510?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/101510 (by omasanori, 20 weeks ago, open): libressl_3_2: init at 3.2.5, libressl_3_1: 3.1.4 -> 3.1.5
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/94a0cb3b8d8 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<supersandro2000> Isn't libressl dead after void and gentoo dropped it?
<simpson> Like my mother always used to say, "If all the other distros jumped off a cliff, would you jump too?"
ambro718 has joined #nixos
<supersandro2000> simpson: "If all the other distros threw their children off the cliff, would you do it, too?"
<supersandro2000> well I have the tab open
<supersandro2000> together with probably 50 other children so it could take a bit
vidbina has quit [Ping timeout: 256 seconds]
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116660 → tiledb: 2.2.4 -> 2.2.5 → https://github.com/NixOS/nixpkgs/pull/116660
Chiliparrot has joined #nixos
<andoriyu> I think it was dead before that. It wasn't a drop-in replacement in any sense. It was good around when it was first released. Ever since then it was lagging behind OpenSSL in every way. Today it offers zero benefit over OpenSSL with bigger cost.
<simpson> supersandro2000: Merely pointing out that copying other distros is not helpful. Instead, we should copy their *reasons* for dropping certain packages.
<ambro718> Hi. Did anyone try nvidia driver with kernel 5.10? I get complete breakage, the nvidia kernel module immediately complains that the card is not responding to commands. Works with no problems with kernel 5.4.
fuzzypixelz has quit [Ping timeout: 264 seconds]
<srhb> ambro718: Think I skipped 5.10 (so maybe this is no help) but 5.11 works here for whatever nvidia card is in my laptop
<andoriyu> Maybe I don't understand something about linux or nixos, but: I'm tracking unstable nix channel and running linuxPackages_5_11. `uname -a` shows that I'm running 5.11.0, while master is 5.11.6? Why?
<srhb> andoriyu: What does nixos-version say?
<andoriyu> `21.05pre275232.29b0d4d0b60 (Okapi) `
<andoriyu> (had to run use that because of intel xe)
<ambro718> Ah, 5.11 is not in nixos-20.09 though.
ManiacOfMadness has quit [Ping timeout: 260 seconds]
<srhb> andoriyu: That is indeed 5.11.5. ls -l /run/current-system/kernel /run/booted-system/kernel ?
<ambro718> (I updated the nvidia to the latest version manuallt otherwise it doesnt compile with 5.10)
<srhb> ambro718: I don't know if it makes a difference anyway on your system, just a data point :)
<ambro718> Yeah thanks.
<andoriyu> srhb first one goes to 5.11, second goes to 5.11.2
<{^_^}> [nixpkgs] @dotlambda merged pull request #116597 → brave: 1.21.76 -> 1.21.77 → https://github.com/NixOS/nixpkgs/pull/116597
<ambro718> I only do LTS kernels :)
<srhb> andoriyu: Oh hang on, yes, I did the git command wrong. The revision 29b0d4d0 is indeed 5.11.2
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116519 → ginkgo: 1.15.1 -> 1.15.2 → https://github.com/NixOS/nixpkgs/pull/116519
<andoriyu> srhb even on unstable channel with ` boot.kernelPackages = pkgs.linuxPackages_5_11; ` ?
<srhb> andoriyu: So you've booted, 5.11, your system is on 5.11.2 (but not booted into)
sss2 has joined #nixos
<srhb> andoriyu: Well, channel isn't sufficient to say what exact revision you're on -- that depends when you updated the channel itself.
<andoriyu> srhb i've updated it this morning
drakonis has quit [Quit: ZNC 1.8.2 - https://znc.in]
<andoriyu> oh maybe I didn't
<srhb> andoriyu: I don't think you have, maybe this is channel confusion? Might you have run nix-channel --update as your own user?
<andoriyu> I think I did as my user like you said
emmanuel_erc has quit [Read error: Connection reset by peer]
<andoriyu> oh well
<andoriyu> thanks
<srhb> Sure thing.
jumper149 has joined #nixos
emmanuel_erc has joined #nixos
<srhb> (Getting rid of user channels might be helpful to avoid that pitfall)
<andoriyu> idk why I'm updating. Still waiting on 5.12 because that's where my wifi supposed to start working.
<srhb> Heh :P
xelxebar has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
drakonis has joined #nixos
<srhb> ambro718: I hadn't even realized 5.10 got the LTS label. That saddens me, since a bunch of my stuff only works on 5.11. Here's hoping for backports I guess.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116593 → concurrencykit: remove in favor of duplicate libck → https://github.com/NixOS/nixpkgs/pull/116593
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116602 → vimPlugins.vim-flog: init at 2021-03-16 → https://github.com/NixOS/nixpkgs/pull/116602
zupo has quit [Ping timeout: 256 seconds]
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116557 → salt: update meta → https://github.com/NixOS/nixpkgs/pull/116557
fuzzypixelz has joined #nixos
thonkpod_ is now known as thonkpod
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
<ambro718> This line is supposed to be something like: if (!priv->has_hw_rfkill_switch || read_ec_data(...))
<ambro718> otherwise the bug causes my wifi to be RFkill-blocked (Lenovo Y720)
<ambro718> Any idea how to get the fix upstream?
<ambro718> This issue can be found by googling for something like "linux lenovo Y720 wifi not working" and seeing suggestions to blacklist ideapad-laptop module.
missionformilk has joined #nixos
missionformilk has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116661 → unciv: 3.13.7-patch2 -> 3.13.8 → https://github.com/NixOS/nixpkgs/pull/116661
<{^_^}> [nix] @edolstra merged pull request #4648 → Remove unimplemented hashAlgoOpt → https://github.com/NixOS/nix/pull/4648
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #116517 → freecad: unstable-2020-12-08 -> 0.19.1 → https://github.com/NixOS/nixpkgs/pull/116517
<cole-h> ambro718: Probably send a mail to one of the kernel mailing lists?
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #116662 → Fix typos in xa and dxa → https://github.com/NixOS/nixpkgs/pull/116662
fuzzypixelz has left #nixos [#nixos]
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
marusich has quit [Ping timeout: 256 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Chiliparrot has joined #nixos
lsix has quit [Ping timeout: 264 seconds]
aei has joined #nixos
fuzzypixelz has joined #nixos
<fuzzypixelz> writing `inputs.pkgs.url = "nixpkgs"` means that pkgs follows master right?
<fuzzypixelz> in a flake.nix
<{^_^}> [nixpkgs] @wamserma closed pull request #116611 → xa: fix typo in derivation → https://github.com/NixOS/nixpkgs/pull/116611
crenfrow has joined #nixos
<manveru[m]> fuzzypixelz: that depends on what is in your registry
<manveru[m]> fuzzypixelz: `github:NixOS/nixpkgs` would be master for sure :)
<fuzzypixelz> manveru[m]: alrighty, I don't think I've modifed my registry but I was asking about this https://github.com/divnix/devos/blob/core/flake.nix#L7
<fuzzypixelz> seemed weird to me that they named it `override`
Baughn has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #115994 → tests.cuda.cuda-{,library-}sample_*: Init at supported CUDA toolkit versions → https://github.com/NixOS/nixpkgs/pull/115994
<manveru[m]> that seems like a good name
<manveru[m]> i guess it's meant for use with `nix build --override-input`
<fuzzypixelz> really? what's the rationale? `override.zoom-us` looks a bit out of place to me haha
<fuzzypixelz> oh
<manveru[m]> well, can't be sure without more context, was just the first thing that i thought of :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116550 → python3Packages.msldap: 0.3.27 -> 0.3.28 → https://github.com/NixOS/nixpkgs/pull/116550
<manveru[m]> looks like i was kinda right :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116663 → wasabiwallet: 1.1.12.4 -> 1.1.12.5 → https://github.com/NixOS/nixpkgs/pull/116663
<fuzzypixelz> manveru[m]: I see. I want to run a nixos-unstable system so the terminology doesn't really fit me haha
ManiacOfMadness has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #116664 → pythonPackages.pillow: disable failing test on python2 → https://github.com/NixOS/nixpkgs/pull/116664
<bougyman> what is the [m], manveru[m] ?
<manveru[m]> matrix
<bougyman> Ah.
ahmedelgabri has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zaeph has quit [Quit: zaeph]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116605 → renoise: fix installation → https://github.com/NixOS/nixpkgs/pull/116605
zaeph has joined #nixos
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #116665 → [20.09] go_1_16: backport to release-20.09 → https://github.com/NixOS/nixpkgs/pull/116665
ahmedelgabri has quit [Ping timeout: 264 seconds]
<{^_^}> [nixos-homepage] @garbas pushed to update-nixpkgs « update nixpkgs flake input »: https://git.io/Jmc1G
<{^_^}> [nixpkgs] @kubek2k closed pull request #116301 → imagemagick: adding ability to disable X11 support → https://github.com/NixOS/nixpkgs/pull/116301
Dr8128 has joined #nixos
<aanderse> talyz: ping about `discourse`, if you're around
griff_ has joined #nixos
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #116666 → cudatensor: Init at 1.2.2 → https://github.com/NixOS/nixpkgs/pull/116666
<q3k[m]> thoughtpolice: did you attempt to package bluespec's bdw yet? i'm giving it a shot and i'm running into some incrtcl/tcl issues, wondering if i could pick your brain on this
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JmcyY
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
<jmercouris> how do you guys make your shell scripts visible in konsole? I can't use .profile to append to my path
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jmcyy
<jmercouris> my path is just "/run/wrappers/bin:/home/jmercouris/.nix-profile/bin:/etc/profiles/per-user/jmercouris/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"
<{^_^}> [nixpkgs] @peti pushed 840 commits to haskell-updates: https://git.io/Jmcyx
<jmercouris> must I do something like this? https://nixos.wiki/wiki/Nix_Cookbook
<{^_^}> [nixos-homepage] @garbas merged pull request #684 → styling: add styling for governance-description → https://github.com/NixOS/nixos-homepage/pull/684
sangoma has quit [Quit: WeeChat 3.1]
ManiacOfMadness has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
<{^_^}> [nixos-homepage] @garbas merged pull request #685 → community/teams/nixos-release: fix failure in rendering → https://github.com/NixOS/nixos-homepage/pull/685
Lord_of_Life has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 264 seconds]
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
fuzzypixelz has quit [Quit: Connection closed]
evils has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
jb55 has quit [Remote host closed the connection]
emmanuel_erc has quit [Read error: Connection reset by peer]
<srhb> jmercouris: I'd recommend it, but you can also just add some path to your PATH declaratively (if you're on NixOS)
jb55 has joined #nixos
emmanuel_erc has joined #nixos
<{^_^}> [nixpkgs] @bobrik opened pull request #116669 → pythonPackages.lxml: fix build on darwin → https://github.com/NixOS/nixpkgs/pull/116669
turlando has quit [Ping timeout: 245 seconds]
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/Jmcba
bakerboy has joined #nixos
fuiltilt has joined #nixos
<matthewcroughan_> clever: How would you symlink to rename binaries in a derivation?
orivej has joined #nixos
<matthewcroughan_> installPhase
<matthewcroughan_> does anyone know if there's a way to get access to function definitions in the nix cli? E.g nix edit installPhase to see how installPhase works? I'm getting tired of using my web browser :D
simba1 has quit [Ping timeout: 265 seconds]
lsix has joined #nixos
<clever> [clever@amd-nixos:~]$ find $(nix-instantiate --find-file nixpkgs)/ -name setup.sh
<clever> /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/stdenv/generic/setup.sh
<clever> matthewcroughan_: this file has all of the default phases
<{^_^}> [nixpkgs] @electrified opened pull request #116671 → sjasmplus: init at 1.18.2 → https://github.com/NixOS/nixpkgs/pull/116671
emmanuel_erc has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @garbas opened pull request #686 → WIP: Update nixpkgs flake input → https://github.com/NixOS/nixos-homepage/pull/686
emmanuel_erc has joined #nixos
extrowerk has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<extrowerk> Hi, i am with the HaikuPorts team here, and just built nix on Haiku. So far success. But i don't know anything at all about nix, so i tried to follow the user guide, and met with some problems. Basically nix tries to write files into /nix/ folderstructure. But unlike unixes / on Haiku is not the root, it is a virtual folder, where every other drive gets mounted. So it is not allowed to create files here, only folders. How can i tel to
<extrowerk> nix to use a different path?
<tpw_rules> that's possible, but a bad idea because everything will have to be rebuilt for the new path.
<tpw_rules> on macos where writing to / is impossible too, the installer creates a separate logical volume to hold everything under /nix . can you not do something similar in haiku?
<extrowerk> i can create a diskimage and mount it as /nix
<extrowerk> does it needs to be big?
<lassulus> depends on how much stuff you want to install with nix
<tpw_rules> yes. everything nix lives under that
<tpw_rules> on macos it doesn't matter because the volume will expand as necessary and share space with the rest of the system
<tpw_rules> you don't have to pre-allocate a fixed amount of space
<extrowerk> i create a ramdisk for now to test the basic functionality.
<lassulus> if you want to boot something which depends on nix (like nixos) it should be persistent
<tpw_rules> you can use that compiler flag to change the directory too. but it can't be changed at runtime, and packages built for one directory couldn't be used in another. maybe the haiku community can come up with a common location that works on every machine, because i imagine haiku cannot run x86_64 linux binaries without modification anyway?
<{^_^}> [nixpkgs] @vbgl merged pull request #116654 → coqPackages.coq-elpi: 1.9.3 -> 1.9.4 → https://github.com/NixOS/nixpkgs/pull/116654
<extrowerk> no, Haiku can't run linux binaries.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116653 → tribler: Mark as broken → https://github.com/NixOS/nixpkgs/pull/116653
<extrowerk> we can live with something like /boot/home/config/non-packaged/nix
<{^_^}> [nixpkgs] @bobrik opened pull request #116672 → openblas: aarch64-darwin target support → https://github.com/NixOS/nixpkgs/pull/116672
<tpw_rules> as long as it can be the same on every haiku install, i think changing it is fine
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116648 → birdtray: fix crash on wayland → https://github.com/NixOS/nixpkgs/pull/116648
<matthewcroughan_> extrowerk: NIX_PATH envvar or --store
<matthewcroughan_> `./nix --store $HOME/.cache/nix/store run -f channel:nixos-20.09 magic-wormhole` for example
<matthewcroughan_> tpw_rules: what about what I just gave isn't going to work?
emmanuel_erc has quit [Read error: Connection reset by peer]
<tpw_rules> i don't know, i haven't tried it
emmanuel_erc has joined #nixos
pushqrdx has joined #nixos
<tpw_rules> but now that i think about it you'll have to modify nix with a haiku target too
<extrowerk> nix built with debug enabled here, all the object files are huge, also the generated nix binary is over 70Mb+. Can i somehow disable the debug mode? I don't see any obvious way.
ahmed_elgabri has joined #nixos
bakerboy has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116673 → gremlin-console: 3.4.8 -> 3.4.10 → https://github.com/NixOS/nixpkgs/pull/116673
<matthewcroughan_> tpw_rules: it's kind of amazing
ahmedelgabri has quit [Ping timeout: 244 seconds]
<matthewcroughan_> though I do know some things don't quite work for some reason.. maybe you could help with it, let me try and fetch firefox/chromium again for example.
<{^_^}> [nixpkgs] @CohenCyril opened pull request #116674 → meta-fetch: etc → https://github.com/NixOS/nixpkgs/pull/116674
pushqrdx has quit [Remote host closed the connection]
ATuin has joined #nixos
<matthewcroughan_> extrowerk:
rj_ has quit [Ping timeout: 268 seconds]
<matthewcroughan_> so can you try doing my cli with --store?
ambro718 has joined #nixos
lsix has quit [Ping timeout: 244 seconds]
pushqrdx has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116636 → vimPlugins.vim-concourse: init at 2016-11-21 → https://github.com/NixOS/nixpkgs/pull/116636
<extrowerk> matthewcroughan_: it does something: http://0x0.st/-N_O.png
teto has joined #nixos
<extrowerk> but then it fails with "error: preallocating file of 15691048 bytes: Operation not supported"
<extrowerk> This doesn't tells much. Does nix uses hardlinks?
emmanuel_erc has quit [Read error: Connection reset by peer]
lsix has joined #nixos
emmanuel_erc has joined #nixos
<etu> extrowerk: It can
<matthewcroughan_> yes
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116632 → clean: change to bsd2 license → https://github.com/NixOS/nixpkgs/pull/116632
<matthewcroughan_> which causes the noted issues in my link with zfs
<extrowerk> BFS doesn't support hardlinks.
<matthewcroughan_> extrowerk: That's whack.
pushqrdx has quit [Remote host closed the connection]
pushqrdx has joined #nixos
<{^_^}> [nixpkgs] @bachp closed pull request #116349 → plexRaw: 1.21.4.4079-1b7748a7b -> 1.22.0.4163-d8c4875dd → https://github.com/NixOS/nixpkgs/pull/116349
pushqrdx has quit [Remote host closed the connection]
ManiacOfMadness has joined #nixos
<genevino> ok sound in chromium is suddenly gone here. even when starting it from a terminal, i see no sink popping up in pavucontrol when i play a video on youtube. suddenly happened, definitely nothing changed. neither rm -rf .config/chromium, nor rebooting, worked. anyone a clue what's going on? firefox continues to work fine.
bitmapper has joined #nixos
<matthewcroughan_> supersandro2000: what is the "file that collects all modules" ?
codygman__ has quit [Ping timeout: 260 seconds]
<matthewcroughan_> There doesn't seem to be one in the PR that added cryptpad.nix for example.
<matthewcroughan_> 18ae1ecf036 nixos/cryptpad: add module
ATuin has quit [Quit: WeeChat 3.0]
<matthewcroughan_> `nixos/modules/module-list.nix ` right?
<ambro718> createZfsService creates what looks like a service that does not do anything at all
<ambro718> However, run systemctl show zfs-mount.service
saschagrunert has quit [Quit: Leaving]
<ambro718> And clearly see that the service runs the command "zfs mount -a"
<ambro718> I find no trace of this command anywhere in nixos source code.
<extrowerk> matthewcroughan_: it fails at this: https://github.com/NixOS/nix/blob/master/src/libutil/archive.cc#L331
<extrowerk> I commented it out, now it extracts the downloaded files
<{^_^}> [nixos-common-styles] @samueldr pushed 3 commits to fix/build-issue-2021-03: https://git.io/JmCWK
<matthewcroughan_> supersandro2000: that file isn't mentioned in the manual anywhere, oh well :D
<extrowerk> matthewcroughan_: http://0x0.st/-N_3.png
<extrowerk> As expected
<{^_^}> [nixos-common-styles] @samueldr opened pull request #4 → Fix fresh build issues → https://github.com/NixOS/nixos-common-styles/pull/4
<matthewcroughan_> extrowerk: that's a really funny message, never seen that
<matthewcroughan_> you're great for trying to get this working btw, what a great idea
<extrowerk> you use mainstream OS, of course you would never see anything like this. :)
<{^_^}> [nixos-homepage] @samueldr pushed 3 commits to update-nixpkgs: https://git.io/JmC8g
gustavderdrache has quit [Quit: Leaving.]
<matthewcroughan_> extrowerk: no of course, but I'm pretty sure nix works on freebsd and darwin
<matthewcroughan_> so I just didn't assume these checks were inside
<ambro718> .. never mind my question, zfs services come from the zfs package
<ambro718> The new question is, how do I stop zfs-import.service from running?
<matthewcroughan_> viric: Heyo, you maintain the FreeCAD package right?
<{^_^}> [nixos-common-styles] @garbas pushed commit from @samueldr to main « Fix fresh build issues (#4) »: https://git.io/JmCB3
<{^_^}> [nixos-common-styles] @garbas merged pull request #4 → Fix fresh build issues → https://github.com/NixOS/nixos-common-styles/pull/4
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JmCB6
<{^_^}> [nixos-homepage] @samueldr pushed to update-nixpkgs « Update flake.lock »: https://git.io/JmCR3
<extrowerk> ok, i achaived what i wanted, built nix on Haiku, it seems to doing things, i is enough for me, i can't debug something i am never used.
<extrowerk> So mission completed.
<extrowerk> Thanks for the help.
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116675 → _1password-gui: 8.0.27 -> 8.0.28 → https://github.com/NixOS/nixpkgs/pull/116675
extrowerk has left #nixos [#nixos]
Jackneill has quit [Ping timeout: 246 seconds]
ambro718 has quit [Quit: Konversation terminated!]
extrowerk has joined #nixos
<extrowerk> Ah, yet something: please consider to not use dotfolders and dotfiles in the $HOME. Thats unacceptable on Haiku, even for ported programs. It is just bad practice.
<colemickens> Nix does?
<extrowerk> t made .nix-channels file in $HOME
<extrowerk> also ~/.config/nix and ~/.nix-defexpr
<samueldr> the .nix-channels and .nix-defexpr are old things that won't follow XDG guidelines, though .config/nix I think should
<samueldr> I guess for a new port it would need to be fixed for the platform in defines maybe?
<{^_^}> [nixos-homepage] @garbas pushed to fix-update-script « nix flake update is now nix flake lock »: https://git.io/JmCgn
<samueldr> (because there is no backwards compat needed for .nix-channels and .nix-defexpr)
<extrowerk> Haiku uses XDG env vars, so it should never happen
<extrowerk> still nix made those files, so it is obviously not respecting the XDG envvars somewhere
<samueldr> well, for .nix-channels and .nix-defexpr, it's handled separately... but I assumed for .config/nix
<{^_^}> [nixos-homepage] @garbas opened pull request #687 → nix flake update is now nix flake lock → https://github.com/NixOS/nixos-homepage/pull/687
fendor has quit [Remote host closed the connection]
<samueldr> the former .nix-channels and .nix-defexpr *I think* can't be handled through the XDG paths (and is quite an old feature that cannot be broken easily)
<samueldr> (for existing platforms)
jboy has left #nixos ["WeeChat 3.0"]
cosimone has joined #nixos
fuzzypixelz has joined #nixos
<fuzzypixelz> if you're familiar with https://github.com/divnix/devos, please explain to me how to use profiles, i.e how to import them into my hosts/users
emmanuel_erc has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @garbas merged pull request #687 → nix flake update is now nix flake lock → https://github.com/NixOS/nixos-homepage/pull/687
emmanuel_erc has joined #nixos
<samueldr> extrowerk: which file is present in that dir?
<samueldr> that would give me confirmation I found the issue
<{^_^}> [nixos-homepage] @garbas merged pull request #686 → Update nixpkgs flake input → https://github.com/NixOS/nixos-homepage/pull/686
philr_ has joined #nixos
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #116676 → procps-ng: cleanup, format, remove ? null from inputs → https://github.com/NixOS/nixpkgs/pull/116676
ahmed_elgabri has quit [Ping timeout: 244 seconds]
<matthewcroughan_> colemickens: you still ignoring me? :D
<matthewcroughan_> I still want to apologise for being a noob.
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/12d9950bf47 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
hlz has quit [Ping timeout: 264 seconds]
<{^_^}> [nix] @samueldr opened pull request #4650 → Use the appropriate config dir for the registry → https://github.com/NixOS/nix/pull/4650
<samueldr> extrowerk: ^
erasmas has quit [Quit: leaving]
hlz has joined #nixos
<{^_^}> [nixpkgs] @alexarice opened pull request #116677 → agda nixos test: fix hello world program → https://github.com/NixOS/nixpkgs/pull/116677
fuzzypixelz has left #nixos [#nixos]
<supersandro2000> matthewcroughan_: if you read it you might know where it needs to be added
lobre has joined #nixos
<lobre> Hi, I just switched to the unstable channel of NixOS and I am trying to build with NVIDIA drivers (services.xserver.videoDrivers = [ "nvidia" ];) but it fails with error "The required package gtk+-3.0 was not found on your system". I am not sure if the problem comes from my configuration or if it something wrong with unstable...
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116527 → terragrunt: 0.28.12 -> 0.28.13 -> 0.28.14 -> 0.28.15 → https://github.com/NixOS/nixpkgs/pull/116527
webframp has left #nixos [#nixos]
<unclechu> hi. about Rust packages. is there some Nix function for Rust like `pkgs.haskellPackages.callCabal2nix` for Haskell?
<unclechu> a function that would produce Rust package derivation from a given path?
<talyz> aanderse: I am now :)
gustavderdrache has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.9]
<unclechu> or is there a function to read and parse *.toml file? in order to extract some information from it?
<talyz> unclechu: there is a builtins.fromTOML that does that
<unclechu> talyz: wow, didn’t expect to find it in `builtins`, thanks
<aanderse> talyz: ah i had a snippet i use for a few web apps for inbound e-mail
<aanderse> basically just push the contents of the e-mail to a url via curl
emmanuel_erc has quit [Read error: Connection reset by peer]
<aanderse> i think discourse can work that way too
emmanuel_erc has joined #nixos
supercoven_ has quit [Ping timeout: 264 seconds]
Baughn has joined #nixos
<aanderse> talyz: for reference, you should be able to tweak something like this to get inbound email working: `services.postfix.extraAliases = '' test: "|${pkgs.curl}/bin/curl --data-binary @- https://${cfg.hostName}/api/email" '';`
<talyz> unclechu: no problem :)
justanotheruser has joined #nixos
<talyz> aanderse: ah, i've actually packaged the upstream solution now and am on my way to try it out
<aanderse> sounds good
orivej has quit [Ping timeout: 256 seconds]
<talyz> aanderse: yeah, it should do some additional niceties like reject obvious spam, if it works
<aanderse> awesome
<aanderse> maybe one day we self host discourse for nixos ^^
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116680 → cargo-fuzz: 0.8.0 -> 0.10.0 → https://github.com/NixOS/nixpkgs/pull/116680
Baughn has quit [Remote host closed the connection]
Baughn has joined #nixos
aei has quit [Ping timeout: 246 seconds]
<shla> Will 20.09 get gnome40?
lobre has quit [Quit: Connection closed]
<{^_^}> [nixos-homepage] @garbas pushed to master « GITHUB_ENV -> GITHUB_PATH »: https://git.io/JmChD
<samueldr> stable releases don't get major package upgrades
<viric> matthewcroughan_: well I'm a poor maintainer
orivej has joined #nixos
shibboleth has joined #nixos
<viric> matthewcroughan_: I used freecad in a period of time but I don't, anymore. I've no idea about that piece you mention. Do you mean it'd be a trivial change, or you tried and failed to?
bakerboy has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #116681 → ocamlPackages.tcpip: 6.0.0 -> 6.1.0 → https://github.com/NixOS/nixpkgs/pull/116681
<adisbladis> aanderse: I made some half-hearted attempt at this a while ago https://github.com/NixOS/nixpkgs/pull/59981
<{^_^}> #59981 (by adisbladis, 1 year ago, open): WIP: Add discourse package & nixos module
<{^_^}> [nixpkgs] @sternenseemann opened pull request #116682 → ocamlPackages.encore: 0.7 -> 0.8 → https://github.com/NixOS/nixpkgs/pull/116682
<colemickens> clever: is daedalus easily installable in nixos or via flake? I feel like I'm making this harder than I should
xO1 has quit [Ping timeout: 256 seconds]
<colemickens> oops I hadn't looked at release.nix yet
<{^_^}> [nixos-homepage] @garbas pushed to master « fix scripts/update.sh »: https://git.io/JmWIQ
<clever> colemickens: `nix-build -A daedalus --argstr cluster mainnet` i think was the incantation
<clever> that builds a variant without sandboxing, that just runs directly from the host /nix/store, it lacks auto-update capabilities
<{^_^}> [nixpkgs] @r-ryantm opened pull request #116683 → cbonsai: 1.0.1 -> 1.0.4 → https://github.com/NixOS/nixpkgs/pull/116683
crenfrow has quit [Remote host closed the connection]
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
<colemickens> clever: the command does, or release.nix does?
<clever> colemickens: the above cmd uses default.nix
<clever> release.nix is more aimed at running default.nix multiple times, once for every os and cluster combination
<colemickens> I'm doing the xy thing. Would it make sense for that readme to have recommended usage instructions for nixos users?
<colemickens> And if so, what would that look like? Presumably I want sandboxing?
<clever> colemickens: if you want the sandboxing and auto-update, just install it the same way as any other linux user
<clever> ive made sure the sandbox stuff works on both nixos and normal linux
dbmikus has quit [Ping timeout: 256 seconds]
<clever> colemickens: the main point of the sandbox, is to let things work the nix way, even if you lack write perms to /nix, and on a nixos system, if you are not a trusted user in nix.conf
ahmed_elgabri has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
svrana has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 245 seconds]
<colemickens> I was looking for something to put in my configuration.nix. I did run the bin just now and I see it did a bunch of stuff, but then seems to have just exited.
ahmedelgabri has quit [Ping timeout: 244 seconds]
couldshift has joined #nixos
svrana has joined #nixos
<clever> colemickens: after that bin has finished, you will have a binary in ~/.local/bin and its also in the xfce apps menu
<colemickens> oh jeez I guess I dont have that on path
Baughn has quit [Ping timeout: 260 seconds]
couldshift has quit [Client Quit]
<colemickens> and embarrasingly it is in my launcher, ok thanks
<clever> and then it will just magically update itself when updates are needed
jumper149 has quit [Quit: WeeChat 3.1]
venom17[m] is now known as KiraXD[m]
<colemickens> I think get why, but the nixos-er in me is a bit uncomfortable
<colemickens> for example, I want to build a nixos image with some of these types of tools pre-installed for a portable self-contained, replicable hard drive
<clever> [clever@amd-nixos:~/iohk/daedalus-master]$ nix-build -A daedalus --argstr cluster mainnet
<colemickens> clever: okay, as you said. understood.
<clever> you can just do something like `daedalus = import sources.daedalus { cluster = "mainnet"; };` in an overlay, and toss it into systemPackages
<clever> and then it wont be able to update itself, so you need to use `niv update` and rebuild the whole system
* colemickens nods
<clever> adding the iohk hydra to your nix will also speed up the build, directions are in the readme
emmanuel_erc has quit [Read error: Connection reset by peer]
<colemickens> it imports iohk-nix without passing system, so it fails in strict eval
<colemickens> unless im missing something again -_-
emmanuel_erc has joined #nixos
<colemickens> i can hack at it though, maybe send a pr
<colemickens> thank you for the help!
thc202 has quit [Ping timeout: 240 seconds]
crenfrow has joined #nixos
xwvvvvwx has quit [Ping timeout: 264 seconds]
Baughn has joined #nixos
sigmundv__ has quit [Remote host closed the connection]
Baughn has quit [Client Quit]
Synthetica has quit [Quit: Connection closed for inactivity]
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #116685 → solo5: install opam bindings for all targets that are enabled → https://github.com/NixOS/nixpkgs/pull/116685
Baughn has joined #nixos
sigmundv_ has quit [Client Quit]
ahmed_elgabri has quit [Remote host closed the connection]
dbmikus has joined #nixos
Dr8128 has quit [Read error: No route to host]
Dr8128 has joined #nixos
xwvvvvwx has joined #nixos
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @yvesf opened pull request #116686 → Qcad update and fix → https://github.com/NixOS/nixpkgs/pull/116686
KiraXD[m] has left #nixos ["User left"]
<{^_^}> [nixpkgs] @yvesf closed pull request #115507 → qcad: 3.25.2.0 -> 3.26.0.1 → https://github.com/NixOS/nixpkgs/pull/115507
emmanuel_erc has quit [Read error: Connection reset by peer]
emmanuel_erc has joined #nixos
civodul has quit [Ping timeout: 265 seconds]
scotts has joined #nixos
scotts has left #nixos [#nixos]
cosimone has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
seku has quit [Quit: Connection closed]
Dr8128 has quit [Ping timeout: 246 seconds]
faffolter has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1f77a4c8c74 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/12d9950bf47 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f137bcd5c92 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<drozdziak1> What's the easiest way to achieve a PATH-style string? i.e. dirs joined with :?
__monty__ has quit [Quit: leaving]
<drozdziak1> alright, there's `intersperse`
andreas31 has quit [Remote host closed the connection]
andreas31 has joined #nixos
<cole-h> > builtins.concatStringsSep ":" [ "/somepath" "/somepath/somefile1" "/somepath/somefile2" "/somepath/somedir/somefile3" ]
<{^_^}> "/somepath:/somepath/somefile1:/somepath/somefile2:/somepath/somedir/somefile3"