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
ahmedelgabri has joined #nixos
growpotk- has quit [Ping timeout: 240 seconds]
ahmedelgabri has quit [Ping timeout: 250 seconds]
aaabbbbbbbbbb has quit [Ping timeout: 268 seconds]
growpotk- has joined #nixos
fuzzypixelz has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #119093 → mdevd: init at 0.1.3.0 → https://github.com/NixOS/nixpkgs/pull/119093
<{^_^}> [nixpkgs] @ryantm merged pull request #118969 → ciao: 1.19.0 -> 1.20.0 → https://github.com/NixOS/nixpkgs/pull/118969
<fuzzypixelz> trying to make a PR that fixes the Plasma themes not installing correctly, it changes the activation script of plasma in the nixos/modules/services/x11/desktop-managers/plasma5.nix
<fuzzypixelz> what should I name the commit
<hazel[m]> `jdk12` won't build for me -- how do I pin down the source of what package is even pulling it?
vidbina has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #119059 → obsidian: 0.11.9 -> 0.11.13 → https://github.com/NixOS/nixpkgs/pull/119059
<{^_^}> [nixpkgs] @ryantm merged pull request #119027 → jbang: 0.69.2 -> 0.70.0 → https://github.com/NixOS/nixpkgs/pull/119027
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JOTli
<{^_^}> [nixpkgs] @alyssais merged pull request #118456 → nixos/postfix: add services.postfix.canonical opt → https://github.com/NixOS/nixpkgs/pull/118456
<DigitalKiwi> where do you even get a jdk12 i don't have one in my nixpkgs
<hazel[m]> I don't know?
<hazel[m]> it just Gets Built, Somehow
<DigitalKiwi> what channel are you on
<hazel[m]> 20.09
kaction has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #119094 → libcap: use correct runtime shell → https://github.com/NixOS/nixpkgs/pull/119094
<hazel[m]> oh it was being pulled by Scala
<hazel[m]> or one of its tools
<hazel[m]> huh
<DigitalKiwi> oh, throw it away
<hazel[m]> well I'm not writing any Scala right now so I'll just wait until it gets fixed
<hazel[m]> took a class in it like a year ago
<hazel[m]> at least it's better than Java
<hazel[m]> marginally
jess has quit [Quit: K-Lined]
ahmedelgabri has joined #nixos
jess has joined #nixos
<DigitalKiwi> there's still time to turn your life around; haskell is just over there...
Kyndig has joined #nixos
<hazel[m]> I know Haskell actually
<hazel[m]> mostly been writing Racket lately
<DigitalKiwi> oh, nice
<DigitalKiwi> https://www.coursera.org/learn/programming-languages i liked this course part b has some racket
rprije has joined #nixos
<hazel[m]> my university uses racket very extensively
<hazel[m]> my mentor was laughing while I struggled to compile it from Git on NixOS actually
<DigitalKiwi> have you seen the write you a schemes?
<hazel[m]> yes
<{^_^}> [nixpkgs] @petabyteboy merged pull request #87437 → shadow: add runtime-shell.patch for cross-compilation → https://github.com/NixOS/nixpkgs/pull/87437
liuyb has joined #nixos
ahmedelgabri has quit [Ping timeout: 258 seconds]
<Kyndig> Does anyone have any ideas about what would make my personal user's "nix-env -iA ..." command suddenly start trying to read /etc/nixos/configuration.nix?
dycan has joined #nixos
liuyb has quit [Ping timeout: 252 seconds]
<Kyndig> my .nix-defexpr points to my per-user profile...
<Kyndig> i don't see how the system config get's involved with nix-env
Dr8128 has joined #nixos
philr has joined #nixos
turlando has joined #nixos
rajivr has joined #nixos
<{^_^}> [nixpkgs] @friedelino opened pull request #119095 → googleearth-pro: init at 7.3.3.7786 → https://github.com/NixOS/nixpkgs/pull/119095
<Church-> Okay asking in the right channel this time. :p Can I give a relative path to builtins.readFile somehow? Trying to read a file kept in a subdir of the dir my nix expression lives in.
<Church-> And `builtins.readFile ./secrets/foo.zone` errors out
fuzzypixelz has quit [Ping timeout: 268 seconds]
<samueldr> what does "errors out" mean?
turlando has quit [Quit: Leaving]
fuzzypixelz has joined #nixos
fuzzypixelz has left #nixos [#nixos]
<dotdotok> samueldr: as in it breaks when you try to use it
<dotdotok> /build it
<samueldr> dotdotok: are you Church-?
<samueldr> what I wanted to know is the exact error message you get
<samueldr> because otherwise it's a vague issue
<dotdotok> ah read the message sequence wrong, sorry samueldr
<dotdotok> read it as church -> you -> church and not church -> church -> you
<samueldr> no worries, mistakes can happen, and it happens I know that some users have multiple handles here
<samueldr> (that's why I was asking if you were them, not as a combative response)
h0m1 has quit [Ping timeout: 258 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
<matthewcroughan> samueldr: thank God you're here :D
<matthewcroughan> You use home-manager right?
<samueldr> no
<matthewcroughan> aaaaaaa
<matthewcroughan> I have this issue
h0m1 has joined #nixos
<samueldr> oh, the age old issue of .profile and friend sourcing being an absolute mess to understand in all unix-likes
<samueldr> probably not a home-manager issue per se
<samueldr> I personally, a long time ago, took time to read all the litterature about that, and made all things source each others in ways I believe were easier to get
<samueldr> but uh... that would probably break some use cases? I never had any issues though
<samueldr> and with NixOS I even disabled most of it, and my system setup relies only on the equivalent files in /etc/
<samueldr> I guess in your case, figure out what gdm and sddm *do* read for "profile"
<samueldr> it looks like that upstream sddm would use ~/.xprofile
<samueldr> maybe add a .xprofile that sources .profile?
<samueldr> sddm also *conditionally* sources only some files
<samueldr> e.g. if it's being ran under bash, it will try .bash_profile, OR .bash_login OR .profile
<matthewcroughan> samueldr: I knew you'd know something about this.
<matthewcroughan> The greybeard I live with says the same.
<matthewcroughan> I really want to package ly, but it's so difficult, I really need some help with it.
<samueldr> similar upstream session file for gdm
<qyliss> ly is packaged isn't it?
<qyliss> > ly
<{^_^}> "9460730472580800.000000 m"
<matthewcroughan> qyliss: It's ancient, I fixed it.
<samueldr> that's the unit
<qyliss> oh lol
<qyliss> > pkgs.ly
<samueldr> > pkgs.ly
<{^_^}> "<derivation /nix/store/34k7rblsshf4f45gzsrn3qj0zigbxw25-ly-0.2.1.drv>"
<{^_^}> "<derivation /nix/store/34k7rblsshf4f45gzsrn3qj0zigbxw25-ly-0.2.1.drv>"
<matthewcroughan> > pkgs.ly
<{^_^}> "<derivation /nix/store/34k7rblsshf4f45gzsrn3qj0zigbxw25-ly-0.2.1.drv>"
<matthewcroughan> :D
<matthewcroughan> it's 0.5.2 upstream and that hasn't been worked on for months.
<samueldr> so yeah, I assume the easiest thing to do here is add .xprofile that sources .profile
<matthewcroughan> The ly package in fact does not even work, becuase it can't read /nix/store paths because of this https://github.com/MatthewCroughan/configator/commit/5766a95556520f28c2aa2962928dcfdcf16349a0
<matthewcroughan> Lol
<samueldr> pretty sure that when I wasn't using NixOS I had an .xprofile that did that
<matthewcroughan> Ly is broken in a lot of ways, it needs completely rewriting.
<matthewcroughan> It won't set up a seat properly, and I do not know enough about systemd to make this work.
<matthewcroughan> samueldr: that's genius and might just work ;D
<samueldr> not sure if it is a correct alternative to ly
<samueldr> but that exists
<samueldr> (I have yet to look at it)
<matthewcroughan> samueldr: what does it look like? :o
<matthewcroughan> no pics
<{^_^}> [nixpkgs] @davidak opened pull request #119096 → Update kbd, add tests → https://github.com/NixOS/nixpkgs/pull/119096
<samueldr> matthewcroughan: no UI, thinking back I think it's not a proper replacement
<samueldr> it's a replacement only if you want autologin
<matthewcroughan> there's lots, I just liked ly
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/ad7604ddbd9 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<matthewcroughan> samueldr: https://github.com/tvrzna/emptty
<matthewcroughan> for example there's this
growpotk- has quit [Ping timeout: 252 seconds]
kaction has quit [Ping timeout: 240 seconds]
<samueldr> sure, I only realized after the fact that you wanted a login dialog, and not the smallest way to autologin
<samueldr> from my own bias, where I want autologin to happen
<matthewcroughan> samueldr: I want to have to enter a password, of course.
<samueldr> from cold boot, you need a passphrase to get to the graphical session... and anyway I have to trust the session locker I use, so first thing that happens when my session start is to launch the locker
<samueldr> in the off chance I walk away early during boot
<matthewcroughan> ? You need a passphrase?
spudly- has joined #nixos
<samueldr> to unlock the full disk encryption
<matthewcroughan> I'm happy as long as a passphrase is required.
<matthewcroughan> Yeah I do have FDE..
<matthewcroughan> I guess
<matthewcroughan> But what happens when you exit sway?
<matthewcroughan> what happens if sway crashes?
<samueldr> I don't know because I'm using X11 still
<matthewcroughan> LOL
<samueldr> but that depends on the DM I guess
<matthewcroughan> Okay, assume your thing crashse
<matthewcroughan> it will give someone full access to your user, if you're just using a tty
<matthewcroughan> that's why I don't want to use a tty
<samueldr> here if my session crashes, SDDM restarts it, and if it crashes too often in a short while it knows to not autologin
<samueldr> but since it's an autologin through a DM, that's not giving them a console
<samueldr> and anyway, sway shouldn't crash ;)
<matthewcroughan> Not an argument ;D
<matthewcroughan> If the program you're running crashes, you return to a user shell.
<matthewcroughan> then, anyone can run rm -rf *
spudly- is now known as spudly
<samueldr> sure, that's why I'm not launching it from a user session on the tty
<matthewcroughan> I quite like the journalctl diagnostics that gdm gives me anyway
<matthewcroughan> samueldr: Do you have any idea why `xdg.portal.gtkUsePortal = true;` would be delaying the startup of `services.xserver.gdm.enable = true;` by like 30 seconds?
<matthewcroughan> because it totally does
<matthewcroughan> and it drives me mental :)
<samueldr> nope
liuyb has joined #nixos
ahmedelgabri has joined #nixos
kaction has joined #nixos
ahmedelgabri has quit [Ping timeout: 258 seconds]
Dr8128 has quit [Ping timeout: 252 seconds]
mmmattyx has quit [Quit: Connection closed for inactivity]
kaction has quit [Ping timeout: 252 seconds]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #119068 → cc-wrapper: match useGccForLibs conditional order → https://github.com/NixOS/nixpkgs/pull/119068
spinlock[m] has joined #nixos
bdju has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
gustavderdrache has quit [Quit: Leaving.]
AlpineLlama has joined #nixos
ml| has quit [Quit: WeeChat 3.0.1]
<lukegb> ,locate nix-prefetch
<{^_^}> Found in packages: nix-prefetch
mmlb0 has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
waleee-cl has quit [Quit: Connection closed for inactivity]
mmlb has quit [Ping timeout: 260 seconds]
mmlb0 is now known as mmlb
MatrixBot25 has joined #nixos
<matthewcroughan> samueldr: huh, looks like it's not sourcing .xprofile either
c4rc4s has joined #nixos
<matthewcroughan> wtf
orivej has joined #nixos
MatrixBot25 has quit [Ping timeout: 240 seconds]
hjones[m] has joined #nixos
<matthewcroughan> does anybody know how I can use pam_env on nixos?
<matthewcroughan> oh man this is giving me a headache :D
<matthewcroughan> Sourcing things
domogled has joined #nixos
dycan has quit [Remote host closed the connection]
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 258 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @marsam opened pull request #119097 → watchexec: 1.14.1 -> 1.15.0 → https://github.com/NixOS/nixpkgs/pull/119097
<{^_^}> [nixpkgs] @marsam opened pull request #119098 → shadowsocks-rust: 1.10.3 -> 1.10.5 → https://github.com/NixOS/nixpkgs/pull/119098
MatrixBot25 has joined #nixos
<ldlework> nix the dream crusher https://github.com/NixOS/nixpkgs/issues/71179
<{^_^}> #71179 (by robinp, 1 year ago, open): chromium versions that match `puppeteer` release versions.
MatrixBot25 has quit [Client Quit]
poscat has quit [Read error: Connection reset by peer]
MatrixBot25 has joined #nixos
MatrixBot25 has quit [Client Quit]
MatrixBot25 has joined #nixos
MatrixBot25 has quit [Client Quit]
poscat has joined #nixos
MatrixBot25 has joined #nixos
ahmedelgabri has joined #nixos
MatrixBot25 has quit [Client Quit]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b39544be6c2 (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/b39544be6c2 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
ahmedelgabri has quit [Ping timeout: 258 seconds]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
evils_ has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #118967 → rivet: 3.1.3 -> 3.1.4 → https://github.com/NixOS/nixpkgs/pull/118967
evils_ has quit [Client Quit]
<matthewcroughan> How can I put stuff in /usr/share on nixos?
<{^_^}> [nixpkgs] @ryantm merged pull request #119065 → openfpgaloader: 0.2.5 -> 0.2.6 → https://github.com/NixOS/nixpkgs/pull/119065
<samueldr> there is no supported ways, because it breaks assumptions
<samueldr> but if you want to void your warranty (for what it was worth) tmpfiles.d could be coaxed into doing things
<{^_^}> [nixpkgs] @marsam merged pull request #118942 → git-review: 1.28.0 -> 2.0.0 → https://github.com/NixOS/nixpkgs/pull/118942
<samueldr> or maybe grep for how `/usr/bin/env` gets added
<samueldr> but really, rethink your strategy for what you're doing
<ryantm> matthewcroughan: You can also use activationScripts to do anything you want, but it's tricky.
domogled has quit [Quit: domogled]
dotdotok has quit [Ping timeout: 268 seconds]
kaction has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119099 → air: 1.15.1 -> 1.25 → https://github.com/NixOS/nixpkgs/pull/119099
Serus_ is now known as Serus
endformationage has quit [Ping timeout: 268 seconds]
kaction has quit [Ping timeout: 252 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<matthewcroughan> ryantm: the reason is because I can't get gdm to source my .profile
<matthewcroughan> because it just doesn't do that
<matthewcroughan> it needs the script to be in that dir, because gdm woo
<matthewcroughan> and I can't even set pam_environment because that's deprecated hahaa
tejing has quit [Quit: WeeChat 2.9]
<matthewcroughan> Awh man this really sucks.
respawn_ has joined #nixos
<matthewcroughan> I bet you've all been through this and given up lol
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #119009 → python3Packages.snitun: disable failing test on darwin → https://github.com/NixOS/nixpkgs/pull/119009
kaction has joined #nixos
ahmedelgabri has quit [Ping timeout: 250 seconds]
<pie_> matthewcroughan: i dont know whats going on but im sorry :(
<pie_> everyone hates standardization these days
<pie_> or something
kaction has quit [Ping timeout: 240 seconds]
ahmedelgabri has joined #nixos
cole-h has quit [Ping timeout: 265 seconds]
<matthewcroughan> pie_: Basically, I can't find a displayManager that will source .profile
Heirlung has quit [Quit: ZNC - http://znc.in]
<matthewcroughan> .profile is made by home-manager in my case
<matthewcroughan> this means that all the QT theme envvars that home-manager sets go ignored if I use GDM to start anything.
<matthewcroughan> Then, additionally to all of that, even if I give up display managers, I still have the problem of sessions forking.
<matthewcroughan> if I run `exec sway` it'll not kill things when I exit sway.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119101 → catch2: 2.13.4 -> 2.13.5 → https://github.com/NixOS/nixpkgs/pull/119101
<matthewcroughan> loginctl shows me that the session is still active, and things spawned by sway are still active.
<matthewcroughan> Even if I set `services.logind.killUserProcesses = true;` I still get this behavior
ahmedelgabri has quit [Ping timeout: 258 seconds]
Heirlung has joined #nixos
zeenk has joined #nixos
sveitser2 has quit [Quit: WeeChat 2.2]
codygman____ has joined #nixos
<codygman____> I just updated my flake inputs and the new nix broke my system :/ I say this to warn others and to signal-boost the issue I filed https://github.com/NixOS/nix/issues/4705
<{^_^}> nix#4705 (by codygman, 2 minutes ago, open): error creating statement 'insert or replace into realisations" broke nix installation on update
<matthewcroughan> codygman____: how do you know this was the thing that broke it?
<matthewcroughan> And what input were you trying to update?
aaabbbbbbbbbb has joined #nixos
<{^_^}> [nixpkgs] @austinbutler opened pull request #119102 → kooha: init at 1.1.1 → https://github.com/NixOS/nixpkgs/pull/119102
<{^_^}> [nixpkgs] @storvik opened pull request #119103 → clpm: build with sbcl 2.0.9 → https://github.com/NixOS/nixpkgs/pull/119103
<codygman____> I installed programs earlier today with my older flake.lock and things were fine. Then I did 'nix flake update', got this flake.lock file https://github.com/NixOS/nix/issues/4705#issuecomment-817262927, then I did `sudo nix shell ".#nixosConfigurations.razer.config.system.build.toplevel" -c switch-to-configuration switch` and got the error above. Plus now none of my nix commands work.
<afontain_> <matthewcroughan "How can I put stuff in /usr/shar"> With or without a FHS?
<afontain_> davidak: for the record, the "regular" desktop file works, but it seems the invisible unv:// one doesn't
<afontain_> if you want to try to install it and see if it works for you, please do — it really should work, so maybe it's just my setup being broken
<afontain_> ah, I've got an idea of protocol handler: mailto:xyz@xyz.xyz
<afontain_> (it works)
<afontain_> hmm, and instance forwarding works
<afontain_> (when running the command with an existing unvanquished window)
<davidak[m]> thanks. will test later. have to sleep now
<afontain_> sure
<afontain_> for the record, I installed with `nix-env -f . -Ai unvanquished`
philr has quit [Ping timeout: 265 seconds]
<afontain_> this $ xdg-open unv://88.198.122.215:27960 returns error 4: gio: unv://88.198.122.215:27960: The specified location is not supported
<afontain_> and error 4 means "The action failed."
<afontain_> so this suggests it's not "A required tool could not be found.", "One of the files passed on the command line did not exist." or "Error in command line syntax."
<davidak[m]> it would be interesting to see if it works on other distros
marusich has quit [Quit: Leaving]
jonringer has joined #nixos
<afontain_> it works on other distros
<afontain_> at least Ubuntu 20.04 w/ GNOME
<{^_^}> [nixpkgs] @petabyteboy merged pull request #119090 → libselinux: fix build without python → https://github.com/NixOS/nixpkgs/pull/119090
<{^_^}> [nixpkgs] @petabyteboy merged pull request #119094 → libcap: use correct runtime shell → https://github.com/NixOS/nixpkgs/pull/119094
srk has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119104 → [20.09] mediawiki: 1.35.1 -> 1.35.2 → https://github.com/NixOS/nixpkgs/pull/119104
juhe has joined #nixos
codygman____ has quit [Ping timeout: 268 seconds]
linear_cannon has joined #nixos
griff__ has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #119097 → watchexec: 1.14.1 -> 1.15.0 → https://github.com/NixOS/nixpkgs/pull/119097
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119105 → xfig: 3.2.8 -> 3.2.8a → https://github.com/NixOS/nixpkgs/pull/119105
<{^_^}> [nixpkgs] @fabaff opened pull request #119106 → python3Packages.transformers: fix build → https://github.com/NixOS/nixpkgs/pull/119106
<Reventlov> immae / stephank : thanks, I forgot I didn't install those in my nix shell…
linear_cannon is now known as ky0ko
griff__ has quit [Ping timeout: 265 seconds]
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #118450 → ocamlPackages.printbox: 0.4 → 0.5 → https://github.com/NixOS/nixpkgs/pull/118450
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119107 → fig2dev: 3.2.8 -> 3.2.8a → https://github.com/NixOS/nixpkgs/pull/119107
Adluc has joined #nixos
oxalica has joined #nixos
jophish__ has joined #nixos
ahmedelgabri has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #119108 → ocamlPackages.rpclib: 8.0.0 → 8.1.0 → https://github.com/NixOS/nixpkgs/pull/119108
<{^_^}> [nixpkgs] @fabaff opened pull request #119109 → python3Packages.hass-nabucasa: 0.42.0 -> 0.43.0 → https://github.com/NixOS/nixpkgs/pull/119109
respawn_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Izorkin opened pull request #119110 → nixos/peertube: init service → https://github.com/NixOS/nixpkgs/pull/119110
gxt_ has quit [Quit: WeeChat 3.1]
sangoma has joined #nixos
<Izorkin> stevenroose: created a PR with the addition of the peertube service.
jonringer has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #119111 → python3Packages.httplib2: 0.19.0 -> 0.19.1 → https://github.com/NixOS/nixpkgs/pull/119111
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @squalus opened pull request #119112 → scummvm: support darwin → https://github.com/NixOS/nixpkgs/pull/119112
<{^_^}> [nixpkgs] @fabaff opened pull request #119113 → python3Packages.discordpy: 1.7.0 -> 1.7.1 → https://github.com/NixOS/nixpkgs/pull/119113
Izorkin has joined #nixos
oxalica has quit [Quit: oxalica]
<{^_^}> [nixpkgs] @bkchr opened pull request #119114 → lorri: 1.3.1 -> 1.4.0 → https://github.com/NixOS/nixpkgs/pull/119114
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119115 → fluent-bit: 1.7.2 -> 1.7.3 → https://github.com/NixOS/nixpkgs/pull/119115
fendor has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #119087 → chromiumBeta: Fix the build → https://github.com/NixOS/nixpkgs/pull/119087
leotaku has quit [Quit: ZNC 1.8.2 - https://znc.in]
leotaku has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #112599 → clevis: 15 -> 16 → https://github.com/NixOS/nixpkgs/pull/112599
<{^_^}> [nixpkgs] @doronbehar merged pull request #112713 → python37Packages.datadog: 0.39.0 -> 0.40.0 → https://github.com/NixOS/nixpkgs/pull/112713
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
Izorkin has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @github-actions[bot] closed pull request #119111 → python3Packages.httplib2: 0.19.0 -> 0.19.1 → https://github.com/NixOS/nixpkgs/pull/119111
j0ni[m] has quit [Quit: Idle for 30+ days]
fiveseven[m] has quit [Quit: Idle for 30+ days]
alexisnotme[m] has quit [Quit: Idle for 30+ days]
<eyJhb> I am trying to target this value here - https://github.com/NixOS/nixpkgs/blob/nixos-20.09/nixos/modules/services/web-apps/nextcloud.nix#L553 in a expression like `secrets.files.ncpass.user = config.systemd.services.nextcloud-setup.serviceConfig.User;` but nix gives me a infinite recursive. Any idea why?
dycan has joined #nixos
astylian has quit [Remote host closed the connection]
astylian has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119116 → github-commenter: 0.8.0 -> 0.9.0 → https://github.com/NixOS/nixpkgs/pull/119116
dycan has quit [Remote host closed the connection]
ml| has joined #nixos
kolaente_ has joined #nixos
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119117 → mozjpeg: 3.3.1 -> 4.0.3 → https://github.com/NixOS/nixpkgs/pull/119117
lsix has quit [Ping timeout: 260 seconds]
respawn_ has joined #nixos
<{^_^}> [nixpkgs] @06kellyjac opened pull request #119118 → octant-desktop: 0.18.0 -> 0.19.0 → https://github.com/NixOS/nixpkgs/pull/119118
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a73020b2a15 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
civodul has joined #nixos
<oleks> Hi, often when working with stack on NixOS, I run into stack telling me something like error: attribute 'ghc844' missing, at (string):1:61 Things start working again once I upgrade to some more recent LTS, but why does this happen in the first place?
<afontain_> this looks like a nix error
astylian has quit [Ping timeout: 252 seconds]
<oleks> Indeed, it is something to do with nix and stack not playing well together
<afontain_> "upgrade to some more recent LTS" of what?
<oleks> It's an option in my stack.yaml
<oleks> So LTS of Stack
<afontain_> I assume ghc8.4.4 didn't exist yet in that lts
<oleks> That's what I understand as well. But now I'm trying to start a new project
<oleks> And stack init fails
<oleks> With that sort of error
<oleks> So.. no stack.yaml
<afontain_> och
<afontain_> you can probably open a bug report on nixpkgs, or on stack
<oleks> +1
<afontain_> I'd say maybe nixpkgs?
berberman has joined #nixos
berberman_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Atemu opened pull request #119119 → zen-kernels: 5.11.11 -> 5.11.13 → https://github.com/NixOS/nixpkgs/pull/119119
BJTH has joined #nixos
<virkony> to make stack or cabal-install work properly, I would expect that nixos will need to somehow account them in gcroots
<virkony> there is lorri project that claims that it somehow pins shell dependencies for project to avoid being collected
ahmedelgabri has quit [Ping timeout: 250 seconds]
<BJTH> Is there a package that consists of "standard" build packages, package like gcc, gdb, etc.
<{^_^}> [nixpkgs] @fabaff opened pull request #119120 → python3Packages.wakeonlan: 2.0.0 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/119120
quinn has quit [Ping timeout: 265 seconds]
fuzzypixelz100 has joined #nixos
fuiltilt has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @fabaff opened pull request #119121 → python3Packages.twilio: 6.51.1 -> 6.56.0 → https://github.com/NixOS/nixpkgs/pull/119121
VideoGameEnjoyer has quit [Quit: Konversation terminated!]
ahmedelgabri has joined #nixos
BenjiProd has joined #nixos
<sterni> oleks: We don't have GHC 8.8.4 in nixpkgs anymore, but the stack nix integration expects it to be present
<virkony> I'm trying to migrate system configuration to flakes and I stumbled on this git submodules not being properly supported (NixOS/nix#4423). And attempt to use flake input in module for system conf results in error for lastModified...
<{^_^}> https://github.com/NixOS/nix/issues/4423 (by DanilaFe, 13 weeks ago, open): nix flakes: add support for git submodules
<sterni> oleks: you can either upgrade the ghc you use or use an old version of nixpkgs that still has that ghc version
<qyliss> bjth: don't think so, because how would we agree on what was standard?
<virkony> qyliss: aren't there is already something like stdEnv?
<qyliss> stuff like gdb isn't
<qyliss> virkony: I can't parse that sentence, sorry
<{^_^}> [nixos-weekly] @Mic92 merged pull request #152 → Add link a Nix beginner blogpost. → https://github.com/NixOS/nixos-weekly/pull/152
zeenk has quit [Quit: Konversation terminated!]
<virkony> it is standard environment to build Nix packages
<sterni> well stdenv doesn't really contain build tools it contains stuff you need to bootstrap nixpkgs that is a different focus
<sterni> you don't need a debugger in there for example
<virkony> there is also nixpkgs.metaBuildEnv that have gcc included, though without gdb
quinn has joined #nixos
<tad-lispy[m]> Hello! With Home Manager, how can I switch to previous generation?
<tad-lispy[m]> * Hello! With Home Manager, how can I switch to a previous generation?
<virkony> tad-lispy[m]: most likely you want to go to #home-manager with such question. In short, it have sub-command generations and you can find link to activation script
<afontain_> tad-lispy: IRC folks can't see you 👍️ reaction
<afontain_> *your
<afontain_> (and virkony is on IRC)
<{^_^}> [nixpkgs] @alyssais merged pull request #119093 → mdevd: init at 0.1.3.0 → https://github.com/NixOS/nixpkgs/pull/119093
BJTH has quit [Remote host closed the connection]
<tad-lispy[m]> Thanks virkony 👍️
<tad-lispy[m]> So I switched back, but it didn't help.
<tad-lispy[m]> The problem is that the `super` key stopped working. I'm using Gnome on Wayland.
ahmedelgabri has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @sternenseemann merged pull request #113696 → ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected → https://github.com/NixOS/nixpkgs/pull/113696
<tad-lispy[m]> I upgraded both NixOS (`sudo nixos-rebuild switch`) and home manager. Then I noticed the key doesn't work. I've rebooted to previous NixOS generation. Still didn't work. I activated previous Home Manager generation and rebooted. Still doesn't work. Any ideas?
Siyo has quit [Quit: Bye]
Siyo has joined #nixos
zebrag has joined #nixos
ahmedelgabri has joined #nixos
Dr8128 has joined #nixos
philr has joined #nixos
ahmedelgabri has quit [Client Quit]
lb5tr has quit [Quit: WeeChat 1.4]
<tad-lispy[m]> I've found the problem and the solution and it has nothing to do with NixOS or Home Manager or Wayland or Gnome :D
<{^_^}> [nixpkgs] @ju1m opened pull request #119122 → ifcopenshell: 0.6.0b0 -> 210410 → https://github.com/NixOS/nixpkgs/pull/119122
srk has quit [Quit: ZNC 1.8.2 - https://znc.in]
<tad-lispy[m]> There is a keyboard switch that disables the `super` key and I must have accidentally pressed it when switching.
srk has joined #nixos
<tad-lispy[m]> At least I've learned how to switch back with Home Manager.
<{^_^}> [nixpkgs] @FRidh merged pull request #119106 → python3Packages.transformers: fix build → https://github.com/NixOS/nixpkgs/pull/119106
<{^_^}> [nixpkgs] @FRidh merged pull request #119091 → python3Packages.poetry: 1.1.4 -> 1.1.5 → https://github.com/NixOS/nixpkgs/pull/119091
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/76444805555 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
snowflake has quit [Remote host closed the connection]
snowflake has joined #nixos
sciamp has joined #nixos
orivej has joined #nixos
<virkony> haha. All those "programmable" keyboards. I have also that useless for me feature on my keyboard...
mallox has joined #nixos
<{^_^}> [nixpkgs] @lf- opened pull request #119123 → callCabal2nix: detect invalid names and print a good error → https://github.com/NixOS/nixpkgs/pull/119123
<{^_^}> [nixpkgs] @Mic92 opened pull request #119124 → cutter: 2.0.0 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/119124
__monty__ has joined #nixos
ahmedelgabri has joined #nixos
seku has joined #nixos
<kolaente_> Hey there, my /nix folder takes up 280GB on my system which seems quite a lot to me. Is this normal? If not, how would I debug this?
<kolaente_> nix-collect-garbage didn't clean up much
BJTH has joined #nixos
<ehmry> kolaente_: maybe you have some "result" symlinks that are keeping things pinned?
ahmedelgabri has quit [Ping timeout: 260 seconds]
<kolaente_> ehmry: you mean from manually building things?
<gchristensen> nix-store --gc --print-roots will print things keeping store paths alive
<ehmry> gchristensen: cool, TIL
<gchristensen> to clean up things in /nix/var/nix/profiles/ it is preferrable to use nix-collect-garbage --delete-older-than 3d
<gchristensen> (3d meaning deleting older than 3 days)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119125 → librsync: 2.3.1 -> 2.3.2 → https://github.com/NixOS/nixpkgs/pull/119125
mallox has quit [Quit: WeeChat 3.1]
<kolaente_> gchristensen: I have a habit of cleaning up garbage regularily after updates, but it does not seem to clean up much (~1GB last time)
<gchristensen> is this nixos?
<kolaente_> nix-store --gc --print-roots returns 652 paths which, while a lot, does not seem that excessive to me
<kolaente_> yes, nixos
<__monty__> kolaente_: And you delete generations regularly?
<gchristensen> b/c you'll need to periodically need to delete old system generations: ls /nix/var/nix/profiles/system | wc -l
<kolaente_> Ah well looks like I don't __monty__
<kolaente_> I guess I just assumed nix-collect-garbage would do that for me
<gchristensen> that is what --delete-older-than does
<gchristensen> and you'll need to run it as root
<gchristensen> each system generation is considered not garbage until you ask it to prune old generations :$
<__monty__> You have explicit control over which generations to keep because that's how you do rollbacks.
<kolaente_> ohhhhh and if I don't pass it an --delete-older-than it removes none of the old generations
<kolaente_> I think that was my mistake
<__monty__> I usually use nix-env to manage generations, both user and system.
<__monty__> Keep at least one known-working generation around.
ahmedelgabri has joined #nixos
<__monty__> nix-env --delete-generations +2 would keep the last three generations.
<kolaente_> TIL
<__monty__> For system generations you have to pass --profile /nix/var/nix/profiles/system
<kolaente_> I just assumed if you run nix-collect-garbage without any options it would delete everyting currently not in use but it makes a lot of sense to need to specify removing old generations explicitly
<kolaente_> Running nix-collect-garbage --delete-older-than 3d just removed 196GB of old stuff, thanks everyone for clarifying!
<__monty__> Yes, old generations are in use, for rollbacks : )
<fuzzypixelz100> hello! I'm trying my luck (again) with https://github.com/NixOS/nixpkgs/issues/76615
<{^_^}> #76615 (by JonathanReeve, 1 year ago, open): Can't install a new KDE theme
<fuzzypixelz100> I'm getting file:///nix/store/rabw98zbqi7hvnayixmy57qw2fnmd1ph-kdeclarative-5.79.0-bin/lib/qt-5.15.2/qml/org/kde/kcm/GridDelegate.qml:0: ReferenceError: theme is not defined
<fuzzypixelz100> I'm on plasma 5.21.3
<kolaente_> __monty__ using the --profile option to remove system profiles gives me "error: unrecognised flag '--profile'"
<__monty__> kolaente_: Try passing it before --delete-generations.
<gchristensen> you don't have to pass a specific profile actually
<fuzzypixelz100> then `kf.newstuff.core: Install job finished with error state 113 and description 113`
<__monty__> With nix-env you do, afaik.
<gchristensen> oh yeah
<gchristensen> sorry
<__monty__> But indeed with nix-collect-garbage running as root would do the trick iirc.
<{^_^}> [nixpkgs] @fabaff opened pull request #119126 → python3Packages.pycomfoconnect: init at 0.4 → https://github.com/NixOS/nixpkgs/pull/119126
sciamp has quit [Ping timeout: 240 seconds]
Reventlov has quit [Quit: WeeChat 2.3]
ronthecookie has quit [Quit: o~/]
ronthecookie has joined #nixos
<kolaente_> __monty__ ah nix-env ofc (I've been trying nix-collect-garbage ._.
<__monty__> Reason I don't use --delete-older-than is sometimes my previous generation is quite old, so there's not really a fixed age I can use. And you can inspect your generations with nix-env --list-generations.
Reventlov has joined #nixos
Reventlov has quit [Changing host]
Reventlov has joined #nixos
BJTH has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 opened pull request #119127 → gitea: 1.13.7 -> 1.14.0 → https://github.com/NixOS/nixpkgs/pull/119127
<{^_^}> [nixpkgs] @fabaff opened pull request #119128 → python3Packages.pyemby: init at 1.7 → https://github.com/NixOS/nixpkgs/pull/119128
domogled has joined #nixos
<evanjs> so I was looking at https://github.com/mejrs/rs3cache and got pretty far in the build, but am wondering how I need to finalize it
<evanjs> making a gist of my current expression now
<evanjs> don't mind the defaults I'm falling back to for ease of testing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119129 → libsForQt5.mlt: 6.24.0 -> 6.24.0 → https://github.com/NixOS/nixpkgs/pull/119129
<evanjs> uses maturinBuildHook, setuptools-rust
nek0 has joined #nixos
<{^_^}> [nixpkgs] @guibou opened pull request #119130 → haskellPackages.PyF: un mark as broken → https://github.com/NixOS/nixpkgs/pull/119130
<evanjs> the current expression builds e.g. rs3cache.cpython-39-x86_64-linux-gnu.so
<evanjs> but I also need e.g. `cargo build` to run, I think?
<evanjs> wondered if there's a good way to get both things happening in one expression
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
quinn has joined #nixos
<evanjs> tried adding cargoBuildHook and cargoInstallHook and that doesn't do anything, though I'm not sure if it would have an affect on a buildPython{Package,Application} closure to begin with
rprije has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #119131 → python3Packages.pythonegardia: init at 1.0.40 → https://github.com/NixOS/nixpkgs/pull/119131
<{^_^}> [nixpkgs] @minijackson opened pull request #119132 → Init Mobilizon → https://github.com/NixOS/nixpkgs/pull/119132
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
ottidmes has joined #nixos
<urkk> can I store the build logs into a distributable file like "nix-store --export ..." ?
astylian has joined #nixos
<{^_^}> [nixpkgs] @jdelStrother opened pull request #119133 → mysql: fix building on Apple Silicon → https://github.com/NixOS/nixpkgs/pull/119133
tejing has joined #nixos
<evanjs> urkk: I mean there's `nix log` but idk if that's what you want
emp has quit [Quit: ZNC 1.8.2 - https://znc.in]
<urkk> evanjs: with nix log I can specify a custom cache store to retrieve the log, but I would like to distribute all the closure logs in a file
emp has joined #nixos
<urkk> so that all the output paths and logs are self contained
ahmedelgabri has quit [Ping timeout: 250 seconds]
<urkk> maybe I can just copy the corresponding entries in /nix/var/log ?
MatrixBot25 has joined #nixos
domogled has quit [Quit: domogled]
chiefgoat has quit [Ping timeout: 240 seconds]
cfricke has joined #nixos
aaaaaaaaaaaareis has joined #nixos
<aaaaaaaaaaaareis> I'm trying to add a vim plugin to nixpkgs, but when i run the update.py script (WITH the regquired args, as said in the readme), it prints plenty of too many requests errors, until it crashes about 4m later:
<aaaaaaaaaaaareis> ```
<aaaaaaaaaaaareis> I'm trying to add a vim plugin to nixpkgs, but when i run the update.py script (WITH the regquired args, as said in the readme), it prints plenty of too many requests errors, until it crashes about 4m later:
aaaaaaaaaaaareis has quit [Client Quit]
aaaaaaaaaaaareis has joined #nixos
vidbina has joined #nixos
<aaaaaaaaaaaareis> sorry for this ;-; I'm super new to IRC
<evanjs> aaaaaaaaaaaareis: you need to set up GitHub auth IIRC. Does it point you to a page that tells you what to do?
aveltras has joined #nixos
zupo has joined #nixos
chiefgoat has joined #nixos
dotdotok has joined #nixos
<aveltras> anyone using nixos-unstable with nixpkgs-wayland overlay ? it seems i can't rebuild successfully because of hash mismatch in rust packages, anyone has the same issue ?
superherointj has joined #nixos
<evanjs> whaaaaaaaaaaaat. so this seems to work..? https://github.com/PyO3/pyo3/issues/340#issuecomment-461276338
<evanjs> [dependencies.pyo3]
<evanjs> features = []
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocp-indent: use Dune 2 »: https://git.io/JOkHM
<evanjs> in the project it is set to `features = ["extension-module"]`
<{^_^}> [nixpkgs] @Ma27 merged pull request #119005 → tcpdump: 4.9.3 -> 4.99.0 → https://github.com/NixOS/nixpkgs/pull/119005
<evanjs> But clearing the features seems to get it building
Trustee has quit [Quit: Leaving]
Maaaanu has joined #nixos
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @Atemu opened pull request #119134 → anki-bin: 2.1.40 -> 2.1.43 → https://github.com/NixOS/nixpkgs/pull/119134
<{^_^}> [nixpkgs] @sternenseemann merged pull request #119130 → haskellPackages.PyF: un mark as broken → https://github.com/NixOS/nixpkgs/pull/119130
CptCaptain has quit [Quit: WeeChat 2.9]
ahmedelgabri has quit [Ping timeout: 260 seconds]
astylian has quit [Ping timeout: 252 seconds]
aaaaaaaaaaaareis has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @m1cr0man opened pull request #119135 → mailman-web-unstable: 2019-09-29 -> 2021-04-10 → https://github.com/NixOS/nixpkgs/pull/119135
dev_mohe has joined #nixos
dev_mohe has quit [Client Quit]
wenngle[m] has joined #nixos
respawn_ has quit [Quit: Leaving]
waleee-cl has joined #nixos
Maaaanu has left #nixos ["Leaving"]
<evanjs> Are we locked to rust stable for packages available in nixpkgs?
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119136 → pcb2gcode: 2.3.0 -> 2.3.1 → https://github.com/NixOS/nixpkgs/pull/119136
avaq has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119137 → pdfcpu: 0.3.9 -> 0.3.11 → https://github.com/NixOS/nixpkgs/pull/119137
lunik1 has left #nixos [":x"]
kolaente_ has quit [Quit: WeeChat 2.9]
fuzzypixelz100 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #119138 → python3Packages.aiolip: init at 1.1.4, python3Packages.pylutron-caseta: init at 0.9.0 → https://github.com/NixOS/nixpkgs/pull/119138
<pie_> can a nix shell shebang eval a shell.nix?
<pie_> it seems to work but something isnt right because things break if i try to run it from another directory
<pie_> error: syntax error, unexpected ';', expecting ':' or '@', at /somepath/default.nix:4:6
<pie_> It calls the default.nix in that directory instead of the file it's running
<pie_> just looks like:
<pie_> #! /usr/bin/env nix-shell
<pie_> #! nix-shell -v -A devShell
<evanjs> pie_: what are you doing now lol
<gchristensen> pie_: nix-shell -i bash ./relative-to-the.sh-file -A devShell might work?
<gchristensen> (in the shebang)
<pie_> the file is a nix script so -i nix-shell?
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/b39544be6c2 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<gchristensen> you want to execute a .nix file?
<pie_> yes
<gchristensen> ...what would it do?
<pie_> am I doing something weird
<pie_> am I thinking of this wrong
<pie_> well, it would put me in a nix-shell
<gchristensen> just make a script and don't shebang nix-shell, just put: nix-shell ./foo.nix -A shell.nix
<gchristensen> erm
<gchristensen> -A devShell
vidbina has quit [Ping timeout: 250 seconds]
cfricke has quit [Ping timeout: 250 seconds]
<pie_> evanjs: trying to _not_ do things with network https://bpa.st/KTVQ
<pie_> gchristensen: yeah but what if i can just ./shell.nix :P
<pie_> ezpz
<pie_> wouldnt that be nice
<pie_> oh i see, im a bit low on sleep, you said put that in a script
<gchristensen> you'd need to make an "interpreter" program that
<pie_> i mean, i _could_ but if i can avoid it it would still benice
<gchristensen> you could define that program in your shell.nix of course
ibanja has joined #nixos
<pie_> hm? <gchristensen> you'd need to make an "interpreter" program that
<{^_^}> nix#4232 (by lilyball, 22 weeks ago, open): nix-shell shebang does not interpret -E relative to script dir
sk4l[m] has left #nixos ["User left"]
<pie_> hm well ok the current behaviour doe smake sense its just not nice
<ibanja> Hmm... new to this and not sure what is happening:
<ibanja> nix-env -qaP '.*firefox.*'
<ibanja> error: selector '.*firefox.*' matches no derivations
<pie_> gchristensen: the shebang line is an arbitrary command?
<ibanja> nix-env -qas
<ibanja> warning: don't know how to open Nix store 'https://cache.nixos.org/'
<gchristensen> -i bash <- bash is an arbitrary command
<pie_> mm. doesnt even seem to get that far, let me put together a repro
<gchristensen> the program passed to -i needs to expect to be run in a shebang
<pie_> how does that work
<pie_> guess i can google tht
<{^_^}> [nixpkgs] @fabaff opened pull request #119139 → python3Packages.nexia: init at 0.9.6 → https://github.com/NixOS/nixpkgs/pull/119139
<virkony> did nix 3.0 was "renamed" to 2.4?
* pie_ squints, I'm missing something obvious here
<pie_> gchristensen: https://bpa.st/K23A the shebang and trying to run from another directory both cause the same error
nschoe has joined #nixos
<pie_> calling it from its own directory is fine
<gchristensen> sounds like a puzzle :)
<pie_> gchristensen: its not just be being blind and sleep deprived right?
<pie_> *me
<gchristensen> not sure, I haven't looked -- sorry
<pie_> someone sanity check me x)
<pie_> what a yak shave day x)
<pie_> also, good morning
<sterni> pie_: I think 3.0 will bring flakes and 2.4 the nix-command interface or something along those lines
mmmattyx has joined #nixos
<sterni> not 100% sure though
<nschoe> Hi everyone, I'm trying to install a KiCad version from source. I've this (https://paste.ofcode.org/E7mv5wUeFVvAbCWJxMFqrb) in a default.nix, and I followed comments in the kicad .nxi file (here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/electronics/kicad/default.nix#L54-L67) But when I try `nix-build` it gives me `error: anonymous function at [...]/kicad/default.nix:1:1 called with unexpected argument '
<nschoe> srcs' [...]". How come?
<nschoe> 'srcs' *is* an argument :/
<pie_> nschoe: are you comparing it to the kicad .nix file or to how its being called from all-packages.nix?
<pie_> they may be different
<nschoe> pie_: I'mnot sure I understand.
Henson has joined #nixos
<sterni> nschoe: srcs is not an argument, but an derivation attribute, so you need to use overrideAttrs
<sterni> arguments are always function inputs so usually dependencies
<nschoe> pie_: all-packages.nix provie a "kicad" (normal), "kicad-small" which is defined as "kicad.override {with3d = false;}", and a "kicad-unstable".
<pie_> ok so this is whats in all-packages, so nothing misleading there; kicad-unstable = kicad.override { pname = "kicad-unstable"; stable = false; };
<nschoe> sterni: ohhh right. Thanks. Then the comments in the kicad file are wrong?
<{^_^}> [nixpkgs] @doronbehar merged pull request #119137 → pdfcpu: 0.3.9 -> 0.3.11 → https://github.com/NixOS/nixpkgs/pull/119137
<pie_> sterni: sharper eyes every time -_-
<nschoe> thanks then !
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119070 → [20.09] openvswitch: 2.13.0 -> 2.13.3, resolving CVE-2020-35498 & CVE-2020-27827 → https://github.com/NixOS/nixpkgs/pull/119070
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119073 → [20.09] openvswitch-lts: 2.5.9 -> 2.5.12, addressing CVE-2020-27827 & CVE-2020-35498 → https://github.com/NixOS/nixpkgs/pull/119073
<sterni> nschoe: huh it should work actually it is taking srcs as an input
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119074 → python3Packages.aioemonitor: init at 1.0.5 → https://github.com/NixOS/nixpkgs/pull/119074
<pie_> sterni: ok i thought you looked at the source, besides in mkDerivation its just src isnt it?
<sterni> nschoe: oh you need to pass unstable = true; as well it seems from reading the source
<sterni> nschoe: err stable = false
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119077 → [20.09] umoci: 0.4.6 -> 0.4.7, addressing CVE-2021-29136 → https://github.com/NixOS/nixpkgs/pull/119077
<sterni> pie_: you can also pass a list of sources to mkDerivation via srcs
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119078 → gnomeExtensions.unite: 48 -> 49 → https://github.com/NixOS/nixpkgs/pull/119078
<sterni> pie_: that's what I originally thought was happening
<pie_> ah
<pie_> sounds vaguely familiar
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119080 → linux_xanmod: 5.11.12 -> 5.11.13 → https://github.com/NixOS/nixpkgs/pull/119080
<{^_^}> [nixpkgs] @fabaff opened pull request #119140 → python3Packages.python-telegram-bot: 13.3 -> 13.4.1 → https://github.com/NixOS/nixpkgs/pull/119140
<nschoe> sterni: oh! Good catch!
lsix has joined #nixos
<sterni> pie_: yes
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119141 → promscale: 0.2.1 -> 0.3.0 → https://github.com/NixOS/nixpkgs/pull/119141
<nschoe> sterni: hum it still doesn'twork.
<{^_^}> [nixpkgs] @mausch opened pull request #119142 → tf2pulumi: init at 0.10.0 → https://github.com/NixOS/nixpkgs/pull/119142
<nschoe> The issue I have is not that it ignores srcs, it is that nix fails with "unexpected argument". Weird
<sterni> what are you passing?
<sterni> note that stable shouldn't be inside the srcs set
<nschoe> sterni: that's why I'm using https://paste.ofcode.org/zQ5eKkZz6WTsGNnfrpFbKF (with the stable = false)
<sterni> huh that's weird
<sterni> that should work
<sterni> actually it works for me
<sterni> maybe update your channel / try using master?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119086 → hfinger: init at 0.2.0 → https://github.com/NixOS/nixpkgs/pull/119086
<nschoe> sterni: I've jsut updated my channel indeed. I've made a switch, even.
<nschoe> Let me reboot, jsut in case.
<sterni> nschoe: are you using the stable channel?
<nschoe> sterni: the exact same file I shared, it works for you?
<sterni> yes
<nschoe> sterni: nix-channel --list
<sterni> doesn't take a srcs input
vidbina has joined #nixos
<nschoe> Ah!
<nschoe> Damn.
<nschoe> sterni: thanks.
<pie_> x)
sciamp has joined #nixos
zopieux has quit [Quit: zopieux]
ahmedelgabri has joined #nixos
<nschoe> I'll clone nixpkgs and use master then.
<nschoe> Thanks for the help!, pie_ too
bopbop has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119143 → qdirstat: 1.7 -> 1.7.1 → https://github.com/NixOS/nixpkgs/pull/119143
zopieux has joined #nixos
<bopbop> has anyone had their interview with the summer of nixos people yet?
<{^_^}> [nixpkgs] @Mic92 merged pull request #118964 → python3Packages.pytorch: disable building of tests → https://github.com/NixOS/nixpkgs/pull/118964
<{^_^}> [nixpkgs] @Ma27 merged pull request #118892 → wdisplays: 1.0 -> 2021-04-03 → https://github.com/NixOS/nixpkgs/pull/118892
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119098 → shadowsocks-rust: 1.10.3 -> 1.10.5 → https://github.com/NixOS/nixpkgs/pull/119098
Noisytoot is now known as Noisytoot__
Noisytoot__ is now known as Noisytoot
<{^_^}> [nixpkgs] @bhipple opened pull request #119144 → fava: update maintainers → https://github.com/NixOS/nixpkgs/pull/119144
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119099 → air: 1.15.1 -> 1.25 → https://github.com/NixOS/nixpkgs/pull/119099
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119103 → clpm: build with sbcl 2.0.9 → https://github.com/NixOS/nixpkgs/pull/119103
<{^_^}> [nixpkgs] @bhipple merged pull request #119062 → oneDNN: 2.1.3 -> 2.2.1 → https://github.com/NixOS/nixpkgs/pull/119062
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119105 → xfig: 3.2.8 -> 3.2.8a → https://github.com/NixOS/nixpkgs/pull/119105
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119107 → fig2dev: 3.2.8 -> 3.2.8a → https://github.com/NixOS/nixpkgs/pull/119107
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @SuperSandro2000 reopened pull request #119111 → python3Packages.httplib2: 0.19.0 -> 0.19.1 → https://github.com/NixOS/nixpkgs/pull/119111
zopieux has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119145 → r2mod_cli: 1.0.6 -> 1.0.7 → https://github.com/NixOS/nixpkgs/pull/119145
<ronthecookie> hey so I was just going about my normal things and this happened: https://termbin.com/klyu
sciamp has quit [Quit: Konversation terminated!]
zopieux has joined #nixos
<ronthecookie> not sure where to start as I haven't done anything to justify that recently
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119116 → github-commenter: 0.8.0 -> 0.9.0 → https://github.com/NixOS/nixpkgs/pull/119116
lsix has quit [Ping timeout: 250 seconds]
<ronthecookie> okay nevermind I have found the cause: https://i.ronthecookie.me/Jw1dUa3.png
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119118 → octant-desktop: 0.18.0 -> 0.19.0 → https://github.com/NixOS/nixpkgs/pull/119118
<gchristensen> oh gosh
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119120 → python3Packages.wakeonlan: 2.0.0 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/119120
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119121 → python3Packages.twilio: 6.51.1 -> 6.56.0 → https://github.com/NixOS/nixpkgs/pull/119121
vidbina has quit [Ping timeout: 260 seconds]
vidbina has joined #nixos
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119122 → ifcopenshell: 0.6.0b0 -> 210410 → https://github.com/NixOS/nixpkgs/pull/119122
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119124 → cutter: 2.0.0 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/119124
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119125 → librsync: 2.3.1 -> 2.3.2 → https://github.com/NixOS/nixpkgs/pull/119125
kaction has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119146 → rink: 0.5.1 -> 0.6.0 → https://github.com/NixOS/nixpkgs/pull/119146
<{^_^}> [nixpkgs] @mausch opened pull request #119147 → pulumi-bin: 2.23.2 -> 2.24.1 → https://github.com/NixOS/nixpkgs/pull/119147
griff__ has joined #nixos
<{^_^}> [nixpkgs] @andresilva opened pull request #119148 → polkadot: fix invalid cargoSha256 → https://github.com/NixOS/nixpkgs/pull/119148
kaction has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #118976 → jasper: 2.0.26 -> 2.0.28 → https://github.com/NixOS/nixpkgs/pull/118976
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119149 → rssguard: 3.9.0 -> 3.9.1 → https://github.com/NixOS/nixpkgs/pull/119149
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #118922 → yapesdl: init at 0.70.2 → https://github.com/NixOS/nixpkgs/pull/118922
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119134 → anki-bin: 2.1.40 -> 2.1.43 → https://github.com/NixOS/nixpkgs/pull/119134
<evanjs> Also, I have been noticing a lot more sri hashes lately. Is this something we're moving towards in regards to the preferred hash format?
<{^_^}> [nixpkgs] @mausch opened pull request #119151 → aws-workspaces: 3.1.3.925 -> 3.1.5.1105 → https://github.com/NixOS/nixpkgs/pull/119151
<{^_^}> [nixpkgs] @fabaff merged pull request #119082 → pythonPackages.karton-core: init at 4.2.0 → https://github.com/NixOS/nixpkgs/pull/119082
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119152 → rtsp-simple-server: 0.15.3 -> 0.15.4 → https://github.com/NixOS/nixpkgs/pull/119152
<evanjs> anybody have some ideas on how I could clean this up? (default attributes and etc. aside) -- https://gist.github.com/evanjs/d127854be4c1ab18d5df6a8496f9c3bb
<evanjs> Couldn't get the rs3cache binary to build with buildPython{Package,Application}, but I might have been using them wrong
Kinnison has joined #nixos
simukis_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Kinnison> Good afternoon all, I'm having some trouble with a nixos system I've been putting together using nix flakes.
<Kinnison> It has been working well for a while, but for a few days now, if I update the nixpkgs flake in the lock, then I cannot build the system because home-manager can't build
simukis_ has joined #nixos
<evanjs> Do you have some output that describes the error?
<Kinnison> the error is:
<Kinnison> error: cannot import '/nix/store...-nmd', since path '/nix/store/....-nmd.drv' is not valid (with different ...s)
<Kinnison> the line in question failing is line 16 of home-manager's doc/default.nix which is nmd = import nmdSrc { inherit lib pkgs; };
<Kinnison> Sorry I can't easily copy/paste since the machine in question is a VM
<Kinnison> I should try and ssh into it so I can, one tic
<evanjs> ah, no guest utilities or etc.?
<{^_^}> [nixos-weekly] @NorfairKing opened pull request #154 → Added "The `ci.nix` Pattern" → https://github.com/NixOS/nixos-weekly/pull/154
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119153 → rust-analyzer-unwrapped: unstable-2021-03-22 -> unstable-2021-04-05 → https://github.com/NixOS/nixpkgs/pull/119153
<{^_^}> [nixos-weekly] @domenkozar merged pull request #154 → Added "The `ci.nix` Pattern" → https://github.com/NixOS/nixos-weekly/pull/154
zupo has joined #nixos
<Kinnison> evanjs: https://paste.rs/xvW
<Kinnison> evanjs: the dirty is just the nix flake update
<sss2> https://hubzilla.dark-alexandr.net/articles/sss/44edcadf-519f-4055-8418-00229b6aaf5d - short article about package management differences, is everything correct about nix ?
* Kinnison is very new to nixos and is still learning how to diagnose this kind of thing
ahmed_elgabri has joined #nixos
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119154 → rust-cbindgen: 0.18.0 -> 0.19.0 → https://github.com/NixOS/nixpkgs/pull/119154
ahmedelgabri has quit [Ping timeout: 276 seconds]
<Kinnison> Looks like nixpkgs was previously pinned to 91b77fe (4th april)
<Kinnison> (I'm following the 20.09 branch for that flake)
<{^_^}> [nixpkgs] @fabaff opened pull request #119157 → python3Packages.karton-classifier: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/119157
<Church-> Hmm, anyone ever set up nixOS containers with wg as the network interface?
<evanjs> wow. I am much less iritated with go on nix with go modules
<Church-> Heh
<Church-> It did seem to just work when I tried it
<Church-> After a few minutes of fiddling.
<evanjs> yeah I was using buildGoPackage before
<ibanja> Is this the correct entry in ~/.nix-channels for stable? cat .nix-channels
<evanjs> required setting up a go environment and getting a GOPATH and... bleh
<gchristensen> no, ibanja
griff__ has quit [Quit: griff__]
<gchristensen> ibanja: nixos https://nixos.org/channels/nixos-20.09
<ibanja> gchristensen: oK... thanks
<Kinnison> ohai gchristensen
mschwaig has quit [Quit: WeeChat 3.0]
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOIYC
<virkony> How do I consume container configuration.nix in a flake?
<virkony> I want to use it in host system configuration.nix containers.mycontainer = ...
griff__ has joined #nixos
mschwaig has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119158 → sd-local: 1.0.30 -> 1.0.31 → https://github.com/NixOS/nixpkgs/pull/119158
<{^_^}> [nixpkgs] @mausch opened pull request #119159 → kubepug: init at 1.1.3 → https://github.com/NixOS/nixpkgs/pull/119159
<workerdrone> How does one try and build a package from their checked out copy of nixpkgs? I am trying to do my first package, and when trying to call nix-build on it, it of course complains that it can't auto-call a function that has an argument without a default value (fair enough, it's written in nixpkg style, have read up that those have to be wrapped in callPackage one way or another), so I decided that I should try building an already existent
<workerdrone> package this way, but I don't really see how one would do that.
aveltras has quit [Quit: Connection closed for inactivity]
<virkony> workerdrone: I think you need to use something like pkgs.callPackage, where pkgs is something like (import <nixpkgs> {}) for example
jophish__ has quit [Ping timeout: 240 seconds]
sangoma has quit [Ping timeout: 240 seconds]
cfricke has joined #nixos
<Kinnison> evanjs: I think I've tracked down to a single merge where before the merge to nixpkgs I don't get the error and afterwards I do
<Kinnison> evanjs: 67fe7b4b81486e197a0d4e2ec48d9e5d1fd20cce works, 26e33dc1e92ae496cbc121be1dc4415dedf957a8 does not
<virkony> if you are checking out nixpkgs and fine loading all packages from that repo, you probably can use nix-build . -A attribute-to-install
<Kinnison> evanjs: afaict that's just adding some patches to curl
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119160 → sickgear: 0.23.15 -> 0.23.16 → https://github.com/NixOS/nixpkgs/pull/119160
VideoGameEnjoyer has joined #nixos
mschwaig has quit [Quit: WeeChat 3.0]
lordcirth_ has joined #nixos
mschwaig has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119161 → simplenote: 2.8.0 -> 2.9.0 → https://github.com/NixOS/nixpkgs/pull/119161
<{^_^}> [nixpkgs] @veprbl closed pull request #118032 → ccache: 4.2 -> 4.2.1 → https://github.com/NixOS/nixpkgs/pull/118032
mschwaig has quit [Client Quit]
<Kinnison> evanjs: It looks like nmd consumes curl as a nativeBuildInputs - I wonder if this is something going iffy with a security update vs. how flakes work?
lordcirth has quit [Ping timeout: 258 seconds]
<evanjs> Kinnison: yeah, I haven't dealt with any buildInputs vs nativeBuildInputs issues in a while, but I have seen some things become more strict lately
mschwaig has joined #nixos
<evanjs> like some rust packages that worked before where buildInputs and nativeBuildInputs were conflated now require the inputs are defined in the right places, etc.
<{^_^}> [nixpkgs] @gebner opened pull request #119162 → medfile: use hdf5 1.10 → https://github.com/NixOS/nixpkgs/pull/119162
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119163 → singularity: 3.7.2 -> 3.7.3 → https://github.com/NixOS/nixpkgs/pull/119163
vidbina has joined #nixos
bvdw has joined #nixos
<Kinnison> evanjs: Hmm. I am guessing based on reading the working ...-nmd.drv file from the nix store of course -- as I said I'm very new to all this
* Kinnison literally started a week ago pretty much
sangoma has joined #nixos
thomasSDK[m] has joined #nixos
RyuKurisu[m] has quit [Quit: Idle for 30+ days]
<evanjs> Mrm yeah it usally helps to have a full expression/flake when debugging over irc or etc
<evanjs> A bit harder with system configs, for sure
<Kinnison> The system repo is https://github.com/kinnison/nixos-hosts and the system is 'test'
<Kinnison> Who knows how many rookie mistakes I've made so far :D
<magnetophon> My laptop stopped changing power state: no upower events, wrong value in /sys/class/power_supply/AC/online Odly, booting into an older NixOS generation does not fix it! It always says it's charging, even when unplugged, yet it always discharges, even when plugged. It might have started when I did tlp recalibrate, but I'm not sure.
<{^_^}> [nixpkgs] @SamirTalwar opened pull request #119164 → geckodriver: 0.26.0 -> 0.29.1 → https://github.com/NixOS/nixpkgs/pull/119164
<{^_^}> [nixpkgs] @r-ryantm opened pull request #119165 → slither-analyzer: 0.7.0 -> 0.7.1 → https://github.com/NixOS/nixpkgs/pull/119165
<gchristensen> srhb: ping re https://github.com/DBCDK/morph/pull/141 :) and I'd like to send a PR for another thing, but I'm not sure it'll be merged
<{^_^}> DBCDK/morph#141 (by cole-h, 12 weeks ago, open): nix: add config file to NIX_SSHOPTS
VideoGameEnjoyer has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @JohnAZoidberg merged pull request #117624 → chipsec: 1.5.1 -> 1.6.1 → https://github.com/NixOS/nixpkgs/pull/117624
VideoGameEnjoyer has joined #nixos
le0taku has joined #nixos
leotaku has quit [Ping timeout: 240 seconds]
Poumpaloumpa has joined #nixos
meteo has quit [Ping timeout: 240 seconds]
Poumpaloumpa has left #nixos [#nixos]
meteo has joined #nixos
miscalculated has quit [Quit: IRCNow and Forever!]
griff__ has quit [Quit: griff__]
cole-h has joined #nixos
VideoGameEnjoyer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @gebner merged pull request #119162 → medfile: use hdf5 1.10 → https://github.com/NixOS/nixpkgs/pull/119162
VideoGameEnjoyer has joined #nixos
karel has joined #nixos
karel is now known as Guest16900
<{^_^}> [nixpkgs] @fabaff merged pull request #119144 → fava: update maintainers → https://github.com/NixOS/nixpkgs/pull/119144
<Guest16900> Anyone online who can help me out configuring Nixos-shell (the QEMU VM helper)? I'm having trouble with setting up permissions for my user.
ahmedelgabri has joined #nixos
<evanjs> Kinnison: seeing what happens when I try and build locally
<Kinnison> evanjs: thank you, I'm trying to do that on a spare box I have here (debian, but with nix installed) since that might be easier for me to strace etc.
<Kinnison> if I end up needing to
<workerdrone> Is there any tradition as to how packages in nixpkgs/pkgs/top-level/all-packages.nix should be ordered?
jonringer has joined #nixos
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @risicle merged pull request #119141 → promscale: 0.2.1 -> 0.3.0 → https://github.com/NixOS/nixpkgs/pull/119141
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118647 → syncthing: 1.14.0 -> 1.15.1 → https://github.com/NixOS/nixpkgs/pull/118647
<evanjs> workerdrone: that's a great question lol
<{^_^}> [nixpkgs] @friedelino opened pull request #119166 → maintainers: add friedelino → https://github.com/NixOS/nixpkgs/pull/119166
oxalica has joined #nixos
endformationage has joined #nixos
Henson has quit [Ping timeout: 268 seconds]
supersandro2000 has quit [Remote host closed the connection]
supersandro2000 has joined #nixos
jonringer has quit [Remote host closed the connection]
jonringer has joined #nixos
<Kinnison> evanjs: When I try to do the build on my desktop, it doesn't seem to fail in the same way, which suggests I've messed something up on my test VM perhaps?
<Kinnison> evanjs: On my desktop, `nix build git+file:///path/to/nixos-hosts\#nixosConfigurations.\"test\".config.system.build.toplevel --dry-run` works
<Kinnison> evanjs: the equivalent on the test VM gives the error I started the conversation with
* Kinnison ponders clearing his entire store on the desktop
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #119167 → [20.09] syncthing: add patch for CVE-2021-21404 → https://github.com/NixOS/nixpkgs/pull/119167
Guest16900 has quit [Ping timeout: 240 seconds]
astylian has joined #nixos
fendor_ has joined #nixos
<Kinnison> evanjs: Interestingly if I take --dry-run away I think it's able to build it, so I wonder if there's something trying to import from the store rather than being pure?
<Kinnison> (I say "I think" because it's still building on the vm)
fendor has quit [Ping timeout: 252 seconds]
<evanjs> I mean I did see a few things going on in the Makefile outside of `nix build`
<evanjs> sops and gpg updates, etc.
<Kinnison> Oh goodness, the makefile in that repo is a mess
<evanjs> [1 copied (85.2 MiB), 15.2 MiB DL]«derivation /nix/store/ikfrkq5nn323f606x1s5fkh86033hjbz-nixos-system-test-20.09.20210404.91b77fe.drv»
<evanjs> seems to build here, yeah
<evanjs> well I didn't change anything yet though
<Kinnison> Right, so without --dry-run I can build it with an updated flake lock
<Kinnison> That's, erm, interesting
<Kinnison> So it couldn't dry-run and gave the odd error about not being able to import something directly from the store, but without dry-run it built
miscalculated has joined #nixos
<evanjs> Oh well sometimes dry-run might not be able to run for various reasons
<evanjs> I have made a few issues for myself with e.g. IFD (import from derivations), etc.
<Kinnison> so I guess if I hit this kind of thing in the future I should do a non-dry build
* Kinnison learns something new
<Kinnison> evanjs: thank you for helping me thinking through this
<evanjs> Rubber ducking is great--I mean I never do that :P
philr has quit [Ping timeout: 240 seconds]
<evanjs> `nixos-rebuild test` might also help if you want to see what happens before actually "switching"
<Kritnich> Does anyone have some pointers to booting a Pi 4 with NixOS via TFTP? I have everything set up and it's able to pull the boot files but gets stuck in U-Boot.
<Kinnison> evanjs: is that more sensible than dry-build ?
<evanjs> Kritnich: pinging clever :P
<evanjs> Kinnison: oh wait nvm that just builds it but doesn't add it to the boot menu
<evanjs> there is `dry-activate`, though
<clever> Kinnison: oh, an rpi...
<evanjs> "Build the new configuration, but instead of activating it, show what changes would be performed by the activation"
<clever> Kinnison: last time i netbooted an rpi, i used https://github.com/cleverca22/nixos-configs/blob/master/iscsi-boot.nix without uboot
<gchristensen> anyone using https://github.com/nix-community/impermanence or an ephemeral root and also tailscale? I'm looking to know how you manage your tailscale state.
<Kritnich> clever: taking a look at this, thanks
<evanjs> stupid similar names in the same color. bad weechat lol
<{^_^}> [nixpkgs] @lsix opened pull request #119168 → proj: 6.3.1 -> 7.2.1 and related updates → https://github.com/NixOS/nixpkgs/pull/119168
VideoGameEnjoyer has quit [Quit: Konversation terminated!]
VideoGameEnjoyer has joined #nixos
<{^_^}> [nixpkgs] @justinas opened pull request #119169 → vimPlugins.vim-markdown-toc: init at 2021-03-02 → https://github.com/NixOS/nixpkgs/pull/119169
Mirrexagon has quit [Ping timeout: 248 seconds]
VideoGameEnjoyer has quit [Remote host closed the connection]
Mirrexagon has joined #nixos
<Kinnison> evanjs: oooh dry-activate looks good
* Kinnison wonders if bringing in the nixos-* tools from nixpkgs-unstable would stop the `warning: 'nix flake info' is a deprecated alias for 'nix flake metadata'`
<Kinnison> and if so, what the nix equivalent of dpkg -S bin/nixos-rebuild would be
<{^_^}> [nixpkgs] @doronbehar merged pull request #119152 → rtsp-simple-server: 0.15.3 -> 0.15.4 → https://github.com/NixOS/nixpkgs/pull/119152
<clever> Kinnison: nixos-rebuild is a special package and isnt in the normal package list
VideoGameEnjoyer has joined #nixos
<Kinnison> clever: so probably safer to wait for 21.05 ?
<Kinnison> clever: bearing in mind that I'm literally a week into my nixos journey :D
<clever> Kinnison: what are you trying to do?
<Kinnison> clever: I've been using a flake-style approach to /etc/nixos but nixos-rebuild always gives the warning I mentioned above
VideoGameEnjoyer has quit [Client Quit]
astylian has quit [Ping timeout: 265 seconds]
<clever> Kinnison: one of the first things i did with nixos, was made an SD card that booted on both x86 and an rpi, with a single rootfs!
ahmed_elgabri has joined #nixos
<clever> nixos-rebuild = pkgs.nixos-rebuild.override { nix = config.nix.package.out; };
<clever> oh, wait, somebody moved it!
<clever> > builtins.unsafeGetAttrPosition "nixos-rebuild" pkgs
<{^_^}> attribute 'unsafeGetAttrPosition' missing, at (string):494:1
<clever> > builtins.unsafeGetAttrPos "nixos-rebuild" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 29942; }
cole-h has quit [Ping timeout: 260 seconds]
<clever> nixos-rebuild = callPackage ../os-specific/linux/nixos-rebuild { };
delan has quit [Quit: ZNC - http://znc.in]
delan has joined #nixos
ahmedelgabri has quit [Ping timeout: 276 seconds]
<clever> Kinnison: the fix was applied 24 days ago, so you could just run nixos-unstable
<Kinnison> clever: I'm coming from a Debian background, so I kinda feel safer not running unstable as the core OS, I guess I wait for 21.05 :D
<Kinnison> the warning is hardly the end of the world
<clever> Kinnison: nixos-unstable is far more stable, and you have an undo button in the form of rollbacks
respawn_ has joined #nixos
<Kinnison> Oh I grok that, and over time I might end up gravitating toward it
<Kinnison> But right now... not so much :D
<clever> Kinnison: you can also use an overlay to change just pkgs.nixos-rebuild
<clever> ,unstable Kinnison
<{^_^}> Kinnison: How to install from unstable while remaining on stable: https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F . Also note that there's nixpkgs-unstable and nixos-unstable
<Kinnison> overlays is something I've not yet learned
<{^_^}> [rfcs] @fare opened pull request #91 → RFC 0091: Pure Object Prototypes → https://github.com/NixOS/rfcs/pull/91
<Kinnison> The colleague I stole the basic flake setup from provided an unstable overlay I think
* Kinnison looks
<Kinnison> welp, that didn't quite work :D
<Kinnison> error: 'flake' is not a recognised command
<Kinnison> test(git)% sudo nixos-rebuild switch
<Kinnison> I borked something
<Kinnison> and now I get to work out how to roll back :D valuable learning I suppose
<clever> Kinnison: nixos-rebuild rollback
<Kinnison> test(git)% sudo nixos-rebuild rollback
<Kinnison> /run/current-system/sw/bin/nixos-rebuild: unknown option `rollback'
<clever> ah, --rollback
<clever> and maybe throw in a switch?
<Kinnison> without the switch it gives me the help, and with --rollback switch I get the error as above
VideoGameEnjoyer has joined #nixos
<clever> nixos-rebuild --rollback switch
<clever> Kinnison: you can also rollback a little more manually, ls -lh /nix/var/nix/profiles/system
<clever> what does this output?
<Kinnison> er /nix/var/nix/profiles/system -> system-4-link
<hodapp> part of the reason I became quite adept at un-mangling disks and partitions is because of how many times as a kid I'd have to fix something before my parents found out
<hodapp> but NixOS has worked well enough for me that I have no similar experience
<clever> Kinnison: /nix/var/nix/profiles/system-3-link/bin/switch-to-configuration switch
<clever> that will apply version 3 back to the current system
<Kinnison> okay that did something but didn't change that symlink
<Kinnison> aah but now I can --rollback switch
jmeredith has quit [Quit: Connection closed for inactivity]
<Kinnison> So, unstable.nixos-rebuild in my environment.systemPackages was *not* the right answer to "how do I get nixos-rebuild from unstable?"
<Kinnison> or at least, not the whole answer
<{^_^}> [nixpkgs] @sikmir opened pull request #119170 → lagrange: 1.3.0 → 1.3.2 → https://github.com/NixOS/nixpkgs/pull/119170
<clever> Kinnison: which unstable did that unstable come from?
<Kinnison> a73020b2a150322c9832b50baeb0296ba3b13dd7
<Kinnison> according to my flake.lock
<Kinnison> I'm guessing the way I enable flake support in nix doesn't carry?
<clever> Kinnison: the fix is still present in that version
<clever> but you need the override as well, or use an overlay
<clever> nixpkgs.overlays = [ (self: super: { nixos-rebuild = unstable.nixos-rebuild; }) ];
<clever> Kinnison: this will cause tools/tools.nix to use unstable instead
<clever> Kinnison: we are relying on the .override here, to make nixos-rebuild use a flake capable nix
<clever> and the overlay, then changes what pkgs.nixos-rebuild refers to
<Kyndig> Does anyone know what config or env var settings might make nix-env try to read /etc/nixos/configuration.nix? This started happening after an upgrade from nixos 20.03 to 20.09:
<Kyndig> $ nix-env -iA nixpkgs.fzf error: opening file '/etc/nixos/configuration.nix': Permission denied
<clever> Kinnison: what are the contents of your config.nix?
<Kinnison> clever: my /etc/nixos is https://github.com/kinnison/nixos-hosts
<clever> oops, that question was for Kyndig
<clever> too many k names in here, Kyndig, Kinnison, and also Kritnich!
<Kinnison> oh heh :D
cfricke has quit [Ping timeout: 250 seconds]
<Kyndig> if you mean ~/.config/nix/config.nix, it exists, but it's all commented out lines, nothing more
<Kyndig> sorry i mean ~/.config/nix/nix.conf
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Kyndig> ahh you mean ~/.config/nixpkgs/config.nix
<Kyndig> also same; thing exists but commented out
<Kinnison> clever: adding that overlay line to my configuration doesn't seem to have changeed nixos-rebuild, Hmm.
<Kyndig> because I have overlays dir instead
<clever> Kyndig: ls -lh $NIXPKGS_CONFIG ?
<Kyndig> but this issue exists with a brand new user as well; I just did a useradd and nix-env -iA says same
<Kinnison> Kyndig: what are the permissions on /etc/nixos and /etc/nixos/configuration.nix ?
<Kyndig> $ ls -lh $NIXPKGS_CONFIG lrwxrwxrwx 1 root root 34 Apr 6 22:08 /etc/nix/nixpkgs-config.nix -> /etc/static/nix/nixpkgs-config.nix
<clever> Kyndig: and the contents of that file?
<Kyndig> $ cat $NIXPKGS_CONFIG (import <nixpkgs/nixos> {}).config.nixpkgs.config
<clever> Kyndig: and theres your problem
<Kyndig> $ ls -ld /etc/nixos /etc/nixos/configuration.nix drwxr-xr-x 5 root root 4096 Aug 26 2020 /etc/nixos -rw------- 1 root root 20490 Apr 6 22:07 /etc/nixos/configuration.nix
<clever> Kyndig: $NIXPKGS_CONFIG is an override for config.nix, and your file is setup so all users inherit the nixpkgs.config from configuration.nix
<clever> but now configuration.nix is root-only
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119171 → medfile: use HDF5 1.12 → https://github.com/NixOS/nixpkgs/pull/119171
<Kyndig> ahh; wow, I set that up in the configuration.nix like a year ago when trying to get global overlays to work (never did; documentation was conflicting and had issues)
<Kyndig> can't believe i didn't notice until now
<Kyndig> something in my shell must've been working around it
<Kyndig> I'll remove that now from config; thanks clever
astylian has joined #nixos
<{^_^}> [nixpkgs] @midchildan opened pull request #119172 → nixos/trafficserver: init → https://github.com/NixOS/nixpkgs/pull/119172
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a7ff7a57c96 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/842f900e73c (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
cfricke has joined #nixos
<Kyndig> I was looking at all the config files and env vars mentioned in nix-env manpage, but it doesn't even mention NIXPKGS_CONFIG
<Kyndig> is that on purpose or should this maybe be reported and changed?
<samueldr> Nix is written assuming Nixpkgs is not a requirement
<samueldr> but I just looked and saw that the Nixpkgs manual doesn't either document it
<Kyndig> oh, so nix-env is part of "nix", not part of "nixpkgs"
<samueldr> so I'd say it's on purpose in nix-env's man
<samueldr> yeah
<Kyndig> i always thought the opposite
<samueldr> there's three main projects
<samueldr> Nix, which is the package manager and language
<samueldr> Nixpkgs, the package set writte in Nix for use with Nix
<samueldr> written*
meh` has joined #nixos
* hodapp stabs CUDA in the face
<clever> nixos, a distro build arround nixpkgs and nix
<samueldr> and NixOS, its codebase is merged with Nixpkgs, but Nixpkgs can be used without NixOS involvement
<clever> nixops, a cluster management system, build around nixos, nixpkgs, and nix!
<samueldr> clever: three *main* projects :)
AkechiShiro has quit [Quit: WeeChat 2.9]
<samueldr> so NixOS builds on top of Nixpkgs... Nixpkgs is made possible through Nix
<samueldr> Nix can be used without Nixpkgs! [left as an exercise to the reader]
<Kyndig> so if nix-env doesn't know about nixpkgs, then how come it's looking at $NIXPKGS_CONFIG?
<Kyndig> i expected it to look at ~/.nix-defexpr
<clever> Kyndig: nix-env is just doing `(import <nixpkgs> {}).fzy` basically
<clever> Kyndig: and <nixpkgs> is what is looking at NIXPKGS_CONFIG
<clever> 2021-04-11 14:54:12 < samueldr> though this is the implementation where it's being used https://github.com/NixOS/nixpkgs/blob/d600f006643e074c2ef1d72e462e218b647a096c/pkgs/top-level/impure.nix#L25-L35
<clever> Kyndig: that area of impure.nix
<samueldr> nix-env doesn't know to look at NIXPKGS_CONFIG, but the Nix code, part of Nixpkgs is
<samueldr> but that does mean _a_ Nixpkgs is being evaluated
* samueldr scrolls back trying to find the initial question
<Kyndig> ahh; got it
<Kyndig> thank you
<{^_^}> [nixpkgs] @LeSuisse opened pull request #119173 → irssi: 1.2.2 -> 1.2.3 → https://github.com/NixOS/nixpkgs/pull/119173
cfricke has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #119171 → medfile: use HDF5 1.12 → https://github.com/NixOS/nixpkgs/pull/119171
<{^_^}> [nixpkgs] @oxalica closed pull request #119153 → rust-analyzer-unwrapped: unstable-2021-03-22 -> unstable-2021-04-05 → https://github.com/NixOS/nixpkgs/pull/119153
wunderbrick has joined #nixos
liuyb has quit [Ping timeout: 268 seconds]
Qwerky has joined #nixos
<wunderbrick> What's the best way to sort a set alphabetically by keys?
<pie_> wunderbrick: attrsets are already sorted?
<pie_> well, depends on what you mean by alphabetically i guess
zupo has joined #nixos
<wunderbrick> Oh yeah, duh. Haha. I'm just looking at a huge attr set in a file and needing to alphabetize. I can just import the file and spit it back out.
<{^_^}> [nixpkgs] @MetaDark opened pull request #119176 → ccache: 4.2 -> 4.2.1 → https://github.com/NixOS/nixpkgs/pull/119176
vidbina has quit [Ping timeout: 250 seconds]
evanjs has quit [Quit: ZNC 1.8.2 - https://znc.in]
evanjs has joined #nixos
evanjs has quit [Remote host closed the connection]
evanjs has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #119179 → python3Packages.sleepyq: init at 0.8.1 → https://github.com/NixOS/nixpkgs/pull/119179
vidbina has joined #nixos
<wunderbrick> Well sets aren't really sorted like I need them to be if I just import the set and write it back to a file. It seems the order that way is capital letters, then special characters like _, then lowercase letters when I guess I need special characters first, then everything else, case-insensitive. What I'm actually trying to do is sort maintainer-list.nix per a reviewer's request and I'm not sure the
<wunderbrick> best way to go about it, or really why it should be done for my particular pull request. lol.
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #119180 → bazel-buildtools: 3.5.0 -> 4.0.1 → https://github.com/NixOS/nixpkgs/pull/119180
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lsix has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @SFrijters opened pull request #119181 → wine{Unstable,Staging}: 6.5 -> 6.6 → https://github.com/NixOS/nixpkgs/pull/119181
Qwerky has quit [Remote host closed the connection]
respawn_ has quit [Quit: Leaving]
AkechiShiro has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #119182 → update.py: allow to disable autocommit → https://github.com/NixOS/nixpkgs/pull/119182
<{^_^}> [nixpkgs] @sikmir opened pull request #119183 → cudatext: 1.129.3 → 1.131.0 → https://github.com/NixOS/nixpkgs/pull/119183
tomberek has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @teto merged pull request #117309 → libsForQt5.fcitx5-qt: 5.0.2 -> 5.0.4 → https://github.com/NixOS/nixpkgs/pull/117309
<{^_^}> [nixpkgs] @teto merged pull request #117308 → fcitx5-lua: 5.0.3 -> 5.0.4 → https://github.com/NixOS/nixpkgs/pull/117308
fuiltilt has joined #nixos
shibboleth has joined #nixos
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @reedrw opened pull request #119184 → r2mod_cli: use bashInteractive as interpreter → https://github.com/NixOS/nixpkgs/pull/119184
Qwerky has quit [Ping timeout: 260 seconds]
sangoma has quit [Ping timeout: 252 seconds]
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
attila_lendvai has joined #nixos
vidbina has quit [Ping timeout: 250 seconds]
Qwerky has joined #nixos
mmalter has joined #nixos
mmalter has left #nixos [#nixos]
avaq has quit [Ping timeout: 252 seconds]
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda opened pull request #119185 → python2Packages.pycairo: init at 1.18.2 → https://github.com/NixOS/nixpkgs/pull/119185
liuyb has joined #nixos
sangoma has joined #nixos
growpotkin has joined #nixos
attila_lendvai has quit [Ping timeout: 268 seconds]
liuyb has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @ncfavier opened pull request #119186 → nixos/nginx: add option rejectSSL exposing ssl_reject_handshake → https://github.com/NixOS/nixpkgs/pull/119186
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #119104 → [20.09] mediawiki: 1.35.1 -> 1.35.2 → https://github.com/NixOS/nixpkgs/pull/119104
ForgottenPackage has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
Lord_of_Life_ has joined #nixos
sangoma has quit [Ping timeout: 252 seconds]
zeenk has joined #nixos
Qwerky has quit [Ping timeout: 246 seconds]
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life_ is now known as Lord_of_Life
sangoma has joined #nixos
ahmed_elgabri has joined #nixos
meck has joined #nixos
<{^_^}> [nixpkgs] @bachp merged pull request #119012 → go-ethereum: 1.10.1 -> 1.10.2 → https://github.com/NixOS/nixpkgs/pull/119012
quinn has quit [Quit: ZNC 1.8.2 - https://znc.in]
growpotk- has joined #nixos
quinn has joined #nixos
<{^_^}> [nixpkgs] @r-burns opened pull request #119187 → aws-c-common: 0.5.2 -> 0.5.4 → https://github.com/NixOS/nixpkgs/pull/119187
growpotk- has quit [Ping timeout: 252 seconds]
quinn has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119060 → python3Packages.pydanfossair: init at 0.1.0 → https://github.com/NixOS/nixpkgs/pull/119060
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119071 → python3Packages.aiosyncthing: init at 0.5.1 → https://github.com/NixOS/nixpkgs/pull/119071
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119147 → pulumi-bin: 2.23.2 -> 2.24.1 → https://github.com/NixOS/nixpkgs/pull/119147
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119148 → polkadot: fix invalid cargoSha256 → https://github.com/NixOS/nixpkgs/pull/119148
meh` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119151 → aws-workspaces: 3.1.3.925 -> 3.1.5.1105 → https://github.com/NixOS/nixpkgs/pull/119151
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119079 → python3Packages.pyclimacell: init at 0.18.0 → https://github.com/NixOS/nixpkgs/pull/119079
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119157 → python3Packages.karton-classifier: init at 1.0.0 → https://github.com/NixOS/nixpkgs/pull/119157
rsynnest63 has joined #nixos
rsynnest63 has quit [Client Quit]
<Church-> Hmm, does anyone have home-assistant working with zigbee/zwave?
<viric> what is a home-assistnat?
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #119166 → maintainers: add friedelino → https://github.com/NixOS/nixpkgs/pull/119166
<Church-> viric: IOT management software for the home.
<simpson> home-assistant plugins were broken for me in a systematic way; I think that something needs to be fixed in the way that plugins are managed.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119169 → vimPlugins.vim-markdown-toc: init at 2021-03-02 → https://github.com/NixOS/nixpkgs/pull/119169
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119170 → lagrange: 1.3.0 → 1.3.2 → https://github.com/NixOS/nixpkgs/pull/119170
<Church-> simpson: Yeah I need to override the package
teasea has quit [Quit: teasea]
mcornick has quit [Ping timeout: 260 seconds]
vulpine has quit [Ping timeout: 276 seconds]
nckx is now known as jorts
teasea has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jgarte opened pull request #119188 → chez-matchable: typo fix in the description value → https://github.com/NixOS/nixpkgs/pull/119188
BenjiProd has quit [Remote host closed the connection]
gentauro has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119173 → irssi: 1.2.2 -> 1.2.3 → https://github.com/NixOS/nixpkgs/pull/119173
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119176 → ccache: 4.2 -> 4.2.1 → https://github.com/NixOS/nixpkgs/pull/119176
justanotheruser has joined #nixos
jonringer has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119179 → python3Packages.sleepyq: init at 0.8.1 → https://github.com/NixOS/nixpkgs/pull/119179
lostnet[m] has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119180 → bazel-buildtools: 3.5.0 -> 4.0.1 → https://github.com/NixOS/nixpkgs/pull/119180
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119184 → r2mod_cli: use bashInteractive as interpreter → https://github.com/NixOS/nixpkgs/pull/119184
sangoma has quit [Read error: Connection reset by peer]
sparogy has quit [Quit: ZNC 1.8.2 - https://znc.in]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119109 → python3Packages.hass-nabucasa: 0.42.0 -> 0.43.0 → https://github.com/NixOS/nixpkgs/pull/119109
MinceR has quit [Ping timeout: 246 seconds]
sparogy has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119128 → python3Packages.pyemby: init at 1.7 → https://github.com/NixOS/nixpkgs/pull/119128
<rmcgibbo[m]> Does anyone have any examples of a configuration.nix that imports NixOS modules from out-of-tree (e.g. from github)?
<rmcgibbo[m]> I tried to put a fetchFromGithub into my `imports = [ ... ]` section, and I appear to be crashing and burning with infinite recursion in ways that don't really make sense to me.
quinn has joined #nixos
<simpson> I suspect that you can make it work by putting a let/in at the top of your module, right after you've closed over `pkgs`.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119131 → python3Packages.pythonegardia: init at 1.0.40 → https://github.com/NixOS/nixpkgs/pull/119131
<simpson> { pkgs, ...}: let myModule = ...; in { imports = [ myModule ... ]; ... }
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118813 → agate: 3.0.1 -> 3.0.2 → https://github.com/NixOS/nixpkgs/pull/118813
<matthewcroughan> delroth: Heyo
<matthewcroughan> I'm trying to use your parsec package from your nixcfg, but I notice you do not have aflake
zupo has joined #nixos
<matthewcroughan> so I copied it over to my repo, locally, and the `license = licenses.unfree` thing seems to make things difficult
<matthewcroughan> if I add it to my packages, there's nothing I can do to allow unfree, it is uninstallable
<matthewcroughan> the nix tooling just claims that allowUnfree hasn't been set to true even though it has, even if I export it at the CLI
<matthewcroughan> If I comment the line out, it of course works.
<eyJhb> Anyone that can tell me how the automatic UID selection works on NixOS? Is it safe just to use, and assume that UIDs won't change?
quinn has quit [Ping timeout: 268 seconds]
griff__ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
<rmcgibbo[m]> It seems to work if I use builtins.fetchTarball to fetch the module, but not pkgs.fetchFromGithub.
<rmcgibbo[m]> Which is fine, just strange.
<samueldr> rmcgibbo[m]: fetching at eval time (in the nix eval) vs. fetching at build time
<samueldr> rmcgibbo[m]: to get "fetchFromGitHub" you need "a" Nixpkgs
<samueldr> "a" Nixpkgs is influenced by the modules system
<samueldr> imports could influence the modules system
<samueldr> so it's impossible to get `pkgs` because `pkgs` depends on imports which depends on `pkgs`
<rmcgibbo[m]> :+1: right-o
<samueldr> meanwhile the builtins approach it happens "before" the modules system really gets evaluating
quinn has joined #nixos
<samueldr> (I'm not sure it really happens before, but at the very least during, and does not depend on either `pkgs` or imports
ml| has quit [Ping timeout: 252 seconds]
<rmcgibbo[m]> that makes sense. thanks samueldr
<samueldr> eyJhb: I believe it uses stateful data; /var/lib/nixos/*id-map
<rmcgibbo[m]> so something like this (although i should fix the sha256) is the best option: https://github.com/vpsfreecz/nixos-modules#usage, right?
<samueldr> you probably want to fix the sha256 yes
<samueldr> though note that github tarballs are generated on the fly and _can_ change hash
<samueldr> (though recently it hasn't been happening really)
<samueldr> so if it changes in the future, it may be benign
srk has quit [Ping timeout: 260 seconds]
juhe has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @fabaff merged pull request #119146 → rink: 0.5.1 -> 0.6.0 → https://github.com/NixOS/nixpkgs/pull/119146
ky0ko has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118507 → obs-multi-rtmp: init at 0.2.6 → https://github.com/NixOS/nixpkgs/pull/118507
liuyb has joined #nixos
ahmed_elgabri has quit [Ping timeout: 250 seconds]
liuyb has quit [Ping timeout: 246 seconds]
gustavderdrache has joined #nixos
nitsky has joined #nixos
ml| has joined #nixos
<eyJhb> samueldr: Maybe I should save that kind of state then.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119138 → python3Packages.aiolip: init at 1.1.4, python3Packages.pylutron-caseta: init at 0.9.0 → https://github.com/NixOS/nixpkgs/pull/119138
<Andoriyu> How can turn this into a package https://github.com/tsbarnes/City ?
VideoGameEnjoyer has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
VideoGameEnjoyer has joined #nixos
quinn has quit [Ping timeout: 268 seconds]
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
quinn has joined #nixos
MatrixBot25 has quit [Quit: Bridge terminating on SIGTERM]
astylian has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kanashimia opened pull request #119189 → xscreensaver: 5.44 -> 6.00 → https://github.com/NixOS/nixpkgs/pull/119189
fendor_ has quit [Remote host closed the connection]
MatrixBot25 has joined #nixos
<{^_^}> [nixpkgs] @austinbutler opened pull request #119190 → courier-prime: init at git-2020-11-20 → https://github.com/NixOS/nixpkgs/pull/119190
bopbop has quit [Quit: WeeChat 3.1]
MatrixBot25 has quit [Client Quit]
<{^_^}> [nixpkgs] @mweinelt pushed to revert-118719-home-assistant-tests « Revert "nixos/home-assistant: use override before overridePythonAttrs" »: https://git.io/JOLfv
nitsky has quit [Quit: Connection closed]
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #119191 → Revert "nixos/home-assistant: use override before overridePythonAttrs" → https://github.com/NixOS/nixpkgs/pull/119191
VideoGameEnjoyer has quit [Quit: Konversation terminated!]
VideoGameEnjoyer has joined #nixos
<{^_^}> [nixpkgs] @0x4A6F opened pull request #119192 → dasel: 1.13.6 -> 1.14.0 → https://github.com/NixOS/nixpkgs/pull/119192
<pinpox> hexa-: is home-assitant currently working in unstable? I had some problems yesterday and just saw you're working on it
<{^_^}> [nixpkgs] @tfmoraes opened pull request #119193 → opencv-4: 4.3.0 -> 4.5.2 → https://github.com/NixOS/nixpkgs/pull/119193
<pinpox> hexa-: Do you know anything about this by chance? https://paste.sr.ht/~pinpox/3e3c340f93ddecd9b460cc6cf15dfddc84309535
<hexa-> pinpox: mosquitto was updated, are you using auth on it?
<{^_^}> #118896 (by mweinelt, 2 days ago, merged): nixos/tests/home-assistant: fix mosquitto configuration
<pinpox> hexa-: Kinda, I've set a obvious password because I only run it in a vpn https://github.com/pinpox/nixos/blob/main/modules/home-assistant/default.nix
<pinpox> hexa-: Is that fix in unstable?
<hexa-> it is, on the test
<hexa-> you need checkPasswords = true;
<hexa-> else the password file is not included into the config
codygman__ has joined #nixos
codygman__ has quit [Remote host closed the connection]
<hexa-> this is a mosquitto change, not a home-assistant one
<matthewcroughan> is this strictly necessary samueldr?
codygman__ has joined #nixos
<matthewcroughan> required because of hits
<matthewcroughan> this*
<samueldr> matthewcroughan: why have you pinged me?
<pinpox> hexa-: Ok, let me try to add that check
<matthewcroughan> because you were in chat recently and have knowledge and I'm asking you a question :D
<matthewcroughan> If you want me to not ping you, I will not, sorry.
<Andoriyu> okay, theme imported. now how would one request a variant of said theme in home-manager
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos
MinceR has joined #nixos
BlessJah has quit [Ping timeout: 276 seconds]
codygman__ has quit [Remote host closed the connection]
<elvishjerricco> I'm trying to do something like `buildEnv { name="foo"; paths=[bash coreutils]; pathsToLink=["/bin"]; }` and I'm getting an output with no symlinks in $out/bin
<elvishjerricco> I feel like I'm going nuts. Isn't that exactly what buildEnv is for?
<pinpox> hexa-: not sure, but I'm still seeing errors in the journal of home-manager, https://paste.sr.ht/~pinpox/e17c54a93b966215608fcc8c32425fb039508878
<pinpox> The mosquitto error seems to be fixed though
BlessJah has joined #nixos
<hexa-> pinpox: so?
<pinpox> hexa-: I have still a device that stopped working, if I click to turn it on, I see this in the log: https://paste.sr.ht/~pinpox/571f63fadb2a4d5db8cf422d98a2a0196d6a2592
<hexa-> > raise Exception
<{^_^}> undefined variable 'raise' at (string):494:1
<pinpox> I thought maybe you know what's up with it, since you're updating the package and it used to work
<hexa-> nice
<hexa-> I'm not familiar with every component
<pinpox> Any tips on how to investigate this?
<pinpox> not very fluent in python..
<hexa-> maybe this
<hexa-> sorry, I can't do support on components, besides having their tests pass
<pinpox> hexa-: Ok, thank you for taking a look, I'll try to find out what's wrong from here
<hexa-> maybe also check the home-assistant issue tracker
<pinpox> Yeah, flux_led seems to have a lot of issues... https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+flux_led
<{^_^}> [nixpkgs] @mweinelt merged pull request #119083 → python3Packages.pyeconet: init at 0.1.13 → https://github.com/NixOS/nixpkgs/pull/119083
<matthewcroughan> Does anybody know if nspawn containers can be completely declared?
<matthewcroughan> This would suggest not :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118878 → usbsdmux: 0.1.8 -> 0.2.0 → https://github.com/NixOS/nixpkgs/pull/118878
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118920 → python3Packages.pyezviz: init at 0.1.8.7 → https://github.com/NixOS/nixpkgs/pull/118920
mcornick has joined #nixos
mcornick has quit [Client Quit]
mcornick has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118924 → protoc-gen-twirp: 7.1.1 -> 7.2.0 → https://github.com/NixOS/nixpkgs/pull/118924
zeta_0 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @sumnerevans opened pull request #119194 → Fix python mpv module → https://github.com/NixOS/nixpkgs/pull/119194
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118461 → rmlint: darwin.support → https://github.com/NixOS/nixpkgs/pull/118461
<xAr86> hello
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118833 → rust-analyzer: 2021-03-22 -> 2021-04-05 → https://github.com/NixOS/nixpkgs/pull/118833
civodul has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118915 → python3Packages.nad-receiver: init at 0.2.0 → https://github.com/NixOS/nixpkgs/pull/118915
rprije has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118689 → gtg: unstable-2020-10-22 -> 0.5 → https://github.com/NixOS/nixpkgs/pull/118689
Qwerky has quit [Remote host closed the connection]
philr has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
<SumnerEvans[m]> When I run `nix-shell -p nixpkgs-review --run "nixpkgs-review wip"`, it tells me that "No diff detected, stopping review...". What is necessary for that to work?
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JOLIR
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117416 → deepspeech: init at 0.9.3 → https://github.com/NixOS/nixpkgs/pull/117416
griff__ has quit [Quit: griff__]
amerigo has joined #nixos
<Raito_Bezarius> did someone succeed to run chromium under firejail in NixOS?
<Raito_Bezarius> I'm getting: Error: no suitable chromium executable found
<Raito_Bezarius> which suggests the default profiles are not able to whitelist the path to chromium binary
sknebel has left #nixos [#nixos]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119187 → aws-c-common: 0.5.2 -> 0.5.4 → https://github.com/NixOS/nixpkgs/pull/119187
liuyb has joined #nixos
Qwerky has joined #nixos
zeenk has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118935 → python3Packages.pyruckus: init at 0.14 → https://github.com/NixOS/nixpkgs/pull/118935
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #nixos
Qwerky has quit [Ping timeout: 240 seconds]
liuyb has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119139 → python3Packages.nexia: init at 0.9.6 → https://github.com/NixOS/nixpkgs/pull/119139
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/a7ff7a57c96 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119140 → python3Packages.python-telegram-bot: 13.3 -> 13.4.1 → https://github.com/NixOS/nixpkgs/pull/119140
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116934 → pythonPackages.sphinxcontrib-bayesnet: init at 0.1 → https://github.com/NixOS/nixpkgs/pull/116934
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118909 → python3Packages.pyintesishome: init at 1.7.7 → https://github.com/NixOS/nixpkgs/pull/118909
<supersandro2000> Raito_Bezarius: or the PATH does not contain it
ahmed_elgabri has joined #nixos
<rmcgibbo[m]> Sumner Evans: I think that's because you've already made a commit. The `wip` is looking for uncommitted stuff in your checkout. If you've made a commit you can use `nixpkgs-review rev {sha}`.
Henson has joined #nixos
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<Henson> hi everyone. I'm trying to make the DAViCal software work with NixOS. One part of the installation is initializing the database with a script. Is there a proper way to do this initialization only once? I've seen some software that runs a service do this as part of the pre-start stage, which it checks for the existence of a file, if it's not present it does the initialization and then writes...
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #119195 → chez-matchable: typo fix in the description value → https://github.com/NixOS/nixpkgs/pull/119195
<Henson> the file, but Davical doesn't run as a service, it's a PHP script that runs with Apache. Is there a way I could do this initialization without a service?
<Henson> or maybe just make the user do the initialization themselves as part of the installation?
<Henson> the few other web service modules I've looked at don't do the initialization themselves (only looked at wordpress, mediawiki, and dokuwiki).
shibboleth has quit [Quit: shibboleth]
cjb has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #118769 → foxitreader: init at 2.4.4.0911 → https://github.com/NixOS/nixpkgs/pull/118769
aaabbbbbbbbbb has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119035 → spotdl: 3.5.0 -> 3.5.1 → https://github.com/NixOS/nixpkgs/pull/119035
supersandro2000 is now known as Guest68734
Guest68734 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
supersandro2000 has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<Henson> it looks like the one-shot initialization service is the most common thing among the various web services
<{^_^}> [nixpkgs] @mweinelt opened pull request #119196 → home-assistant: pin pyruckus==0.12 and enable ruckus_unleashed tests → https://github.com/NixOS/nixpkgs/pull/119196
acarrico has joined #nixos
cole-h has joined #nixos
<Raito_Bezarius> supersandro2000: --debug showed it contained it
<Raito_Bezarius> but it was in a blacklist path
<Raito_Bezarius> Henson: the classical way is indeed the oneshot
<Raito_Bezarius> otherwise, you have the preStart in a systemd unit
<Raito_Bezarius> but I guess if you run it with Apache, you will need an init systemd unit
<Henson> Raito_Bezarius: thanks for the inf
<Henson> info
<Raito_Bezarius> you're welcome