andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
drakonis has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #80389 → crystal_0_32: Fix hydra build → https://git.io/Jv4sf
<iqubic> evanjs: Do you think this would be easier to set-up if I switched to lightDM?
<drakonis> hmm, i have a hardcoded binary that assumes /bin/bash exists
sigmundv has quit [Remote host closed the connection]
<iqubic> I think this is the perfect use case for PATCHELF, but I've not used that, so I'm not too sure.
<iqubic> Can someone tell me if that's right?
<drakonis> no it invokes /bin/bash
<iqubic> Weird.
<{^_^}> [nixpkgs] @jonringer merged pull request #80388 → python/aiohttp: disable test on 32bit platforms → https://git.io/Jv4sv
<{^_^}> [nixpkgs] @jonringer pushed commit from @rnhmjoj to master « python/aiohttp: disable test on 32bit platforms »: https://git.io/Jv4sk
<drakonis> oh god why it invokes a python script for this
<drakonis> just a sec.
<{^_^}> [nixpkgs] @filalex77 opened pull request #80390 → crystal: 0.32.1 -> 0.33.0 → https://git.io/Jv4sO
<drakonis> yeah this might be a good time to run this from a usb
<drakonis> or just pass the printer to a vm and run it from there
<evanjs> drakonis: anything that needs /bin/bash can often just be changed to /usr/bin/env bash or etc
<drakonis> that's the least of my issues
<drakonis> there's a hardcoded binary that wants libusb to work
<evanjs> iqubic: For launching the windowing system? I would assume so, but unsure if exwm would be added to the menu entries
<evanjs> drakonis: might be easiest to make a nix expression in that case
<drakonis> i need to disable smartinstall so my printer works
<drakonis> hp printers, everyone.
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jonringer merged pull request #80339 → pythonPackages.sqlitedict: init at 1.6.0 → https://git.io/Jv8Hc
<{^_^}> [nixpkgs] @jonringer pushed commit from Farkas, Arnold to master « pythonPackages.sqlitedict: init at 1.6.0 »: https://git.io/Jv4sG
<drakonis> i'll just avoid the risk, it needs headers i cant get?
NoctisLabs has joined #nixos
NoctisLa1 has quit [Ping timeout: 240 seconds]
wiml has quit [Quit: wiml]
rogue_koder_ has quit [Ping timeout: 272 seconds]
rogue_koder_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #80385 → scalapack: 2.1 -> 2.1.0 → https://git.io/Jv432
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jv4s0
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
HugoDaniel has joined #nixos
<{^_^}> [nixpkgs] @markuskowa pushed commit from @dylex to release-20.03 « scalapack: 2.1 -> 2.1.0 »: https://git.io/Jv4sz
<{^_^}> [nixpkgs] @jtojnar merged pull request #80386 → flatpak: 1.6.1 -> 1.6.2 → https://git.io/Jv43X
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Jv4sg
<{^_^}> [nixpkgs] @Infinisil merged pull request #80389 → crystal_0_32: Fix hydra build on 20.03 → https://git.io/Jv4sf
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-20.03: https://git.io/Jv4s2
rogue_koder has joined #nixos
HugoDaniel has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80384 → flatpak: propagate glib and ostree → https://git.io/Jv43z
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jv4so
rogue_koder_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #80391 → mint: 0.5.0 -> 0.7.1 → https://git.io/Jv4si
<benley> anyone know if nixos-20.03 is in a state that's generally usable at the moment?
<benley> I see there's a nixos-20-03-small channel up now, at least
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
asbachb has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to release-20.03: https://git.io/Jv4sM
<{^_^}> [nixpkgs] @Infinisil opened pull request #80392 → mint: Pin to crystal 0.30 to fix build → https://git.io/Jv4sD
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @rnhmjoj to release-20.03 « python/aiohttp: disable test on 32bit platforms »: https://git.io/Jv4sN
<{^_^}> [nixpkgs] @Infinisil merged pull request #80372 → idrisPackages.tparsec: 2019-09-19 -> 2020-02-11 → https://git.io/Jv4IS
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/Jv4sx
<worldofpeace> benley: it looks like the queue is still running https://hydra.nixos.org/jobset/nixos/release-20.03
<benley> aye, cool
<benley> I'll keep an eye on it
<benley> and probably start looking for things to fix :)
<worldofpeace> yep 👍️ benley
<benley> the mailman module looks like it's not really ready for use in nixos 19.09 so I'm looking to use 20.03 for it
<superbaloo> how do people store private keys with nix?
<superbaloo> like signing kernels for secureboot
asbachb has quit [Remote host closed the connection]
<simukis_> what’s the best way to convert a nix list with one element to the value within and assert/panic otherwise?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80357 → riot-{web,desktop}: 1.5.8 -> 1.5.9 → https://git.io/Jv8p7
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jv4Gl
erictapen has quit [Ping timeout: 240 seconds]
mexisme_ has joined #nixos
drakonis1 has joined #nixos
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80393 → [19.09] riot-web: add config overrides for privacy → https://git.io/Jv4G2
erictapen has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80394 → [20.03] Backport riot updates → https://git.io/Jv4GV
mexisme has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79915 → flashplayer: 32.0.0.314 -> 32.0.0.330 [Critical security fixes] → https://git.io/JvCx1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv4G6
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79916 → flashplayer: 32.0.0.314 -> 32.0.0.330 [Critical security fixes][19.09] → https://git.io/JvCxx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/Jv4Gi
jreed has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80210 → tor-browser-bundle-bin: 9.0.4 -> 9.0.5 → https://git.io/Jv8f1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv4Gd
adelbertc has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @bhipple opened pull request #80395 → mdbook: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv4Gh
Chiliparrot has quit [Ping timeout: 240 seconds]
<cole-h> simukis_: Do you mean you want it to fail if there are 0 elements or more than 1 element?
<simukis_> yeah
<simukis_> I have some code I have right now, but its super ugly
<simukis_> getUniqueValue = list: (assert [(lib.head list)] == lib.unique list; lib.head list);
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @jonringer opened pull request #80396 → python3Packages.django_extensions: 2.2.5 -> 2.2.8 → https://git.io/Jv4Zk
<cole-h> If it works, it works lol. My solution would have been using `if`s and `builtins.length` :P
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80289 → cargo-graph: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv8uQ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv4Zt
<{^_^}> [hydra] @dasJ opened pull request #717 → Add the project name to declarative inputs → https://git.io/Jv4Zq
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80290 → cargo-edit: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv8u5
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80290 → cargo-edit: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv8u5
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv4Zm
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80301 → maturin: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv8aY
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv4ZY
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80305 → mq-cli: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv8aK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv4ZO
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80313 → rnix-lsp: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv8ab
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv4Z3
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @erictapen opened pull request #80397 → haskellPackages.hakyll-contrib-hyphenation: jailbreak → https://git.io/Jv4Zs
<{^_^}> [nixpkgs] @filalex77 opened pull request #80398 → procs: 0.9.9 -> 0.9.11 → https://git.io/Jv4Z8
<{^_^}> [nixpkgs] @bhipple opened pull request #80399 → tealdeer: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv4ZR
<drakonis1> hmm, printer still hosed.
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jv4Za
onixie has joined #nixos
<{^_^}> [nixpkgs] @dylex opened pull request #80400 → ruamel: moved from bitbucket to sourceforge → https://git.io/Jv4ZV
Chiliparrot has quit [Ping timeout: 272 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
Rusty1 has quit [Remote host closed the connection]
[Leary] has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
reallymemorable has joined #nixos
Soo_Slow has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #80378 → haskell.cabal-fmt: override Cabal to version 3.0.x → https://git.io/Jv4m5
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jv4Zd
erictapen has quit [Ping timeout: 240 seconds]
NoctisLa1 has joined #nixos
NoctisLabs has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #80392 → mint: Pin to crystal 0.30 to fix build → https://git.io/Jv4sD
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-20.03: https://git.io/Jv4Zj
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.elementary-files: 4.3.0 -> 4.4.0 »: https://git.io/Jv4nL
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « pantheon.elementary-files: 4.3.0 -> 4.4.0 »: https://git.io/Jv4nt
<{^_^}> [nixpkgs] @ttuegel pushed to release-19.09 « kinit: Increase environment size limit »: https://git.io/Jv4nY
<{^_^}> [nixpkgs] @Infinisil merged pull request #78141 → sta: init at 2016-01-25 → https://git.io/JvI17
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/Jv4nO
Soo_Slow has joined #nixos
<cole-h> Quoted homepage URLs are the standard for packages now, correct?
<benley> I believe so
<infinisil> Yeah
asbachb has joined #nixos
asbachb has quit [Remote host closed the connection]
nuncanada has quit [Quit: Leaving]
<cole-h> Should I reference ZHF in the commit message, or just in the PR's body, or both?
<drakonis1> ah, i have printing now, finally.
<das_j> aware of the massive rebuilds I'll be facing, what is the correct way to switch nixos to musl?
h0m1 has quit [Ping timeout: 246 seconds]
<cole-h> `pkgs` -> `pkgsMusl`?
<infinisil> cole-h: I just do PR body
<das_j> cole-h: My entire nixos system, not just some package
<infinisil> ZHF isn't really relevant for the commit history
<evanjs> yeah I keep finding “repo.git” in various meta sets. Are those deprecated now in favor of homepages?
<gchristensen> I find it useful, to clarify that you're caring for the package for ZHF, vs. "I actually use it"
<cole-h> Well, I did mention that hydra was failing in my commit message, so I think that's fine.
h0m1 has joined #nixos
<cole-h> And linked to the log, for however long that will live
<cole-h> Well, let's see if I did this right! ^^;
<{^_^}> [nixpkgs] @cole-h opened pull request #80401 → clippy: add llvm9 to buildInputs → https://git.io/Jv4nE
iqubic has quit [Remote host closed the connection]
<cole-h> Ah crap I already failed
iqubic has joined #nixos
<cole-h> Really hope this doesn't also fail on darwin
<iqubic> evanjs: So, I restarted EXWM. Telling systemctl to start up dunst still fails.
<iqubic> systemctl claims that it can't find the xorg server.
<infinisil> das_j: This should do it: https://paste.infinisil.com/Out0ohCOgI.nix
reallymemorable has quit [Quit: reallymemorable]
<infinisil> I doubt this will work though, and indeed just trying to evaluate a system with this leads to an error in https://github.com/NixOS/nixpkgs/blob/4aff981a67cc64fbc48a11e48eed76e8c919002a/nixos/modules/config/i18n.nix#L13
<das_j> well, I already had that and it fails with unsupported platform for the pure Linux stdenv
<iqubic> So, I'm really very confused.
onixie has quit [Remote host closed the connection]
Soo_Slow has quit [Quit: Soo_Slow]
<infinisil> das_j: If you have something already then it's a good idea to mention it beforehand, then I wouldn't have wasted time writing that :)
HugoDaniel has joined #nixos
<das_j> oh sorry. Well it didn't work at all so I wasn't sure. my code (not working!) is `nixpkgs.localSysmte { libc = "musl; system = "x86_64-linux"; }`
<iqubic> So, Dunst isn't working for me, and I'm so pissed.
<iqubic> I don't understand this.
<das_j> (with the second " of course)
qubasa_ has joined #nixos
<infinisil> That doesn't seem to be the same as I suggested at all?
<das_j> yep, that was my previous attempt before I asked here
<iqubic> So, does anyone know why dunst is failing?
<das_j> my attempt fails with `value is null while a set was expected,` (at the location you specified), your attempt fails with `unsupported platform for the pure Linux stdenv`
<iqubic> So, I run: "systemctl --user start dunst.service"
<infinisil> Not the other way around?
<iqubic> And that fails. It asks me to check the journal, which has this error message: http://dpaste.com/0SBV4A6
<das_j> nothing I can see, maybe I'll ask around at the next nixcon
qubasa has quit [Ping timeout: 240 seconds]
<cole-h> das_j: Can you try `systemctl import-environment DISPLAY`?
<infinisil> das_j: I'd open an issue in nixpkgs, pinging people who know about musl things
<das_j> cole-h: Me?
<cole-h> Err Sorry
<cole-h> Wrong person :D
<cole-h> iqubic*
<das_j> infinisil: I'll do that, thanks
<cole-h> iqubic: Can you try `systemctl import-environment DISPLAY`?
<cole-h> (Sorry, das_j)
<das_j> I'll get over it ;)
<das_j> Also import XAUTHORITY while you're at it
<cole-h> Screw it, just import everything and see if it works: `systemctl import-environment`
<iqubic> Yeah. That worked.
<iqubic> I had to import everything.
<iqubic> Now, how do I test this?
<cole-h> Now, try isolating it down to specific env vars so you don't import literally everything :P
<cole-h> Not strictly necessary, but probably a good step to take, IMO
HugoDaniel has quit [Ping timeout: 260 seconds]
<iqubic> How do unimport variables?
<cole-h> `systemctl unset-environment VARS`
<iqubic> But that doesn't let me unset everything.
<das_j> systemctl show-environment | cut -d'=' -f1 | xargs -n1 systemctl unset-environment
<cole-h> Speedy fingers
<iqubic> So, I need to import DISPLAY and XAUTHORITY to start dunst.
<iqubic> Now... two questions. How do I test that dunst is actually working? And how do I make sure that it's running everytime that I reboot my machine?
<ajs124> You can also do xhost +
<das_j> `dunstify lal` for sending a notification
<cole-h> Does `notify-send` work with dunst?
<das_j> yep
<iqubic> Weird... notify-send is not a command I can run.
<cole-h> It's part of `libnotify`
<cole-h> `nix-shell -p libnotify --run "notify-send asdf fdsa"`
<iqubic> And dunstify also did nothing for me. Why the hell is that?
<gchristensen> iqubic: please avoid profanities, and try to do some research in to your problems before asking
jreed has quit [Ping timeout: 240 seconds]
<iqubic> gchristensen: Next time I will do both of those things.
<gchristensen> I know you will :)
thc202 has quit [Ping timeout: 240 seconds]
<iqubic> It works. I know that it looks super ugly. I'm going to read the home-manager man page to see what settings I can tweak.
thongpv87 has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @bqv opened pull request #80402 → ripcord: init at 0.4.23 → https://git.io/Jv4n5
iyzsong-x has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
ddellacosta has quit [Ping timeout: 265 seconds]
konobi_ has joined #nixos
lopsided98 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ajs124 opened pull request #80403 → mimalloc: 1.1.0 -> 1.6.1 → https://git.io/Jv4nj
thongpv87 has left #nixos [#nixos]
lopsided98 has joined #nixos
growpotkin has joined #nixos
konobi has quit [Ping timeout: 240 seconds]
konobi_ is now known as konobi
<iqubic> Does the Discord chat client use lib-notify?
<iqubic> Because if it does, that's not working for me.
mexisme_ has quit [Ping timeout: 260 seconds]
<iqubic> Yeah, that's not helping me.
<gchristensen> iqubic: sorry, you're going to have to try harder and do some more debugging and research
<newuser99> I've been using `nix-env -i <package>` a bit, I'm wondering what the equivalent is in nix-expression format. The guides I've found seem to be about either using NixOS (I'm not) or using nix to build my own package. What about just installing a bunch of already-nixpkged things on my linux distro?
<newuser99> Or does that break the functional idea, and I should just write `nix-env -i foo bar baz` in a shell script and use that
thongpv87 has joined #nixos
<bhipple> newuser99: what I do is group together a handful of the things I want into a meta-package, then do `nix-env -riA myEnv`. The -r flag will replace all imperatively installed pkgs atomically with the new env, so it cleans up manually installed cruft outside src control
<bhipple> works pretty well for me. It looks like this: https://github.com/bhipple/dotfiles/blob/master/config/nixpkgs/overlays/envs.nix
<bhipple> I still end up using nix-env to install something, but I can get back all my pkgs declaratively on a fresh install. I can also imperatively nix-env -i <something> as-needed, and it'll go away on the next declarative install so I don't accumulate cruft. If I decide I actually want it sticking around, I add it to src control
<bhipple> not sure if that answers your question but hopefully it gives some context on possible workflows
<thongpv87> I want to use clang-format to check the code format in CI but I don't want to add the package add project dependency (nativeBuildInputs or buildInputs). How can I add some package to default.nix
<{^_^}> [nixpkgs] @marsam merged pull request #80398 → procs: 0.9.9 -> 0.9.11 → https://git.io/Jv4Z8
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jv4cW
[Leary] has quit [Ping timeout: 240 seconds]
mexisme_ has joined #nixos
<iqubic> Yeah. This is a Discord bug. (Discord:17989): libnotify-WARNING **: 19:08:58.037: Failed to connect to proxy
<mdash> thongpv87: at minimum, you can use overrideDerivation to add it as a dependency when loading the derivation
boxscape has joined #nixos
<mdash> thongpv87: but why don't you want to add it as a dependency?
<thongpv87> I feel like it's developer environment setup, the packages can be built without these packages.
phirsch has joined #nixos
<bhipple> shell.nix then?
<thongpv87> I think that's better.
<mdash> thongpv87: it doesn't get included in the output, if that's your concern
<thongpv87> Thank @mdash, I know that. I think it's better to leave those dependency in shell.nix as bhipple suggested
<mdash> sure
<thongpv87> I have my mkDerivation function in ./nix/release.nix
<thongpv87> and in shell.nix, I have this: http://ix.io/2c0G
mexisme_ has quit [Ping timeout: 240 seconds]
cole-h has quit [Quit: WeeChat 2.7]
growpotkin has quit [Ping timeout: 265 seconds]
mrpi has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
ajs124 has quit [Remote host closed the connection]
Scriptkiddi has joined #nixos
ajs124 has joined #nixos
mrpi has joined #nixos
das_j has joined #nixos
<thongpv87> Can I have multiple project included in let expression
<mdash> yes
<thongpv87> Then when I run nix-shell, what's buildIntputs should look like? Is it mixed between these project?
<newuser99> bhipple: Thanks. That plus this link seems close to what I want https://nixos.org/nixpkgs/manual/#chap-packageconfig
cole-h has joined #nixos
boxscape has quit [Remote host closed the connection]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
boxscape has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
boxscape88 has joined #nixos
mrpi has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
boxscape has quit [Disconnected by services]
boxscape88 is now known as boxscape
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
mrpi has joined #nixos
das_j has joined #nixos
mexisme_ has joined #nixos
felixfoertsch23 has joined #nixos
<mdash> hmm
<newuser99> In that link, where It says `pathsToLink = [ "/share/man" "/share/doc" "/share/info" "/bin" "/etc" ];` is that replacing the real root /bin/, or adding stuff to that directory, or is it not really /bin/ but some other directory under /nix/
<mdash> i would like to have a nixos module that puts all my hosts' networking config in one spot, and load it by hostname
<mdash> but nix regards `{ networking = networking-config.${config.networking.hostName}; }` as infinite recursion
felixfoertsch has quit [Ping timeout: 272 seconds]
<mdash> it sure is hard to pass info to modules
<newuser99> In practical terms, I'm wondering whether running that `pathsToLink = [ "/bin" ...` will cause all my pre-existing binaries to be deleted or what
<iqubic> gchristensen: After some research, I have found my issue. Discord doesn't start dbus automatically. I also found the solution to the issue.
<mdash> oh, you can return modules from functions. ok.
<thongpv87> I ended up with this shell.nix expression: http://ix.io/2c0J . Things work except I don't want to build `project` when running nix-shell
Lears has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80396 → python3Packages.django_extensions: 2.2.5 -> 2.2.8 → https://git.io/Jv4Zk
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.django_extensions: 2.2.5 -> 2.2.8 »: https://git.io/Jv4Cq
<{^_^}> [nixpkgs] @jonringer merged pull request #80017 → pythonPackages.bayesian-optimization: init at 1.0.1 → https://git.io/JvWiS
<{^_^}> [nixpkgs] @jonringer pushed commit from @juliendehos to master « pythonPackages.bayesian-optimization: init at 1.0.1 »: https://git.io/Jv4CO
<{^_^}> [nixpkgs] @jonringer pushed commit from Farkas, Arnold to master « pythonPackages.untangle: init at 1.1.1 »: https://git.io/Jv4CC
<{^_^}> [nixpkgs] @jonringer merged pull request #80340 → pythonPackages.untangle: init at 1.1.1 → https://git.io/Jv8HE
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 268 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
drakonis1 is now known as drakonis
reallymemorable has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
reallymemorable has quit [Ping timeout: 268 seconds]
mexisme_ has quit [Ping timeout: 265 seconds]
<justan0theruser> if dunstify is part of the dunst derivation, why can't I call `dusnt` in my shell? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/dunst/default.nix#L37
<justan0theruser> dunst*
<clever> 4 , libXinerama, libnotify, pango, xorgproto, librsvg, dunstify ? false
<clever> justan0theruser: its disabled by default
<justan0theruser> ah
<clever> justan0theruser: you must put (dunst.override { dunstify = true; }) into your shell instead
<justan0theruser> tyvm
<iqubic> What is the difference between calling dunst and calling notify-send?
HugoDaniel has joined #nixos
<justan0theruser> dunstify allows you to assign an ID to notifications so you can have updated notifications rather than stacking
<justan0theruser> probably other things too, but that's all I care about for now
HugoDaniel has quit [Ping timeout: 240 seconds]
<iqubic> Ah. I see.
boxscape has quit [Ping timeout: 268 seconds]
<iqubic> So, I see that there are at least 3 dozen packages in nixpkgs offering different x11 mouse cursors. How do I set one of those up? I'm starting to hate the default x11 cursor.
<{^_^}> [nixpkgs] @zowoq opened pull request #80404 → metasploit: 5.0.45 -> 5.0.74 → https://git.io/Jv4Wn
<{^_^}> [nixpkgs] @titanous opened pull request #80405 → x265: 3.2 -> 3.3 → https://git.io/Jv4W4
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #80406 → ytop: 0.4.0 -> 0.5.1 → https://git.io/Jv4W2
<{^_^}> [nixpkgs] @zowoq opened pull request #80407 → amass: 3.4.2 -> 3.4.4 → https://git.io/Jv4Wr
<newuser99> I thought super was for getting the upstream version, isn't that what's being done here?
<notgne2> newuser99: afaik super refers to the package set that is being overlayed, and self is the package set after the overlay has been applied
johnw has quit [Remote host closed the connection]
<newuser99> notgne2: exactly - from the manual "It does not contain any of the packages added by the current overlay" so I don't understand how that even works
<notgne2> sometimes you might want to reference self instead of super if the package you are refering to depends on a package you are modifying in your overlay
<samueldr> AFAIK you should use self, until you can't
<samueldr> a good way to rename them would be `final: super:`
<samueldr> final is a package in the final package set with all overlays
<newuser99> ok
<samueldr> you'd use super when you cannot call self, mainly because of recursion
v88m has joined #nixos
mexisme_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #80408 → circleci-cli: 0.1.5879 -> 0.1.6072 → https://git.io/Jv4WP
<{^_^}> [nixpkgs] @marsam merged pull request #80376 → crun: 0.12.1 -> 0.12.2.1 → https://git.io/Jv4mi
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv4W1
endformationage has quit [Ping timeout: 240 seconds]
<newuser99> I am installing https://github.com/bhipple/dotfiles/blob/92d2bc9642d2c5605e29c3382a1e8eb9b12ed74f/config/nixpkgs/overlays/envs.nix It seems to run tests by default but this takes a while. From some other examples I think I can disable the tests by putting `doCheck = False` somewhere, but I can't figure out where it goes
Jackneill has joined #nixos
aquarial has joined #nixos
jojojojojo has quit [Quit: ZNC 1.7.4 - https://znc.in]
jojojojojo has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80400 → ruamel: moved from bitbucket to sourceforge → https://git.io/Jv4ZV
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jv4lW
<{^_^}> [nixpkgs] @jonringer merged pull request #80399 → tealdeer: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv4ZR
<{^_^}> [nixpkgs] @jonringer pushed commit from @bhipple to master « tealdeer: upgrade cargo fetcher and cargoSha256 »: https://git.io/Jv4l8
<{^_^}> [nixpkgs] @colemickens opened pull request #80409 → azure-storage-azcopy: v10.3.2 -> v10.3.4 → https://git.io/Jv4lR
<{^_^}> [nixpkgs] @Rakesh4G opened pull request #80410 → mapproxy: Added additional dependency boto3, needed for s3 cache support → https://git.io/Jv4lu
<{^_^}> [nixpkgs] @jonringer closed pull request #75791 → errbot: fix darwin tests → https://git.io/Je7YK
drakonis has quit [Ping timeout: 240 seconds]
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « aseprite: fix build with glibc 2.30 »: https://git.io/Jv4lw
domogled has joined #nixos
<angerman> Anyone got an example for me for adding a user to nixos that has only ssh access and can only execute a single command?
palo1 has joined #nixos
<wedens[m]> I just know that it's possible with authorized_keys
Jackneill has quit [Remote host closed the connection]
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @dywedir opened pull request #80411 → zola: 0.9.0 -> 0.10.0 → https://git.io/Jv4lM
cartwright has quit [Remote host closed the connection]
<newuser99> How do I get `nix-shell .` to use nixpkgs-unstable?
vidbina has joined #nixos
<clever> newuser99: use `-I nixpkgs=something` to map <nixpkgs> elsewhere
<clever> newuser99: or edit shell.nix to use <nixpkgs-unstable> instead of <nixpkgs>
<{^_^}> [nixpkgs] @zowoq opened pull request #80412 → kepubify: init at 3.0.0 → https://git.io/Jv4ld
HugoDaniel has joined #nixos
domogled has quit [Quit: domogled]
<newuser99> `nix-channel --list` I have `nixpkgs https://nixos.org/channels/nixpkgs-unstable` and I'm using ` pkgs = import <nixpkgs> {};` but I guess that's wrong (it can't find the package)
<clever> newuser99: what does `nix-instantiate --find-file nixpkgs` say?
<newuser99> clever: /home/user/.nix-defexpr/channels/nixpkgs
<clever> newuser99: when is the last time you dod `nix-channel --update` ?
HugoDaniel has quit [Ping timeout: 272 seconds]
<newuser99> a few minutes ago
<clever> newuser99: and which package is missing?
<newuser99> dvc
<newuser99> python3Packages.dvc
<clever> newuser99: why do you think its in nixpkgs-unstable?
<newuser99> hahaha
<clever> newuser99: its not in nixpkgs master, so its unlikely to be in any channel
<newuser99> it's here but not under python3Packages https://nixos.org/nixos/packages.html?channel=nixpkgs-unstable&query=dvc
<newuser99> works fine when I remove that prefix
<clever> its just pkgs.dvc
<newuser99> thanks
<newuser99> yep
<NoctisLa1> Should collisions be reported as an issue?
<clever> NoctisLa1: depends on what is having a collision
<NoctisLa1> collision between `/nix/store/437j9mdpaq40605l5i12jprff781k8fl-net-tools-1.60_p20170221182432/bin/ifconfig' and `/nix/store/1hvnfr57h2jy05ckfal5kmx8xd67rq39-inetutils-1.9.4/bin/ifconfig'
<clever> NoctisLa1: yeah, i would consider that a bug, somebody will have to decide if we want net-tools, inetutils, or both, and then somehow block one of the ifconfig's if we want both
<NoctisLa1> There's collisions between additional tools in inetutils as well, I'm just trying to get tftp.
<clever> NoctisLa1: if its due to you installing things, then its less of a bug
<clever> NoctisLa1: you can also use `nix-shell` or `nix-env` to get one of those into PATH temporarily
<NoctisLa1> Yeah, I'm installing things.
<NoctisLa1> I want tftp in my systemPackages
<NoctisLa1> I also tried getting tftp from iputils but it was missing or something.
<clever> ,locate bin tftp
<{^_^}> Found in packages: busybox, tftp-hpa, inetutils, netkittftp
<clever> NoctisLa1: tftp-hpa might be an option
<NoctisLa1> Oh cool, I should learn how to use the bot in irc.
<clever> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<clever> you can also install that tool locally
<NoctisLa1> I'll give tftp-hpa a try.
phirsch has quit [Ping timeout: 265 seconds]
cole-h has quit [Ping timeout: 240 seconds]
ToxicFrog has quit [Ping timeout: 265 seconds]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #80328 → postgresql: 9.5.20 -> 9.5.21, 9.6.16 -> 9.6.17, 10.11 -> 10.12, 11.6 -> 11.7, 12.1 -> 12.2 → https://git.io/Jv86K
<{^_^}> [nixpkgs] @danbst pushed 6 commits to staging: https://git.io/Jv480
vidbina has quit [Ping timeout: 240 seconds]
c0c0 has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed 0 commits to revert-59368-tox-node: https://git.io/Jv48M
justan0theruser has quit [Ping timeout: 246 seconds]
lovesegfault has quit [Quit: WeeChat 2.7]
plutes has quit [Remote host closed the connection]
plutes has joined #nixos
<{^_^}> [nixpkgs] @danbst pushed 4 commits to release-19.09: https://git.io/Jv48S
ToxicFrog has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danbst pushed 4 commits to release-20.03: https://git.io/Jv489
<{^_^}> [nixpkgs] @danbst pushed commit from @marsam to release-20.03 « postgresql_9_5: 9.5.20 -> 9.5.21 »: https://git.io/Jv48Q
newuser99 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #80395 → mdbook: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv4Gh
<{^_^}> [nixpkgs] @jonringer pushed commit from @bhipple to master « mdbook: upgrade cargo fetcher and cargoSha256 »: https://git.io/Jv487
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/81bddc68d75 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
NoctisLa1 has quit [Quit: WeeChat 2.7]
linarcx has joined #nixos
newuser99 has joined #nixos
<{^_^}> [nixpkgs] @Tomahna closed pull request #80000 → mopidy-mpd: init at version 3.0.0 → https://git.io/JvWwj
philr has joined #nixos
knupfer has joined #nixos
betawaffle has quit [Remote host closed the connection]
zupo has joined #nixos
betawaffle has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
linkrage has joined #nixos
hyper_ch2 has joined #nixos
Tucky has joined #nixos
<newuser99> nix-env -i visidata; -> warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring. error: operation is only supported by LocalStore
johnw has joined #nixos
boxscape has joined #nixos
<newuser99> I ran nix-daemon manually because `error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused` but now I get ^
<clever> newuser99: is it a single-user or multi-user install of nix?
<newuser99> clever: I don't remember
<clever> newuser99: what distro are you on?
<newuser99> clever: ubuntu 18
<clever> newuser99: ls -lh /nix/var/nix/db/
<clever> newuser99: looks like a single-user install, so user should own everything in /nix
<clever> newuser99: and the env var `$NIX_REMOTE` shouldnt be set
<newuser99> clever: user owns everything in /nix but $NIX_REMOTE is daemon
<clever> newuser99: thats the issue, `NIX_REMOTE=daemon` says to connect to a nix-daemon process, which isnt used in single-user mode
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HugoDaniel has joined #nixos
<newuser99> unsetting worked
philr has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/Jv44m
karantan has joined #nixos
domogled has joined #nixos
mexisme_ has joined #nixos
<newuser99> is it normal that I'm compiling a lot of dependencies? I kinda woulda thought at least some would be pre-build
<newuser99> pre-built*
<{^_^}> [nixpkgs] @jonringer merged pull request #80391 → mint: 0.5.0 -> 0.7.1 → https://git.io/Jv4si
<{^_^}> [nixpkgs] @jonringer pushed commit from @Infinisil to master « mint: 0.5.0 -> 0.7.1 »: https://git.io/Jv44Z
<clever> newuser99: what kinds of things is it building?
chimay has joined #nixos
<clever> newuser99: building with -Q will make the output more readable in some cases
<{^_^}> [nixpkgs] @fgaz opened pull request #80414 → milkytracker: set cmake sdl variable to fix build → https://git.io/Jv44n
bhipple has quit [Remote host closed the connection]
m0rphism has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
domogled has quit [Quit: domogled]
<newuser99> clever: https://bpaste.net/R46A
<{^_^}> [nixpkgs] @7c6f434c merged pull request #80375 → libreoffice-still: 6.2.6.2 -> 6.3.5.2, libreoffice-fresh: 6.3.0.4 -> 6.4.1.1 → https://git.io/Jv4mZ
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/Jv44z
<clever> newuser99: lines 19-29 dont do anything, becuase they arent in a derivation
<clever> newuser99: and they could be messing with some things elsewhere
plutes has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #79174 → julia: 1.1 -> 1.3 → https://git.io/JvGJU
<{^_^}> [nixpkgs] @7c6f434c pushed 5 commits to master: https://git.io/Jv44w
<{^_^}> [nixpkgs] @7c6f434c merged pull request #75534 → pdftk: reinit at 3.0.8 → https://git.io/Je9hi
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/Jv44K
ris has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #79879 → allegro5: 5.2.5.0 -> 5.2.6.0 → https://git.io/JvCDr
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jv44P
lsix has joined #nixos
Neo-- has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @7c6f434c closed pull request #68414 → libreoffice-fresh: 6.3.0.4 -> 6.3.2.1 → https://git.io/JeqFl
<{^_^}> [nixpkgs] @jonringer merged pull request #80410 → mapproxy: Added additional dependency boto3, needed for s3 cache support → https://git.io/Jv4lu
<{^_^}> [nixpkgs] @jonringer pushed commit from @Rakesh4G to master « Added additional dependency boto3, needed for s3 cache support »: https://git.io/Jv44y
gxt has quit [Ping timeout: 240 seconds]
chimay has quit [Ping timeout: 268 seconds]
Tucky has quit [Quit: WeeChat 2.7]
Tucky has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80371 → protontricks: 1.4 -> 1.4.1 → https://git.io/Jv4IV
<{^_^}> [nixpkgs] @jonringer pushed commit from @MetaDark to master « protontricks: 1.4 -> 1.4.1 »: https://git.io/Jv447
<newuser99> error: packages '/nix/store/y89xnb6yrv5nwz0z13y6y77vifw4zhhj-my-packages/bin/nix-store' and '/nix/store/5hdmx9yk7gr71b98j4vh9271k0zg5jis-nix-2.2.1/bin/nix-store' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<newuser99> what is INSTALLED_PKGNAME supposed to be?
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
<clever> newuser99: you have nix inside the buildEnv, and its conflicting with the nix installed normally
<clever> newuser99: simplest answer is to not include nix in the buildEnv
<{^_^}> [nixpkgs] @jonringer merged pull request #80414 → milkytracker: set cmake sdl variable to fix build → https://git.io/Jv44n
<{^_^}> [nixpkgs] @jonringer pushed commit from @fgaz to master « milkytracker: set cmake sdl variable to fix build »: https://git.io/Jv44A
<newuser99> ok. i'm just copying from https://nixos.org/nixpkgs/manual/#sec-gnu-info-setup but alright
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #80366 → ucs-fonts: generate pcf, otb and split output → https://git.io/Jv4vo
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to master: https://git.io/Jv44h
<newuser99> ok deleting nix and man solve that issue
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #80350 → unscii: cleanup and split outputs → https://git.io/Jv8bR
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/Jv4Be
dingenskirchen1 is now known as dingenskirchen
claudiii has joined #nixos
<karantan> is it possible to create a .nix config file that has all required configurations except some variables like domain
<karantan> and then use this .nix file when adding a site by providing just a domain
<karantan> so like a function
<clever> karantan: you could either define a custom nixos option and use it, or just start the file with `domain:` and then do `import ./file.nix "example.com"`
<karantan> in this e.g. "master.nix" we would have defined services.httpd, services.mysql, services.phpfpm, ... but without domain
thc202 has joined #nixos
<karantan> aha ok. thank you
<clever> karantan: making it a module with options would be better
<karantan> I don't think I have enough of knowledge and/or exp. to do that yet. But yes this is the goal eventually
<clever> karantan: 67 defines a custom option, and then you can read it like any other nixos option
<karantan> awesome thanks
<karantan> I also found this: https://nixos.wiki/wiki/Declaration
<karantan> hmm actually this https://nixos.wiki/wiki/Module doesn't look very complicated
<karantan> maybe I'll give it a shoot
peelz has joined #nixos
<peelz> My system hangs for several minutes when booting or switching to a new generation: https://cdn.discordapp.com/attachments/570351749848891393/679230158733049856/20200218_023721.jpg
<peelz> Does anybody know what's going on? Even old known-good generations are having this issue
<clever> peelz: any custom activation scripts?
<peelz> systemd units?
<clever> peelz: activation scripts happen before systemd is started
<peelz> ah then I don't think so
<clever> peelz: what do you see in `journalctl -b 0` ?
<clever> around the timestamp of the hang
<peelz> not much at all: https://pastebin.com/dU1Rm2ZU
zupo has joined #nixos
<clever> peelz: what about further up in the log?
<clever> peelz: what about `systemd-analyze plot > boot.svg` and then look at that?
boxscape has quit [Remote host closed the connection]
rnhmjoj has joined #nixos
rnhmjoj has quit [Changing host]
rnhmjoj has joined #nixos
rnhmjoj has quit [Changing host]
veske2 has joined #nixos
veske has joined #nixos
knupfer has quit [Remote host closed the connection]
<peelz> clever: I don't see anything suspicious, but maybe it's just my untrained eye. full-ish log: https://pastebin.com/ruhJBNRk
hyper_ch2 has quit [Remote host closed the connection]
zupo has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f1f52471034 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
knupfer has joined #nixos
<peelz> holy crap. in boot.svg, the "kernel" takes 311s
hyper_ch2 has joined #nixos
<clever> peelz: that is everything before systemd gained control
<clever> peelz: which would be all of stage1, and the activation scripts
<peelz> that's so strange
<peelz> how do I debug this?
<immae> peelz: microcode?
<clever> peelz: try rebooting again, make note of the exact time it seems to hang, and when it resumes, and then pastebin the `journalctl -b 0` again, and report what timestamps is was hung during
<peelz> immae: ? I have `hardware.cpu.amd.updateMicrocode = true` if that's what you're asking
<clever> peelz: maybe also try disabling that, and see if its faster or not
<immae> Sorry, I meant that it could be what’s taking so long (it happened to me long ago)
<peelz> o.O
chloekek has joined #nixos
<peelz> will try
<peelz> trying to build but it's taking an eternity
<peelz> and it errored: https://pastebin.com/zxmz69NL
<immae> microcode is not run during activationScript, is it?
<clever> immae: microcode gets prepended to the initrd, and the kernel applies it before virtualmemory is even enabled
<peelz> microcode doesn't seem to be related to the error I'm getting right now though
<{^_^}> [nixpkgs] @Ma27 opened pull request #80417 → waybar: 0.9.0 -> 0.9.1, fix build → https://git.io/Jv4BV
<clever> peelz: what does `dmesg` show at the end?
<immae> peelz: if it happens during activation scripts then clearly microcode is not responsible :)
o1lo01ol1o has joined #nixos
<peelz> wait what... OOM?
<peelz> I have 64GB of ram lmao
<peelz> something's not right
<clever> peelz: free -m
<clever> peelz: top
<peelz> 60474 free
<peelz> 64302 total
<peelz> no swap partition/file, but I didn't have an issue with that previously
<clever> weird
__monty__ has joined #nixos
<newuser99> maybe this isn't really a question for here...why is NIX_REMOTE being set?
HugoDaniel has quit [Ping timeout: 260 seconds]
<clever> newuser99: is it in your .bash_profile or .bashrc?
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<newuser99> clever: no
<newuser99> (nor zsh equivalents)
Diagon has joined #nixos
<peelz> clever: ram was stuck at 3.4GB and now it's steadily climbing. 55GB right now
<peelz> while switching
<clever> newuser99: weird
<clever> peelz: what does top say is using it all?
<peelz> perl related stuff
<peelz> but it died too quickly -- rerunning it
Diagon has quit [Client Quit]
johnny101m has quit [Ping timeout: 268 seconds]
tomberek has quit [Ping timeout: 272 seconds]
<clever> peelz: why is perl using 20gig of ram? lol
<clever> peelz: check the json file it got ran on
<peelz> no idea lol -- it gets all the way to ~60GB before getting killed by the OOM reaper
<clever> [root@nas:~]# ls -ltrh /var/lib/nixos/
<clever> peelz: how do these 4 files look? are they fairly small?
Netsu has joined #nixos
<clever> peelz: they should be json i believe
<peelz> which 4 files?
<clever> peelz: in the directory i just pasted
<Netsu> Hello. Is there any way to inherit all the fields of the derivation to current one?
<peelz> ah gotcha
<peelz> clever: uid-map is 2.1G lol
<clever> peelz: that aint right
<peelz> haha
<Netsu> Or all the fields must be listed explicitly?
<clever> peelz: what do the contents look like in a text editor?
<peelz> uhh lots of binary stuff
<{^_^}> [nixpkgs] @fgaz opened pull request #80418 → milkytracker: set cmake sdl variable to fix build → https://git.io/Jv4RY
<clever> peelz: sounds like disk corruption
<peelz> clever: <U+0082>Ã<U+0082>Â<U+0083>Ã<U+0083>Â ... ad infinitum
<clever> peelz: this perl script also runs on boot, as an activation script, its likely chewing up 60gig of ram, and getting OOM'd, before you can boot
<clever> peelz: delete uid-map, and nixos should repair itself
<peelz> alright
civodul has joined #nixos
<peelz> built instantly
<peelz> do I dare reboot? :P
<clever> peelz: do it!
<peelz> aight imma hop on my laptop for IRC
NoctisLabs has joined #nixos
peelz_ has joined #nixos
peelz has quit [Quit: Leaving]
<peelz_> clever: on laptop now
<peelz_> also this is a brand new NVME
<peelz_> I'm using LVM for all my partitions so maybe that has something to do with it?
<peelz_> system booted just fine
<clever> peelz_: it could also have been an improper shutdown
<peelz_> perhaps...
<peelz_> /var/lib/nixos/uid-map looks like normal JSON now
<clever> peelz_: the main purpose of that file, is for when you delete a user from configuration.nix, then re-add the user, it regains its old uid
<peelz_> ahh
<clever> that solves issues like another user winding up with that uid, and owning 2 /home folders
<peelz_> oh wait, now that I think about it, I added a user with an emoji as a name... for science
<peelz_> LOL
<peelz_> I deleted it shortly afterwards
<peelz_> I even rebooted afterwards. Not sure what happened.
<clever> maybe the perl/json encoder got upset?
<peelz_> Sounds like it
<clever> try breaking it again, for science!
<peelz_> hah
<clever> then file an issue
<peelz_> my poor computer
<clever> `nixos-rebuild build-vm` would also help test faster
<peelz_> do I need any setup for that?
<clever> it will run your entire config, in a vm, with much more limited ram usage
<clever> just run that, and thats it
<peelz_> oh cool
<clever> switch wont work inside the vm, but you can just shutdown, edit the host config, and build-vm again
<peelz_> aight
pbb_ has joined #nixos
pbb has quit [Ping timeout: 272 seconds]
<peelz_> how do I switch to a tty? my sxhkd hotkeys are being intercepted by my host and I can't do anything on the VM lol
<clever> peelz_: i think there is a checkbox in one of the menu bars to hold ctrl and/or shift
<{^_^}> [nixpkgs] @madjar merged pull request #79941 → fish: 3.0.2 -> 3.1.0 → https://git.io/JvW35
<{^_^}> [nixpkgs] @madjar pushed 2 commits to master: https://git.io/Jv4Rw
<peelz_> clever: I don't see it
<newuser99> I see home-manager doesn't target distros other than nixos. Does it work well enough anyway?
vonfry- has joined #nixos
vonfry- has quit [Remote host closed the connection]
<wedens[m]> what do you mean "target"? it works on other distros with Nix
<peelz_> clever: I'll just enable plasma, easier that way
<newuser99> wedens[m]: "Home Manager targets NixOS unstable and NixOS version 19.09 (the current stable version), it may or may not work on other Linux distributions and NixOS versions." https://github.com/rycee/home-manager
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @zimbatm pushed 0 commits to zimbatm-patch-1: https://git.io/Jv4R5
<{^_^}> [nixpkgs] @tviti opened pull request #80419 → Revert "hdf5-fortran: Mark broken on Darwin" → https://git.io/Jv4RN
* clever heads off to bed
<peelz_> clever: sleep well! Thanks again :D
<peelz_> you saved my ass lol
<eyJhb> I should really try home-manager
<eyJhb> Night night clever !
o1lo01ol1o has quit [Ping timeout: 260 seconds]
HugoDaniel has joined #nixos
Naptra has joined #nixos
smatting_ has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #80420 → symlinkJoin: fix "bash: Argument list too long" error → https://git.io/Jv40v
newuser99 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl opened pull request #80421 → coqPackages.mathcomp_1_10: init at 1.10.0 → https://git.io/Jv40I
sigmundv has joined #nixos
HugoDaniel has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 272 seconds]
peelz has joined #nixos
kriteus[m] has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « efibootmgr: fixup build on i686 »: https://git.io/Jv40m
HugoDaniel has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/34c7eb7545d (from 7 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
Arahael has quit [Ping timeout: 260 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @simonchatts opened pull request #80422 → haskell.gtk2hs packages: fix Darwin build → https://git.io/Jv40a
philr has joined #nixos
<Netsu> What is the proper way to pass $NIX_PATH into nested nix-shell?
pbb_ has quit [Remote host closed the connection]
karantan has joined #nixos
<Netsu> would builtins.getEnv be proper way enough?
karantan has quit [Client Quit]
Guest17523 has quit [Quit: WeeChat 2.3]
garbas has joined #nixos
cosimone has joined #nixos
linarcx has quit [Quit: WeeChat 2.7]
Netsu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat pushed commit from @danbst to master « Merge #80328: postgresql: minor updates (security) »: https://git.io/Jv4Ev
HugoDaniel has quit [Ping timeout: 240 seconds]
linarcx has joined #nixos
<thongpv87> I got this error: /nix/store/qn74i5hmd4096wr20phsd52afb0b9jvr-stdenv-linux/setup: line 795: /run/user/5093/env-vars: Permission denied when trying to init nix-shell environment.
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « efibootmgr: fixup build on i686 »: https://git.io/Jv4EL
HugoDaniel has joined #nixos
LysergicDreams has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol_ has joined #nixos
fendor has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
mexisme_ has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
pbb has joined #nixos
<{^_^}> [nixos-weekly] @rickynils opened pull request #113 → Add nixbuild.net introduction post → https://git.io/Jv4Eo
mexisme_ has quit [Ping timeout: 240 seconds]
zarel_ has joined #nixos
zarel has quit [Read error: Connection reset by peer]
karantan has joined #nixos
linkrage has quit [Quit: Leaving]
v88m has quit [Ping timeout: 265 seconds]
<{^_^}> [nixos-org-configurations] @rickynils opened pull request #101 → planet: Add nixbuild.net blog → https://git.io/Jv4ED
karantan has quit [Client Quit]
karantan has joined #nixos
claudiii has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @juliendehos opened pull request #80424 → pythonPackages.nevergrad: init at 0.3.2 → https://git.io/Jv4Ej
fes has joined #nixos
<fes> hi! i am at step 4 during installation of Nixos and I would like to ask you where do I set the boot.loader.grub.device option ? thanks in advance.
<fes> i am going to install it to a USB that I might insert into different computers to try it out.
<fes> it looks like it is in the configuration file in /mnt/etc/
<fes> i see that the configuratio file has the line "boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only"
<{^_^}> [nixpkgs] @GRBurst opened pull request #80425 → update maintainer infos for myself → https://git.io/Jv4un
<fes> since I am installing this to a USB that will change sdX depending on system, is it possible to type in a UIID instead or is this only used during the installing process and not later on when I update the system?
<fes> UUID
<wedens[m]> there are tools in nixpkgs specifically for creating iso images
psyanticy has joined #nixos
<fes> wedens, you speak swedish (your nickname makes suspect you might be from sweden)?
<wedens[m]> no, unfortunately not :D
<fes> :)
<fes> i am not trying to create a live iso but install it onto a USB instead of my internal drive. I want to do this before I erase my old OS.
<wedens[m]> what's the difference between iso written to usb drive and "install it onto a USB instead of my internal drive"?
knupfer has quit [Ping timeout: 240 seconds]
<fes> so that I can install software and reboot it and they are still there.
andymandias_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
veske has joined #nixos
veske2 has joined #nixos
peelz has quit [Remote host closed the connection]
peelz_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xfix opened pull request #80427 → cargo-geiger: fix build with rust 1.41 → https://git.io/Jv4ur
anderslundstedt has quit [Quit: leaving]
peelz has joined #nixos
thongpv87 has quit [Remote host closed the connection]
andymandias has joined #nixos
erictapen has joined #nixos
anderslundstedt has joined #nixos
<fes> wedens[m]> sorry, i misunderstood your question earlier. well it is probably not any different but I was thinking that an internal drive will not change /dev/sdX while a USB might/will depending on what devices are connected to the computer.
johnny101m2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<fes> but I saw in the hardware-configuration file that the grub was set to UUID and not /dev/sdX. My insecurity concerning this is because of me not being that knowledgable about a lot of these things.
<wedens[m]> it's better to use uuid when possible
<lassulus> fes: you can use /dev/disk/by-uuid/youruuid
<fes> the installation went well and it reported no problems. i will reboot now and hopefully it boots.
<fes> thank you lassulus
<fes> also thank you, wedens[m]
fes has quit [Remote host closed the connection]
<wedens[m]> it won't report problems like misspelled paths, unfortunately (unless they're needed for instantiation)
gxt has joined #nixos
Arahael has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 merged pull request #141 → Support NixOS 19.09 for <dell/xps/15-7590> → https://git.io/Jvnm2
<{^_^}> [nixos-hardware] @Mic92 pushed commit from @9999years to master « Support NixOS 19.09 for <dell/xps/15-7590> (#141) »: https://git.io/Jv4zz
<{^_^}> [nixpkgs] @xaverdh opened pull request #80428 → dbus-broker: 21 -> 22 → https://git.io/Jv4z2
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andymandias has quit [Read error: Connection timed out]
LysergicDreams has joined #nixos
andymandias has joined #nixos
Neo-- has joined #nixos
<raboof> just read https://grahamc.com/blog/nix-and-layered-docker-images - nice stuff, but kinda depressing that docker has that 125-layer restriction (TIL)
alexherbo2 has joined #nixos
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #101 → planet: Add nixbuild.net blog → https://git.io/Jv4ED
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/Jv4z7
<{^_^}> [nixpkgs] @vcunat pushed to staging « nettle: runtime selection of HW-accelerated code »: https://git.io/Jv4zN
<{^_^}> [nixos-org-configurations] @edolstra pushed 3 commits to master: https://git.io/Jv4zA
tilcreator has quit [Ping timeout: 272 seconds]
tilcreator has joined #nixos
LysergicDreams has quit [Ping timeout: 268 seconds]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @phryneas opened pull request #80429 → fastlane: 2.128.1 -> 2.141.0 → https://git.io/Jv4gB
Westixy has quit [Quit: WeeChat 2.6]
Arahael has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « Fix URL parser »: https://git.io/Jv4gy
<{^_^}> [nixpkgs] @unode opened pull request #80430 → pythonPackages.googletrans: init at 2.4.0 → https://git.io/Jv4gh
<{^_^}> [nixpkgs] @andir merged pull request #80327 → [19.09] firefox 73 → https://git.io/Jv86u
<{^_^}> [nixpkgs] @andir pushed 8 commits to release-19.09: https://git.io/Jv42T
kleisli has quit [Ping timeout: 268 seconds]
LysergicDreams has joined #nixos
<raboof> When I open a nix-shell from a 'buildFHSUserEnv'-based shell.nix, running zsh inside doesn't seem to take into account my nixos zsh configuration. I don't have that problem with 'mkShell'. Any idea how to achieve that?
chagra has joined #nixos
<colemickens> I sort of splice together some shell scripts into a Nix file to use as userdata to a Packet VM. However, I've just found out that my method of splicing fails.
w3emperor has joined #nixos
<colemickens> Trying to do this in bash seems silly. It would be easier to base64 encode it, stick the chunk in with awk/gsub, and then use nix b64d to decode it, but I don't think such a nix function exists.
zarel_ has quit [Ping timeout: 265 seconds]
zarel has joined #nixos
karantan has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
karantan has quit [Ping timeout: 268 seconds]
pbb has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
phirsch has joined #nixos
HugoDaniel has quit [Ping timeout: 265 seconds]
pbb_ has joined #nixos
pbb has quit [Ping timeout: 240 seconds]
jojojojojo has quit [Remote host closed the connection]
jojojojojo has joined #nixos
cosimone has quit [Quit: Terminated!]
Acilim has joined #nixos
Acilim has joined #nixos
Acilim has quit [Changing host]
Rusty1 has joined #nixos
simbergm has quit [Quit: authenticating]
simbergm1 has joined #nixos
HugoDaniel has joined #nixos
orivej has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/847bf0b8f17 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
HugoDaniel has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @andir closed pull request #80119 → firefox, firefox-bin: 72.0.2 -> 73.0 [WIP] → https://git.io/Jvl8K
alexherbo2 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #80431 → firefox: 73.0 -> 73.0.1 → https://git.io/Jv4a4
<{^_^}> [nixpkgs] @andir opened pull request #80432 → [19.09] firefox: 73.0 -> 73.0.1 → https://git.io/Jv4au
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #80433 → qutebrowser: 1.10.0 -> 1.10.1 → https://git.io/Jv4az
<{^_^}> [nixpkgs] @andir opened pull request #80434 → [20.03] firefox: 73.0 -> 73.0.1 → https://git.io/Jv4aV
werner291 has joined #nixos
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xfix opened pull request #80435 → python: decorator: fix Python 2 build → https://git.io/Jv4a5
domogled has joined #nixos
phirsch has quit [Read error: Connection reset by peer]
HugoDaniel has joined #nixos
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
iyzsong-x has quit [Quit: ZNC 1.7.1 - https://znc.in]
<xa0[m]> raboof: likely by editin, the fhs env to link /home. Quite likely that whatever you're doing should not be usin, that anyway though
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @edef1c merged pull request #80279 → doc/ociTools: exec is a shell builtin, not an external command → https://git.io/Jv80s
<{^_^}> [nixpkgs] @edef1c pushed 2 commits to master: https://git.io/Jv4V4
<{^_^}> [nixpkgs] @mmilata opened pull request #80436 → hunspell: add patch for CVE-2019-16707 → https://git.io/Jv4Vg
<raboof> xa0[m]: I'm not sure I understand what you mean - $HOME is the same string and at first glance looks like it has the same contents both inside and outside the chroot
<raboof> xa0[m]: 'what I am doing' is working on a project that downloads a binary and executes it as part of the build process. That is indeed questionable (but not easy to change), which is why I want to restrict it to a shell.nix-based environment ;)
alexherbo2 has joined #nixos
<xa0[m]> https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-fhs-userenv/env.nix#L166 build-fhs-userenv makes no attempt to link /home so that must be something you've added, right? I'm not sure how it's visible through the chroot, but if it isn't there early enough that could be your problem
<xa0[m]> `ls /nix/store/*-fhs`
<{^_^}> [nixpkgs] @KoviRobi opened pull request #80438 → ZHF: #80379 xonsh: fix broken tests → https://git.io/Jv4VF
kloenk has joined #nixos
werner292 has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
werner291 has quit [Ping timeout: 260 seconds]
werner292 is now known as werner291
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @edef1c closed pull request #80010 → google-cloud-sdk: fix gsutil startup crash → https://git.io/JvW62
<{^_^}> [nixpkgs] @edef1c reopened pull request #80010 → google-cloud-sdk: fix gsutil startup crash → https://git.io/JvW62
<raboof> xa0[m]: I don't see where that happens either, but I didn't do anything special - https://pastebin.com/kLtBN64L . None of the directories returned by `ls /nix/store/*-fhs` contain a /home, though
<{^_^}> [nixpkgs] @Mic92 merged pull request #80373 → nodePackages.webpack-dev-server: init at 3.10.3 → https://git.io/Jv4Lu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jv4wv
alexherbo2 has joined #nixos
Mic92 has quit [Quit: WeeChat 2.7]
Mic92 has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/847bf0b8f17 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
domogled has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @mmilata closed pull request #80353 → libreoffice: wrapper: add hunspell dirs to DICPATH → https://git.io/Jv8xN
<{^_^}> [nixpkgs] @mmilata reopened pull request #80353 → libreoffice: wrapper: add hunspell dirs to DICPATH → https://git.io/Jv8xN
<{^_^}> [nixos-hardware] @Mic92 merged pull request #139 → Adding Dell XPS 15 9560 → https://git.io/JvGNM
<{^_^}> [nixos-hardware] @Mic92 pushed 3 commits to master: https://git.io/Jv4wM
<{^_^}> [nixpkgs] @marsam merged pull request #80408 → circleci-cli: 0.1.5879 -> 0.1.6072 → https://git.io/Jv4WP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv4wy
cinimod has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #80406 → ytop: 0.4.0 -> 0.5.1 → https://git.io/Jv4W2
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv4w9
drakonis has joined #nixos
<xa0[m]> raboof: wasn't ignoring you fyi, but I've run out of time to help, sorry
fusion809 has quit [Remote host closed the connection]
<raboof> xa0[m]: no problem, life happens :D
gustavderdrache has joined #nixos
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #69059 → nm-tray: init at 0.4.3 → https://git.io/Je3L5
<{^_^}> [nixpkgs] @teto pushed commit from @dtzWill to master « nm-tray: init at 0.4.3 »: https://git.io/Jv4rO
<{^_^}> [nixpkgs] @johanot opened pull request #80441 → kubernetes: 1.16.5 -> 1.17.3 → https://git.io/Jv4rB
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
domogled has joined #nixos
tomberek has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #79939 → mate: update to version 1.24.0 → https://git.io/JvW3O
<{^_^}> [nixpkgs] @romildo pushed 48 commits to master: https://git.io/Jv4rw
<{^_^}> [nixpkgs] @marsam opened pull request #80442 → wal-g: 0.2.0 -> 0.2.14 → https://git.io/Jv4r6
mexisme_ has joined #nixos
w3emperor has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @andir merged pull request #80434 → [20.03] firefox: 73.0 -> 73.0.1 → https://git.io/Jv4aV
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-20.03: https://git.io/Jv4rD
<{^_^}> [nixpkgs] @andir merged pull request #79816 → buildRustCrate: remove superfluous dependency overrides → https://git.io/JvCCS
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/Jv4r9
reallymemorable has joined #nixos
mexisme_ has quit [Ping timeout: 265 seconds]
samrose_ has quit [Ping timeout: 240 seconds]
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
samrose_ has joined #nixos
<evanjs> clever: yah raw cpio (e.g. compressor = cat) still fails to boot. hrmmmm
<{^_^}> [nixpkgs] @drewrisinger closed pull request #78877 → pythonPackages.subunit: enable tests → https://git.io/JvOPo
<{^_^}> [nixpkgs] @johanot opened pull request #80443 → kubernetes: 1.16.5 -> 1.17.3 → https://git.io/Jv4ou
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vivaldi: 2.11.1811.33-1 -> 2.11.1811.38-1 »: https://git.io/Jv4oa
<{^_^}> [nixpkgs] @flokli merged pull request #80010 → google-cloud-sdk: fix gsutil startup crash → https://git.io/JvW62
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/Jv4oX
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-20.03: https://git.io/Jv4o7
<gchristensen> I am absolutely itching for that first 20.03-beta channel bump
<drakonis> oh?
xkapastel has joined #nixos
<Neo--> hey everyone! anyone knows if there's a way to add an aditional "default path" for nix-shell to scan? I have a global gitignore directory that I add for projects that are not on nix as "first class citizen" and then put shell.nix into it, but it's getting annoying to type nix-shell path all the time (obviously, aliasing command is one way) :)
<{^_^}> [nixpkgs] @das-g opened pull request #80444 → OSMPythonTools: init at 0.2.6 → https://git.io/Jv4Kk
Ukari has joined #nixos
<Ianulus> I'm getting an error trying to use `cachix use all-hies`:
<Ianulus> "Could not install NixOS configuration to /etc/nixos/ due to lack of write permissions."
<Ianulus> the suggestion from https://github.com/cachix/cachix/issues/242 didn't solve it for me.
<{^_^}> cachix/cachix#242 (by razvan-flavius-panda, 19 weeks ago, closed): cachix use miso-haskell - MustBeRoot error
<emily> Neo--: you can set NIX_PATH to include name=path and then do nix-shell '<name>'
jreed has joined #nixos
<domenkozar[m]> @lanulus: did you run it as root?
opthomasprime has joined #nixos
opthomasprime has quit [Client Quit]
<Neo--> emily, oh, good idea, thx!
<{^_^}> [nixpkgs] @andir merged pull request #80431 → firefox: 73.0 -> 73.0.1 → https://git.io/Jv4a4
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/Jv4Kw
<{^_^}> [nixpkgs] @andir merged pull request #80432 → [19.09] firefox: 73.0 -> 73.0.1 → https://git.io/Jv4au
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/Jv4Kr
<Ianulus> @dome
<Ianulus> domenkozar[m]: yes
<Ianulus> (both)
iqubic` has joined #nixos
<Ukari> I use nix in a non-nixOS, and build a SDL2 haskell project with stack and it use opengl as rendering driver. while when the same project built with nix + stack it can't sucessfully use opengl nor opengles2 nor opengles, it could only use software as rendering driver. Why ?
<davidtwco> jtojnar: regarding your comment in #80037, how do you recommend resolving fetchcomposer only inheriting a subset of the args?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/80037 (by davidtwco, 4 days ago, open): snipe-it: init at 4.8.0 + module
malSet has quit [Ping timeout: 265 seconds]
iqubic has quit [Ping timeout: 240 seconds]
<manveru> Ukari: i think https://github.com/guibou/nixGL is for that
<jtojnar> davidtwco would it be a problem to pass the same arguments to both derivations?
<Ukari> manveru: would it work for vulkan?
drakonis has quit [Ping timeout: 246 seconds]
<davidtwco> jtojnar: I think so - I have patches and a custom installPhase in the derivation for the application that would fail if they were also provided to the fetcher derivation.
<Ukari> manveru: oh it could, thanks
<davidtwco> jtojnar: I took the same approach with this that is used in the Rust build support.
linarcx has quit [Ping timeout: 272 seconds]
<jtojnar> davidtwco well, at least patches, patchPhase, prePatch and postPatch should be definitely passed
<Ianulus> domenkozar[m]: never mind, works after reboot
<domenkozar[m]> @lanulus: does /etc/nixos exist?
<jtojnar> that was my issue with the buildGoModule
<davidtwco> jtojnar: That's partially implemented through a `composerPatches` variable, but I don't (yet) provide a mechanism for overriding the fetcher's patchPhase/prePatch/postPatch.
<{^_^}> [nixpkgs] @FRidh pushed 193 commits to staging-next: https://git.io/Jv4KH
<mdash> man. every time i automate something with a nixos module, I get nervous again about secrets management
<mdash> I wonder if I should just make the jump to Vault or Keywhiz and be done with it
<{^_^}> [nixpkgs] @FRidh pushed 344 commits to staging: https://git.io/Jv4K7
fusion809 has quit [Remote host closed the connection]
asbachb has joined #nixos
<evanjs> Ianulus: pinging infinisil
<evanjs> re all-hies
<infinisil> o/
<evanjs> oh nvm reboot. I need to read lol
<Ianulus> It's also covered in the all-hies readme:
<jtojnar> davidtwco is there any benefit of using composerPatches instead of standard patchPhase-related attributes?
<evanjs> Figured as much :D
<Ianulus> "Note: Due to an issue with cachix you might have to restart the nix daemon for this to take effect, refer to this issue."
<evanjs> Sounds good. Glad you got it resolved! infinisil _is_ here in case something isn't covered in the readme, tho :P
<davidtwco> jtojnar: if I just used patches then it would conflict with the primary application's patches.
<evanjs> so I think shoving this initrd into the kernel is the last story for this embedded system in jenkins. got EFI support working (derp). Now I just need a tiny kernel w/initrd
<infinisil> evanjs: I don't think it's been resolved?
<Ianulus> cachix is not being used, though … rebuild starts compiling everything nonetheless
<evanjs> It'd be nice if there was an easier way to do e.g. allnomodulesconfig
<davidtwco> jtojnar: it isn't as much of a problem for composer as it is for buildGoModule because the vendor directory is included in the primary derivation, so you can use the regular patches attribute to change it.
<evanjs> oh
<evanjs> I misread that then :D
<infinisil> Ianulus: So you're on NixOS and tried to do `sudo cachix use all-hies` and it failed with "lack of write permissions"?
iqubic` has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
<Ianulus> infinisil: yeah, but this has been resolved by rebooting (thus reloading the nix-deamon, as described)
<jtojnar> davidtwco the issue I had with go is I was patching go.sum (similar to composer.lock)
<Ianulus> problem now is that nixos-rebuild doesn't use the cache and starts compiling
<davidtwco> jtojnar: I suppose in that case it would be necessary.
<infinisil> Ianulus: Huh weird, I think that should only be needed for darwin, but oh well
<infinisil> Ianulus: Rebuild once without adding all-hies to systemPackages
<infinisil> This is needed for the cachix thing to go in /etc/nix/nix.conf
<infinisil> After that you can verify this by looking at that file to see if there's an all-hies in there
c0c0 has quit [Ping timeout: 272 seconds]
<infinisil> I think the `cachix use` command should output that this needs to be done
<infinisil> Ianulus: Yeah it should tell you this: https://paste.infinisil.com/cjMJXyauNs
<evanjs> I remember something similar happening before. I think the arm manual for nixos has some steps to work around that sort of behavior/get cachix on first run?
<jtojnar> davidtwco I mean both dervations work with the same src so it makes sense to me for them to use the same patches as well
<evanjs> could you use the same approach for all-hies?
<davidtwco> jtojnar: the application derivation can have patches for the contents of the vendor directory - which won't exist in the fetcher derivation at patch time. I rely on that to patch laravel.
<infinisil> evanjs: Yeah that works well for one-time caches, though for all-hies it should be permanent
<{^_^}> [nixpkgs] @dotlambda opened pull request #80445 → rclone-browser: 1.2 -> 1.8.0 → https://git.io/Jv46O
<{^_^}> [nixpkgs] @asymmetric opened pull request #80446 → ssb-patchwork: 3.17.2 -> 3.17.3 → https://git.io/Jv46s
<infinisil> evanjs: Just yesterday though, I did this to get instantly applying `cachix use`, without having to rebuild once first: https://github.com/Infinisil/system/commit/bc9cc4e8ffeb8ddfef36eea4d24b3158bf1d85f6
<jtojnar> davidtwco should not that be don in composerPatches instead since you are updating vendor
<evanjs> right right the latter is what I was going for
<evanjs> like add it to my config but don't wanna rebuild once for cachix :P
c0c0 has joined #nixos
c0c0 has quit [Client Quit]
<evanjs> infinisil: 's/rb/rs/' :P
<davidtwco> jtojnar: that does make sense, but I'd need to run composer in postUnpack so that the vendor directory contents exist during patchPhase - if I do that, then it can't be used to patch composer.lock
<Ianulus> infinisil: cachix use is now failing again with the no permissions error
<jtojnar> davidtwco hmm, maybe we need buildPatches 🤣️
<infinisil> Ianulus: What's `ln -laa /etc/nixos`?
<jtojnar> davidtwco for the logger issue could we validate our changes with php -l at least?
<jtojnar> in the nixos module
<Ianulus> drwxr-xr-x 2 root root 4096 Feb 16 20:48 .
<Ianulus> drwxr-xr-x 22 root root 4096 Feb 20 2020 ..
<Ianulus> -r--r--r-- 1 root root 3011 Feb 18 16:25 configuration.nix
<Ianulus> -r--r--r-- 1 root root 2146 Feb 16 17:17 configuration.nix.save
<Ianulus> -r--r--r-- 1 root root 2148 Feb 16 17:57 configuration.nix.save.1
<Ianulus> -r--r--r-- 1 root root 2791 Feb 16 20:48 configuration.nix.save.2
<Ianulus> -r--r--r-- 1 root root 1171 Feb 16 15:16 configuration.original.nix
<Ianulus> -rw-r--r-- 1 root root 647 Feb 16 15:18 hardware-configuration.nix
<Ianulus> lrwxrwxrwx 1 root root 85 Feb 16 16:30 result -> /nix/store/99yfjy73jx1snf4gwk36xzy8llpf94sk-nixos-system-nixos-19.09.2070.b9cb3b2fb2f
<davidtwco> jtojnar: I've made changes locally so that you can pass arbitrary attributes to the fetcher without them being applied to the application, and so that the hash algo can be changed, but I don't think I'll change anything so that patches for the vendor contents are passed to the fetcher.
<Ianulus> wait .. why can i write to those files at all?
Acilim has quit [Remote host closed the connection]
<davidtwco> jtojnar: checking the syntax wouldn't be sufficient - the configuration file isn't in PHP and things like incorrect database permissions can also result in the hard-to-debug errors that the logging patch helps debug.
<infinisil> ,paste Ianulus for the future
<{^_^}> Ianulus for the future: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<jtojnar> 😱️ who designs these things
<infinisil> Ianulus: What about `strace -f -e trace=file -o out sudo cachix use all-hies`, then paste the `out` file
<evanjs> surprised he didn't get kicked haha. Don't we have a spam-kick-bot or something?
<evanjs> hrm anyhow... how to debug this kernel/initrd scenario, now
<{^_^}> [nixpkgs] @Profpatsch merged pull request #70154 → linkFarmFromDrvs: Add a trivial builder to create a linkFarm from a list of derivations → https://git.io/JenV3
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/Jv46V
Ianulus has quit [Remote host closed the connection]
Ianulus has joined #nixos
<Ianulus> re
<Ianulus> infinisil: `strace -f -e trace=file -o out sudo cachix use all-hies
<Ianulus> sudo: /nix/store/v6l2sacryfr88yqq0pq7sia8wfgm9q31-wrapper.c:203: main: Assertion `!(st.st_mode & S_ISUID) || (st.st_uid == geteuid())' failed.
<Ianulus> Aborted (core dumped)`
<infinisil> Ianulus: Try with the sudo in front
endformationage has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #80447 → matrix-synapse: 1.9.1 -> 1.10.1 → https://git.io/Jv46y
<Ianulus> infinisil: https://pastebin.com/BCpc5Ch9
<evanjs> gchristensen++ for ofborg and mmmmm nix+rust
<{^_^}> gchristensen's karma got increased to 211
<gchristensen> :)
<infinisil> Ianulus: What's your cachix version?
kloenk has quit [Ping timeout: 272 seconds]
<infinisil> > cachix.name
<Profpatsch> How do I turn off the fancy output for `nix copy`?
<gchristensen> | cat ?
<Profpatsch> I don’t think nix-copy-closure has the same feature set and we need it for CI
<{^_^}> "cachix-0.3.5"
kloenk has joined #nixos
<infinisil> Ianulus: If it's not this ^^ I'd try to update
<Profpatsch> gchristensen: nope
<{^_^}> [nix] @edolstra pushed 4 commits to 2.3-maintenance: https://git.io/Jv46b
<Profpatsch> Or is there an alternative way to push to s3?
<gchristensen> what is the fancy output you're referring to?
<Profpatsch> in-line updates
<gchristensen> what features do you need which aren't provided by nix-copy-closure?
<Ianulus> infinisil: cachix 0.3.0
<Profpatsch> gchristensen: push to s3
<gchristensen> nix-copy-closure can push to s3
gxt has quit [Ping timeout: 240 seconds]
<Profpatsch> Ah great, that’s not mentioned on the manpage
<niksnut> Profpatsch: redirect stderr to something that's not a terminal
<Profpatsch> The manual only mentions `nix copy`
<manveru> i think `nix copy` does
hoijui has joined #nixos
<manveru> oh well :)
<Ianulus> infinisil: does that mean I have to switch to unstable channel?
<infinisil> > stable.cachix
<gchristensen> indeed, it looks like the nix-copy-closure manual page isn't very up to date with the store abstraction :)
<Profpatsch> niksnut: Hm, | cat is not a terminal right?
<Profpatsch> niksnut: nix copy 2>&1 | cat is completely silent
<Profpatsch> Ah, nix copy -v 2>&1 | cat seems to do the trick
<{^_^}> "<derivation /nix/store/bydkdqlqwwclifdlaasn51m1zvyb0dki-cachix-0.3.0.drv>"
<infinisil> ,unstable Ianulus
<infinisil> You can pick single unstable packages as described here ^
<infinisil> Ianulus: Or alternatively just `nix-shell -p cachix -I nixpkgs=channel:nixpkgs-unstable` to get a shell with cachix from unstable
<{^_^}> [nixpkgs] @Mic92 opened pull request #80448 → Revert "zsh: don't clobber the environment of non-login shells" → https://git.io/Jv4it
<Profpatsch> niksnut: usually tools switch back to non-fancy output when TERM=dumb
<Profpatsch> should I open an issue?
<niksnut> yes please
<{^_^}> [nix] @edolstra pushed to 2.3-maintenance « Disable shellcheck »: https://git.io/Jv4i3
<raboof> xa0[m]: btw, buildFHSUserEnv binds /home at https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-fhs-userenv/chrootenv/chrootenv.c#L73 , so that explains why it's there
<raboof> and that also explains why my zsh is not configured inside a nix-shell using that, as /etc *is* replaced, and that contains the zsh config
<Profpatsch> We need TERM=ci so tools can switch to a special CI-terminal :)
<Ianulus> infinisil: did it via unstable channel, not shell. cahcix is now v0.3.5. cachix use all-hies works & produces output as described by you above. After following those instructions, rebuilding uses cache as expected.
<infinisil> :D
<Ianulus> infinisil: Thanks for your help!
<infinisil> Np
<Ianulus> infinisil: oh, wait! that line's still commented out!
<Ianulus> infinisil: sorry, I was too quick there. it still wants to compile all-hies
chimay has joined #nixos
<infinisil> Ianulus: Is the all-hies cache in /etc/nix/nix.conf?
<Ianulus> infinisil: doesn't look like it. the file does not contain the string `hies`
<infinisil> Ianulus: Did you `sudo cachix use all-hies` and do as the instructions say?
cole-h has joined #nixos
AluisioASG has joined #nixos
<Ianulus> infinisil: yes
<infinisil> Ianulus: So you added `imports = [ ./cachix.nix ]` and did a `sudo nixos-rebuild switch` *without* adding all-hies in your environment.systemPackages?
<Ianulus> yes
jb55 has quit [Quit: jb55]
<Ianulus> (that's when I reported success, the line that was commented out was the all-hies line)
<Ianulus> repeating, just to be sure
ddellacosta has quit [Quit: WeeChat 2.2]
<infinisil> Ianulus: Okay what's `grep all-hies $(nix-build '<nixpkgs/nixos>' -A 'config.environment.etc."nix/nix.conf".source')`
<Ianulus> (I may have build without switching)
<infinisil> Ah yeah check that first
ddellacosta has joined #nixos
philr has quit [Ping timeout: 260 seconds]
<Ianulus> Okay, /etc/nix/nix.conf now has some lines containing `hies`
<Ianulus> rebuilding … looking good: I see a lot of lines `copying path […] from […] cachix.org`
<infinisil> :D
crispyavocadotoa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer opened pull request #80449 → pythonPackages.signedjson: add typing to python2 → https://git.io/Jv4i7
v88m has joined #nixos
<Ianulus> All done … hie working in vscode as expected (y)
<Ianulus> infinisil: Thank you!
<infinisil> Np :D
Ukari has quit [Remote host closed the connection]
Ukari has joined #nixos
claudiii has joined #nixos
<{^_^}> [nixpkgs] @leo60228 opened pull request #80450 → dolphin-emu: add update script → https://git.io/Jv4Pq
<mkaito> ,locate bin/find
<{^_^}> Found in packages: toybox, busybox, findutils
grp has joined #nixos
<grp> I'm having some game-killing problem. NixOS wants a working internet connection for system reconfiguration even when no package is being installed, nor new-service being enabled
plp_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
DigitalKiwi has quit [Quit: quite.]
<grp> what if having internet deppends on that very system reconfiguration?
plp_ has joined #nixos
DigitalKiwi has joined #nixos
<grp> I've already set nix.extraOptions = ''keep-outputs = true keep-derivations = true''
<grp> but it happened again
<{^_^}> [nixpkgs] @jonringer merged pull request #80404 → metasploit: 5.0.45 -> 5.0.74 → https://git.io/Jv4Wn
<{^_^}> [nixpkgs] @jonringer pushed commit from @zowoq to master « metasploit: 5.0.45 -> 5.0.74 »: https://git.io/Jv4Pz
<evanjs> So is `tldr --update` broken/not supposed to work on nixos?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80451 → nixos/pantheon: add docs → https://git.io/Jv4Pa
<evanjs> I get e.g. "Error: Could Not Rename: /tmp/tldrfbMqqH/tldr-master to /home/evanjs/.tldrc/tldr-master/" whenever I try to use the "update" command .... and a little too preoccupied to dig into it atm :P
<evanjs> but probably will eventually ...
ryantrinkle has joined #nixos
vidbina has joined #nixos
<Ianulus> I'm trying to switch vscode to unstable.vscode in systempackages … getting "unfree licence .. refusing to evaluate" even though nixpkgs.config.allowunfree = true is set. Do I have to set that separately for unstable?
<worldofpeace> can you share how your code to use `unstable` in configuration.nix Ianulus?
<raboof> abbradar[m]: I see you've done a ton of work on buildFHS*Env. I was wondering if it's really needed to replace /etc? it seems mostly done to create a /etc/profile, but that's sourced explicitly at https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-fhs-userenv/default.nix#L22 so that could live somewhere else.
<Ianulus> `let unstable = import <nixos-unstable> {}; […] environment.systemPackages = with pkgs; [ unstable.vscode ]
<raboof> I've been using 'vscodium' for a while now, no more need for allowunfree there then ;)
<raboof> Ianulus: but otherwise 'config.allowUnfree = true' can go into those {} there
kleisli has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80453 → flatpak: use correct p11-kit output → https://git.io/Jv4Xe
<{^_^}> [nixpkgs] @flokli merged pull request #80215 → [20.03] brightnessctl: Add systemd support (backport) → https://git.io/Jv8Jr
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-20.03: https://git.io/Jv4Xf
erictapen has quit [Ping timeout: 265 seconds]
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/Jv4XL
opthomasprime has joined #nixos
erictapen has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Disable the progress bar if $TERM == dumb or unset »: https://git.io/Jv4XO
<mjsir911> Hi all, I know there are *plenty* of pending PRs, but what can I do to get #72296 looked at?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/72296 (by mjsir911, 15 weeks ago, open): softether: add vpnserver.settings option
<worldofpeace> Ianulus: aww, you really shouldn't have to use vscode/codium from unstable. people should be updating those on stable almost always...
asbachb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli closed pull request #80036 → Disable most VM tests → https://git.io/JvW7U
devalot has joined #nixos
Tucky has quit [Quit: WeeChat 2.7]
<Ianulus> It works with the `unstable = import <nixos-unstable> {config.allowUnfree = true;};`
<Ianulus> but … versions seem to be the same...
chloekek has quit [Quit: WeeChat 2.7]
<evanjs> are you referring to it like pkgs.unstable.<application>? You need to specify you're using that channel if it's not your "nixos" channel
<evanjs> might not be that exact path for your setup though
jreed has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/Jv4X4
<raboof> Ianulus: nixos-unstable seems to be on 1.42.0 - are you seeing an older version?
<Ianulus> I'm using it like unstable.<app>, and it's been working for cachix before.
<Ianulus> raboof: it's reporting 1.41
<evanjs> Anybody know if this is relevant for screen in nixpkgs (4.8.0)? https://stackoverflow.com/a/51516918
<{^_^}> [nixpkgs] @flokli merged pull request #80128 → [20.03] testing: fix runInMachineWithX/runInMachine → https://git.io/JvlEt
<{^_^}> [nixpkgs] @flokli pushed 4 commits to release-20.03: https://git.io/Jv4XR
cinimod has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #80454 → [19.09] nixos/release-combined; migrate constituents list to strings → https://git.io/Jv4X0
<evanjs> Man this zsh terminal paste "type it out" thing is killing me but I do _not_ want to bisect lol
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80099 → nixosTests.run-in-machine: Port to Python → https://git.io/Jvlm3
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jv4Xz
Ralith_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer opened pull request #80455 → python3Packages.fastparquet: 0.3.2 -> 0.3.3 → https://git.io/Jv4Xw
<benny> can someone tell me how to install "adb" on nixos > 19.03? :-D
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80135 → [20.03] xfce.xfce4-pulseaudio-plugin: 0.4.1 -> 0.4.2, fix volume → https://git.io/JvlzH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jv4Xo
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80137 → [19.09] xfce4-14.xfce4-pulseaudio-plugin: 0.4.1 -> 0.4.2, fix volume → https://git.io/JvlgS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/Jv4XK
<{^_^}> [nixpkgs] @jonringer merged pull request #80368 → just adding a vimplugin. → https://git.io/Jv4Ul
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jv4XP
<Ianulus> raboof: solved it .. the system package was shadowed by the one in the user profile. `nix-env -u vscode` did the trick.
<{^_^}> [nixpkgs] @cole-h opened pull request #80456 → nixos/fish: fix completions patch → https://git.io/Jv4XX
<raboof> Ianulus: nice! I try to avoid nix-env entirely myself, haven't really seen a need for it on my personal laptop (using nix-shell for 'local experiments')
<benny> benny: nix-env -p androidenv.androidPkgs_9_0.platform-tools
mexisme_ has joined #nixos
nuncanada has joined #nixos
ixxie has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/14cecf426b6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
iz16 has quit [Quit: poweroff]
waleee-cl has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @FRidh merged pull request #79852 → vulkan: 1.1 -> 1.2 (backport to 20.03) → https://git.io/JvCVa
<{^_^}> [nixpkgs] @FRidh pushed 7 commits to release-20.03: https://git.io/Jv410
evanjs has joined #nixos
<duairc> I have a problem where I can't nixos-rebuild because it's failing to find some nar files on one of my binary caches. But nothing on that binary cache is relevant for doing a nixos-rebuild, can I just tell it to ignore that and carry?
<duairc> *carry on
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<clever> duairc: try doing `rm ~/.cache/nix/binary-cache-v6.sqlite*` as root
<{^_^}> [nixpkgs] @raboof opened pull request #80457 → Don't replace /etc in fhs-userenv → https://git.io/Jv41w
<duairc> clever: Thanks :) It actually started working now after a few retries but I'll remember that in future because I've had this problem before too
<clever> duairc: that can happen any time a binary cache gets GC'd
<raboof> also it is scary how fast {^_^} is - typically I hear its notification before the github page creating the PR has finished refreshing :D
<clever> and the file i listed, is the cache of what is on a cache
sigmundv has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #78215 → pythonPackages.dill: enable tests → https://git.io/JvLZ4
<{^_^}> [nixpkgs] @FRidh pushed commit from @drewrisinger to master « pythonPackages.dill: enable tests »: https://git.io/Jv41Q
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
<{^_^}> [nix] @edolstra pushed 3 commits to 2.3-maintenance: https://git.io/Jv415
<{^_^}> [nixpkgs] @FRidh merged pull request #76279 → s3bro: init at 2.8 → https://git.io/Jv41d
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/Jv41F
<{^_^}> [nixpkgs] @jonringer merged pull request #79363 → jirafeau: init at 4.1.1 + module → https://git.io/JvZoA
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jv41N
<{^_^}> [nixpkgs] @jonringer merged pull request #80455 → [20.03] python3Packages.fastparquet: 0.3.2 -> 0.3.3 → https://git.io/Jv4Xw
<{^_^}> [nixpkgs] @jonringer pushed to release-20.03 « python3Packages.fastparquet: 0.3.2 -> 0.3.3 »: https://git.io/Jv41x
boxscape has joined #nixos
andi- has quit [Ping timeout: 260 seconds]
andi- has joined #nixos
chloekek has joined #nixos
Ianulus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ttuegel merged pull request #80448 → Revert "zsh: don't clobber the environment of non-login shells" → https://git.io/Jv4it
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/Jv4MG
ToxicFrog has quit [Quit: WeeChat 2.7]
ToxicFrog has joined #nixos
KeiraT has quit [Quit: KeiraT]
jb55 has joined #nixos
KeiraT has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
andi- has quit [Read error: Connection reset by peer]
andi- has joined #nixos
zupo has joined #nixos
ambro718 has joined #nixos
evanjs has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #80458 → python3Packages.pytorch-metric-learning: init at 0.9.73 → https://git.io/Jv4MV
<evanjs> does dry-run get angry re IFD and etc?
<evanjs> Just had a case where I couldn't do a dry-run because stuff doesn't exist (imports from nixos-config) but removing dry-run seems to work fine
<evanjs> just a weird error message IMO
growpotkin has joined #nixos
smatting_ has quit [Ping timeout: 272 seconds]
tomberek has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xelaushi closed pull request #80380 → godot: 3.1.2 -> 3.2 → https://git.io/Jv4Ob
erasmas has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erictapen has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @simonchatts opened pull request #80459 → spago: fix Darwin build → https://git.io/Jv4MN
<{^_^}> [nixpkgs] @Ma27 merged pull request #80438 → ZHF: #80379 xonsh: fix broken tests → https://git.io/Jv4VF
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/Jv4Mj
andi- has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed commit from @KoviRobi to master « xonsh: Fix broken tests »: https://git.io/Jv4Dk
<{^_^}> [nixpkgs] @0x4A6F opened pull request #80460 → maintainers: fix 0x4A6F → https://git.io/Jv4Dt
<evils> hmm, in a nixos module, i can use the value of another option in the example of an option, but not the example value of another option?
andi- has joined #nixos
chagra has quit [Ping timeout: 272 seconds]
zupo_ has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « nix eval-hydra-jobs: Check aggregate jobs in --dry-run mode »: https://git.io/Jv4Da
<{^_^}> [nixpkgs] @betaboon closed pull request #73237 → nixos/tests/installer: port to python → https://git.io/JewBv
Yannik_Sc has joined #nixos
acarrico has joined #nixos
datakurre has quit [Ping timeout: 260 seconds]
<mikky> how can I reference container name inside the container config{ } ? i.e. containers.mycontainer.config { ..... "I want the string "mycontainer" here somewhere" }
<clever> mikky: i think its a fully self-contained nixos, so you can do .config = { config, ... }: { ... config.networking.hostname
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikky> clever: yeah, that's what I'm doing now but it just doesn't feel right
<clever> mikky: i think thats the best option, you can probably also do `mycontainer.config = ./container.nix`
<{^_^}> [nixpkgs] @veprbl closed pull request #53156 → patchbay, patchwork: init with appimage-run → https://git.io/fhtAM
<mdash> mikky: Cheat.
cosimone has joined #nixos
<mikky> right, clever, so if I abstract from containers and present this as a nix language question, there's no solution?
<clever> mikky: i dont think there is
<mdash> mikky: 'let container-name = "mycontainer"; in { containers.${container-name}.config = { ... }; }'
<mikky> mdash: nice :) though little more complex, this might enable me to do even more interesting stuff
linarcx has joined #nixos
erictapen has joined #nixos
datakurre has joined #nixos
o1lo01ol_ has quit [Ping timeout: 260 seconds]
Acou_Bass has quit [Ping timeout: 240 seconds]
<evanjs> clever: okay maybe I'm looking at this the wrong way. INITRAMFS_SOURCE expects a directory, that it then takes and creates an initrd from. I've been supplying it an initrd.
<evanjs> I think I just need to tweak it so that's a directory and then give it that, but I'd like to specify that declaratively :P
<evanjs> e.g. paths in a closure just like initrd. I wonder what function or etc I'd need to do that. e.g. buildEnv?
zacts has joined #nixos
<clever> evanjs: let me double-check what i was doing
<clever> evanjs: because i was definitely giving it a cpio file
<evanjs> for INITRAMFS_SOURCE? bahhh
<clever> This can be either a single cpio archive with a .cpio suffix or a
<clever> space-separated list of directories and files for building the
<clever> -rw-r--r-- 1 clever users 25M Jan 18 13:35 initrd.cpio
<clever> evanjs: i remember now, i was doing `nix-build -A initrd && cat initrd/initrd | gunzip > initrd.cpio`
<evanjs> what in the world haha
<clever> if the extension is right, linux will use it as a raw cpio
<clever> if the extension is wrong, linux will pack it into a cpio for you
<evanjs> wait.... you're not telling me... that the reason it work work... is because I have initrd instead of initrd.cpio?
<clever> yes
<evanjs> Btw the compressor = "cat" I think should do the same thing as that ^
<clever> yeah
<evanjs> alright lemme try that... wow lol
<clever> i was reusing the nixos expression
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #80461 → python3Packages.ftfy: 5.6 -> 5.7 → https://git.io/Jv4yQ
<evanjs> ah alright. now how to change the name of the----oh sweet. name lol
HugoDaniel has quit [Ping timeout: 265 seconds]
<evanjs> and now the kernel build shouldn't fail, either, if I pass it a single file, since it's named .cpio?
<clever> evanjs: the main reason i dont use this option in nix, is because you need to re-compile the entire kernel every time the initrd changes
<clever> yeah
<clever> there is also...
<evanjs> right right which makes sense. And this is a step getting it ready for the build system so meh.
<clever> ARM_APPENDED_DTB maybe i'm thinking of this
<clever> thought i saw an initrd version
<{^_^}> [nixpkgs] @ehmry closed pull request #80359 → ssb-patchbay: init at 8.1.0 → https://git.io/Jv8h4
<evanjs> reallllllly wish I could enable ccache or etc for specific local/workspace packages, though x_x
<clever> thats why my kernel is impurely built under nix-shell
<gchristensen> I've heard of experiments around using recursive nix to support ccache
<evanjs> recursive nix..? that sounds scary haha
<clever> evanjs: its basically just nix-build inside a build
smatting_ has joined #nixos
zupo_ has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/14cecf426b6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
zacts has quit [Quit: zacts]
sleepymurph has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #80462 → Writers use run command local for scripts → https://git.io/Jv4Sv
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #80463 → sundials: 5.0.0 -> 5.1.0 → https://git.io/Jv4ST
<{^_^}> [nixpkgs] @drewrisinger opened pull request #80464 → pythonPackages.qiskit-terra: init at 0.12.0 → https://git.io/Jv4Sq
sleepymurph has quit [Quit: Quit]
<{^_^}> [nixos-org-configurations] @garbas pushed to requesting-nix-release-s3-bucket-access « Requesting access to nix-releases S3 bucket »: https://git.io/Jv4Sn
<{^_^}> [nixos-org-configurations] @garbas opened pull request #102 → Requesting access to nix-releases S3 bucket → https://git.io/Jv4Sc
Acou_Bass has quit [Ping timeout: 260 seconds]
sleepymurph has joined #nixos
zeta_0 has joined #nixos
Acou_Bass has joined #nixos
knupfer has joined #nixos
malSet has joined #nixos
ambro718 has quit [Ping timeout: 240 seconds]
HugoDaniel has joined #nixos
reset has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #80465 → pythonPackages.pyparted: 3.10.4 -> 3.11.4 → https://git.io/Jv4SS
LysergicDreams has quit [Ping timeout: 272 seconds]
LysergicDreams has joined #nixos
HugoDaniel has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @adamse opened pull request #80466 → ghc: really use ld.gold → https://git.io/Jv4S5
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<bennofs> is there some way to have files with mode +w in the nix store?
<bennofs> (i don't want to write to them, but cp from the file should create a writable one)
ambro718 has joined #nixos
o1lo01ol1o has joined #nixos
<evanjs> clever: hrmmm name in makeInitrd is just for the store name, not the ${package}/name name. Wonder how I might "rename" that in nix
<clever> evanjs: runCommand that just symlinks $out to ${foo}/initrd ?
<{^_^}> [nixpkgs] @Lassulus merged pull request #80462 → Writers use run command local for scripts → https://git.io/Jv4Sv
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/Jv493
<evanjs> clever: runCommand, _that's_ what I was looking for the other day. Kept searching for shell in nixpkgs :D
<evanjs> clever++
<{^_^}> clever's karma got increased to 335
<{^_^}> [nixpkgs] @danieldk opened pull request #80467 → python3Packages.vowpalwabbit: fix build → https://git.io/Jv49c
o1lo01ol1o has quit [Remote host closed the connection]
HugoDaniel has joined #nixos
<reset> Is there a wiki article describing the process for how to get software from unstable merged into the 19.09 branch?
<samueldr> no, but there's a docs chapter
<ajs124> is there a jobset on hydra that builds nixpkgs for darwin from master?
<ajs124> or only the release branches??
<evanjs> clever: okay got that figured out. So it should work with just a link of initrd.cpio -> a file named initrd... right?
<reset> @samueldr thank you!
* samueldr thought there was another section
<{^_^}> [nixpkgs] @veprbl merged pull request #80419 → Revert "hdf5-fortran: Mark broken on Darwin" → https://git.io/Jv4RN
<{^_^}> [nixpkgs] @veprbl pushed commit from @tviti to master « Revert "hdf5-fortran: Mark broken on Darwin" (#80419) »: https://git.io/Jv49u
psyanticy has quit [Quit: Connection closed for inactivity]
mexisme_ has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ad952ac7719 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<evanjs> Now, if only there was an easy way to set CONFIG_MODULES. Hrm.
<{^_^}> [nixpkgs] @disassembler merged pull request #80461 → Merge pull request #80461 from danieldk/ftfy-5.7 → https://git.io/Jv4yQ
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/Jv49S
<evanjs> ahhhhhhhhhhhh. it's aliveeeeeeeeeeeeeeeeeeee
<evanjs> clever++
<{^_^}> clever's karma got increased to 336
waleee-cl has joined #nixos
<evanjs> finally just about done with this project!
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @disassembler pushed commit from @danieldk to release-20.03 « python3Packages.ftfy: 5.6 -> 5.7 »: https://git.io/Jv499
Pidgeotto has joined #nixos
mexisme has joined #nixos
newuser99 has joined #nixos
kolaente_ has joined #nixos
<adamse> i have some commits to the nixpkgs repo, how do I best test that building the changed packages works as expected?
<adamse> anything I can read?
mexisme_ has quit [Ping timeout: 272 seconds]
kolaente_ has quit [Client Quit]
ixxie has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
<newuser99> I used to have htop in my config.nix and now I want to use home-manager's htop but they conflict. I think I'm supposed to change the priority or remove the old htop. I tried setting the priority with `nix-env --set-flag priority 8 htop` but got `error: selector 'htop' matches no derivations`. And I tried removing the old htop by doing `nix-env
<newuser99> --delete-generations old && nix-store --gc` but that didn't solve the problem either.
<adamse> nix-shell -E "(import ./. {}).path.to.package" seems to be a good start
o1lo01ol1o has joined #nixos
mexisme has quit [Quit: WeeChat 2.7]
joph has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
joph is now known as jonph
ixxie has quit [Ping timeout: 260 seconds]
<jonph> hi. does anybody else have problems with "systemctl hybrid-sleep"?
growpotk- has joined #nixos
o1lo01ol1o has joined #nixos
jonph is now known as pip3000
nikola_i has joined #nixos
wavirc22 has quit [Ping timeout: 260 seconds]
nikola_i has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @edolstra pushed to 2.3-maintenance « Doh »: https://git.io/Jv4H8
o1lo01ol1o has quit [Remote host closed the connection]
chagra has joined #nixos
ToxicFrog has quit [Remote host closed the connection]
chimay has quit [Ping timeout: 268 seconds]
ToxicFrog has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
mexisme has joined #nixos
dingenskirchen1 has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has quit [Client Quit]
dingenskirchen has joined #nixos
HugoDaniel has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/Jv4Ho
<{^_^}> [nixpkgs] @vcunat merged pull request #80460 → maintainers: fix 0x4A6F → https://git.io/Jv4Dt
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #102 → Requesting access to nix-releases S3 bucket → https://git.io/Jv4Sc
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/Jv4H6
<{^_^}> [nixos-org-configurations] @edolstra pushed 0 commits to requesting-nix-release-s3-bucket-access: https://git.io/Jv4HP
<{^_^}> [nixos-org-configurations] @edolstra pushed 3 commits to master: https://git.io/Jv4HX
Pidgeotto has quit [Quit: ZNC: the superior metal to CBLT]
hoijui has quit [Ping timeout: 246 seconds]
knupfer has quit [Remote host closed the connection]
growpotk- has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @cptMikky opened pull request #80469 → fix 80468: remove extra `consul` from command → https://git.io/Jv4HM
knupfer has joined #nixos
newuser99 has quit [Remote host closed the connection]
cosimone has joined #nixos
Pidgeotto has joined #nixos
<mikky> can I overlay/override a module in similar fasion as a derivation?
<clever> mikky: the nixos manual says how, disabledModules i think it was
opthomasprime has left #nixos [#nixos]
maddo has joined #nixos
linarcx has quit [Quit: WeeChat 2.7]
pip3000 has left #nixos [#nixos]
<mikky> ah, "replace" is the keyword here. thanks clever
opthomasprime has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> hey out there
<fresheyeball> for some reason today I can't use any ssh nix caches
<fresheyeball> error: cannot connect to 'nix-ssh@192.168.1.20'
<fresheyeball> I made no substanital change to my system
<fresheyeball> how can I debug this kind of error?
<fresheyeball> I get the error when trying to enter a nix-shell
<{^_^}> [nix] @edolstra pushed to flakes « nix eval-hydra-jobs: Fix aggregate derivation name »: https://git.io/Jv4QW
slack1256 has joined #nixos
<dashkal> So I have an odd one. Once in awhile my system locks up. Stops accepting mouse and keyboard interaction. Have to hard-reboot. I'm running a hybrid intel/nvidia laptop. Lenovo P52s. I've had this happen in both intel-only and nvidia prime mode. Where should I look to try to diagnost this?
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « ggRevert "Use Nixpkgs 20.03" »: https://git.io/Jv4Q6
smatting_ has quit [Quit: WeeChat 2.4]
<waleee-cl> dashkal: look for i915 in journalctl (with apropriate --since and/or --reverse for best effect)
<fresheyeball> Oop I figured it out
<fresheyeball> I accidentlty changed the permissions on my ssh keys
<fresheyeball> all is well
<fresheyeball> ugh
<waleee-cl> kernel 5.4 to 5.5 has some issues with intel iGPU:s
<grp> I need to be able to force nixos-rebuild without internet. Sometimes I have all that's needed in the store but nixos-rebuild will refuse unless it can grab some *.narinfo cache
zischknall has joined #nixos
<clever> grp: --option substituters ''
opthomasprime has quit [Quit: Leaving.]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
HugoDaniel has joined #nixos
<bennofs> can nixos-rebuild take a pre-evaled .drv instead of trying to eval the system again?
<grp> clever: that did it! I had --option substitute false
<grp> seems that's outdated
<grp> clever: thanks for the accurate and fast response. I'm building an ISP-grade border router with nixos and being unable to rebuild some conf just because it can't connect somewhere its a game-killer
<grp> s/its/is
shibboleth has quit [Quit: shibboleth]
<dashkal> waleee-cl: Hrms, appreciated. Nothing obvious, but I'll try that again next time it does the thing.
knupfer has quit [Remote host closed the connection]
<grp> clever: woops, seems it'll let me dry-build but that's it
HugoDaniel has quit [Ping timeout: 248 seconds]
<grp> reading the to-be-created derivations, I don't see packages
<grp> only systemd units
mexisme has quit [Quit: WeeChat 2.7]
<clever> grp: if it doesnt have a compiler, and the cache is off, it will want to build the compiler from source
<grp> makes sense, but how about system configurations? I've already added nix.extraConfs keep-outputs = true and keep-derivations = true
<grp> why would it want a cache for that?
<grp> the only thing I agree with is needing it for packages, even if indirectly needed
mexisme has joined #nixos
<grp> but anything else is just... not sensible in my oppinion
<grp> it shatters my use case
<clever> grp: you can use nix copy and a usb stick to smuggle things in over an airgap
<clever> grp: but in cases like this, i would just use `ip addr` and editing `/etc/resolve.conf` to bring the link up by hand, since its not meant to be air-gapped
<grp> yeah, that's what I'd do anyways, but I wanted to keep everything nix-managed
<clever> grp: have you looked into nixops yet?
<clever> grp: that pre-builds things on a different machine, so you dont have as much of an issue
<grp> haven't had the spare effort to invest in it yet
<emily> clever: I mean... it still shouldn't fail randomly just because the network isn't available if everything needed is on disk, presumably?
<emily> wouldn't diagnosing the root cause be a better approach?
<clever> emily: yeah, if you turn off the cache, and have everything, it should just build
<clever> grp: can you somehow pastebin the output of `nixos-rebuild dry-run --option substituters ''` ?
<grp> next in line would be nixos containers. I've used them back in nixos 18 but didn't go far with them. Opted for lxc in devuan
hoijui has joined #nixos
<grp> sure, let me get the box back into the internet
<{^_^}> [nixpkgs] @cptMikky closed pull request #80469 → fix 80468: remove extra `consul` from command → https://git.io/Jv4HM
drakonis has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #80470 → rubyWithPackages.libv8: fix compilation → https://git.io/Jv47r
m0rphism has quit [Ping timeout: 240 seconds]
ris has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Neo-- has quit [Ping timeout: 240 seconds]
<grp> clever: http://ix.io/2c5n
<{^_^}> [nixpkgs] @stigtsp opened pull request #80471 → perlPackages.CPAN: apply patch to fix changed YAML module default → https://git.io/Jv47K
<clever> grp: looks normal, only the config files have to rebuild
<clever> grp: if you just `nixos-rebuild switch --option substituters ''` it should build without issues
<grp> doesn't though
<grp> keeps failing trying to get the cache
<clever> grp: how does it fail?
<grp> let me disconnect the machine so I can make it fail
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @Zopieux opened pull request #80472 → python3Packages.fastapi: remove broken patch → https://git.io/Jv47Q
<grp> ok, I screwed up, so sorry. I had a local copy of nixos-rebuild script, where I added the --option substituters '' to the nix-build call. I was calling that but seems extra arguments are handled in a not so trivial manner. Just for good luck I tried the command you quoted verbatim and it did work.
<grp> clever: it's all good now
fresheyeball has quit [Quit: WeeChat 2.6]
<grp> I'm *so* aliasing this now
<{^_^}> [nixpkgs] @Ma27 merged pull request #80427 → cargo-geiger: fix build with rust 1.41 → https://git.io/Jv4ur
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jv475
<grp> alias nixos-offline
<clever> grp: i also use that flag with nix-build and `nix build` when iterating on development, because its checking for what i just changed, on every cache, that cant possibly have it yet
<grp> clever: ./nixos-rebuild dry-build was working fine, strange that boot didn't
<grp> anyway, it's working fine now
<worldofpeace> Can someone explain how this commit actually works on my machine https://github.com/NixOS/nixpkgs/pull/80272/commits/d124fde1eb5cbb87a3d95a86727a75f96ccb4390 ?
zupo has joined #nixos
<{^_^}> [nixpkgs] @ahiaao closed pull request #79051 → ruby-gnome: 3.3.7 -> 3.4.1 → https://git.io/Jv3j5
<grp> clever: thanks again. Also I have a fix to contribute regarding vlan devices handling during the boot process
Arahael has joined #nixos
<grp> it took me a couple of hours to figure out what was making systemd wait for vlan devices that were already up
<grp> but since the problem should be the same for many other virtual interfaces like macvlans, bridges, etc, I'd first need to define a few and test things
<grp> is there a test-suite of sorts?
<grp> well, prolly there's no test-case covering this issue
<{^_^}> [nixpkgs] @Mic92 merged pull request #80401 → clippy: add rustc.llvm to buildInputs → https://git.io/Jv4nE
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jv45Y
drakonis has joined #nixos
<emily> there's a large VM-based test suite for nixos, yeah
<{^_^}> [nixpkgs] @manveru opened pull request #80473 → crystal: remove 0.25 and 0.26 → https://git.io/Jv45W
knupfer has joined #nixos
<{^_^}> [nixpkgs] @dirn closed pull request #72484 → darling: 11b51fw -> 0.2019.8 → https://git.io/Jegnr
<drakonis> that guy closed the pull requst because of the github dashboard
<drakonis> what is the point
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.6-rc1 -> 5.6-rc2 »: https://git.io/Jv45K
<{^_^}> [nixpkgs] @Ma27 pushed commit from @xfix to release-20.03 « cargo-geiger: fix build with rust 1.41 »: https://git.io/Jv45X
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ad952ac7719 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
chloekek has quit [Ping timeout: 268 seconds]
__monty__ has quit [Quit: leaving]
<gchristensen> is there a way to restart services after nixops copies keys?
<{^_^}> [nixpkgs] @cust0dian opened pull request #80474 → nushell: 0.9.0 -> 0.10.0 → https://git.io/Jv457
<{^_^}> [nix] @edolstra pushed to flakes « Remove outdated shell.nix »: https://git.io/Jv455
<{^_^}> [nixpkgs] @jonringer merged pull request #80465 → pythonPackages.pyparted: 3.10.4 -> 3.11.4 → https://git.io/Jv4SS
<{^_^}> [nixpkgs] @jonringer pushed commit from @lsix to master « pythonPackages.pyparted: 3.10.4 -> 3.11.4 »: https://git.io/Jv45A
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
erictapen has quit [Ping timeout: 265 seconds]
Ilya_G has joined #nixos
HugoDaniel has joined #nixos
<Ilya_G> Would like some help on a simplistic issue in `configuration.nix`
fresheyeball has joined #nixos
<cole-h> For ZHF backporting: do I want to cherry-pick the merge commit, or the actual commit?
jgeerds has joined #nixos
growpotk- has joined #nixos
<samueldr> the actual commit
<cole-h> Thanks.
<Ilya_G> I am declaring a variable that gets pulled out of the environment and then I am trying to pass that into the environment variable set of my service
<fresheyeball> I just got distrubuted builds working
<fresheyeball> but I have no idea what these options are
<fresheyeball> what is maxJobs?
<fresheyeball> why is setting it to zero mean nothing runs on my machine
garmanarar has joined #nixos
<emily> because that runs, well, 0 jobs at maximum on your machine
<Ilya_G> I get the attached error dump
ambro718 has quit [Ping timeout: 268 seconds]
<fresheyeball> emily: does that mean my local machine is the preferred builder?
<fresheyeball> and so it will only use remote if the number of jobs exceeds 1?
<emily> no, it'll use remote machines even if you have -j>0
<emily> just not universally
<emily> I don't know exactly how it decides. there's hints in derivations to prefer building them locally so that's one input at least
claudiii has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @stigtsp opened pull request #80476 → perlPackages.{CryptCurve25519,MathGMP}: fixed build failures → https://git.io/Jv4d3
<cole-h> samueldr: And is there a consensus on backport PR titles?
<Ilya_G> Folks can any one help untangle a simple config error. I am missing something in Nix I think: https://gist.github.com/ilyaGotfryd/530423b8e73c5d40b1a24eabdf07f39b
<fresheyeball> emily: what do you mean by hints?
<samueldr> I don't know of any, cole-h, you probably want to use something like [yy.mm] same title
<cole-h> (and would these questions be better suited for #nixos-dev)
<samueldr> cole-h: fine for here too
<fresheyeball> can I just say "build locally preferred?
<emily> fresheyeball: preferLocalBuild = true; in derivations
<cole-h> samueldr++, thanks. Current idea is `[backport 20.03]`, but I guess `[20.03]` gets the point across as well
<{^_^}> samueldr's karma got increased to 167
<fresheyeball> emily:how can I add that to my derivation?
<Ilya_G> clever: Any way I could bother you for a silly configuration.nix issue? https://gist.github.com/ilyaGotfryd/530423b8e73c5d40b1a24eabdf07f39b
<samueldr> cole-h: and thanks for giving a hand too!
<Ilya_G> line 13 in my sample config is crapping out and I am not clear as to why since I am following directions
<fresheyeball> emily: oic
<fresheyeball> thanks
<cole-h> ilya_g: You've asked 4 times in the past 5 minutes and not gotten any responses -- chill and wait a few :-)
<Ilya_G> cole-h sounds good, sorry
<{^_^}> [nixpkgs] @stigtsp closed pull request #80471 → perlPackages.CPAN: apply patch to fix changed YAML module default → https://git.io/Jv47K
<{^_^}> [nixpkgs] @stigtsp reopened pull request #80471 → perlPackages.CPAN: apply patch to fix changed YAML module default → https://git.io/Jv47K
garmanarar has quit [Quit: WeeChat 2.6]
knupfer has quit [Ping timeout: 248 seconds]
<fresheyeball> ilya_g: how are you sure that line is the problem?
<Ilya_G> I just added it and this is when the problem revealed itself.
<Ilya_G> My configuration is broader then this
<fresheyeball> cannot coerce a set to a string
<fresheyeball> that is the error?
<Ilya_G> I contracted it to the relevant edit and context I mafe
growpotk- has quit [Ping timeout: 272 seconds]
<Ilya_G> I believe it is
<emily> are you sure log_adapter_engine is a string
<{^_^}> [nixpkgs] @cole-h opened pull request #80477 → [20.03] Backport `clippy: add rustc.llvm to buildInputs` → https://git.io/Jv4dl
<Ilya_G> environment variable is a string and builtin pulls it from the environment
<Ilya_G> or am I missing something
<cole-h> samueldr: Should I mention the ZHF in the backport PR? I already pinged it in the original PR, so I don't want to spam that issue too much..
<samueldr> yes, it's not spam whle it applies
<samueldr> while*
<fresheyeball> ilya_g: did you look at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/nixos/modules/system/boot/systemd-lib.nix:102:10 ?
philr has joined #nixos
<cole-h> OKOK, thanks for the clarification :-) Sorry for the spam pings on here :P
<emily> ilya_g: yes: I said log_adapter_engine, not vision_server_api_key_header
<{^_^}> [nixpkgs] @volth opened pull request #80478 → graalvm{8,11}-ee: 19.3.1 -> 20.0.0 → https://git.io/Jv4dE
<fionera> Hi o/ Anyone an idea why my Yubikey 4 doesnt want to work with gnupg? I always get "no card found" but ykman does find it
<Ilya_G> emily: sorry that one is a module that gets installed and this expression returns a path
<fresheyeball> emily: how about speedFactor?
<Ilya_G> I had that working beofre I added line 13
<fionera> pcscd is running but always prints errors about init failed and gnupg is complaining about not finding /usr/lib/libpcsclite.so
<{^_^}> [nixpkgs] @Ma27 merged pull request #80474 → nushell: 0.9.0 -> 0.10.0 → https://git.io/Jv457
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jv4dz
<emily> fionera: do you have services.{pcscd,gnupg}.enable = true in your NixOS config? just checking
<fresheyeball> anyone know what speedFactor does?
<emily> fwiw I use my yubikey for ssh with gpg-agent and it works fine for me
<emily> fresheyeball: relative ranking of the machine's speed, relative to other build machines
<fresheyeball> emily: I assume my machine is 1?
drakonis has quit [Quit: WeeChat 2.7]
<fionera> emily: yes else pcscd couldnt complain :D
<emily> fresheyeball: not sure if it even participates in the speed calculations, sorry
<emily> fresheyeball: you probably don't care about it unless you have multiple remote builders
<emily> if you do then https://nixos.org/nix/manual/#chap-distributed-builds has some docs on all the params
<emily> fionera: not sure then, sorry. my guess would be something messed up with udev that means you aren't pulling in the rules giving your user access to the device
<emily> does it work if you do it as root? (gross, I know)
<fionera> yes it does o.O
<emily> oh, you might want to make sure you have yubikey-manager installed too
<emily> since that has some udev rules too iirc (though I guess nixos won't look at them just because you put it in systemPackages, I don't know how the udev stuff works)
<emily> I had to add some udev rules manually for my yubikey 4 in the past but haven't lately. I think the upstream rules got fixed/changed
<emily> (but maybe you're on an older NixOS version and so you do have to manually add it)
<emily> oh hm the .rules aren't even in yubikey-manager, I must be confused
<fionera> I am on nixos and nixpkgs unstable :)
<emily> oh!
<fionera> ykman does find it as normal user
<emily> try setting hardware.u2f.enable = true;
<emily> I think that's probably what's pulling in the udev rules for me
<fionera> have that already
<emily> if that works, then you might want to open an issue in nixpkgs -- since either there should be a gnupg option for it too, or gnupg should pull it in by default, or it should be named something other than hardware.u2f
<emily> hm :(
jonten has joined #nixos
drakonis has joined #nixos
<emily> oh, is your user actually in the plugdev group? ^^;
<emily> I had to add it to users.users.emily.extraGroups manually
<emily> and I guess it's not getting created because no user is using it or something
<Ilya_G> @emily fresheyeball I think I found it. The property was one level deeper then it needed to be. I added option on a wrong item.
Ilya_G has quit [Remote host closed the connection]
<fionera> emily: It doesnt get created even when I add it
<emily> hm, are you sure? can I see configuration.nix/nixos-rebuild switch output maybe?
fenedor has joined #nixos
Yannik_Sc has quit [Quit: Yannik_Sc]
<fionera> I now manually created it with users.groups.plugdev = {};
<fionera> gonna reboot real quick for groups to take effect
slack1256 has quit [Remote host closed the connection]
wiml has joined #nixos
<cole-h> Don't need to reboot IIRC
<cole-h> Just logout and in
grp has quit [Ping timeout: 240 seconds]
<fionera> reboot is same speed ^^
orivej has quit [Ping timeout: 265 seconds]
slack1256 has joined #nixos
<cole-h> haha
fendor has quit [Ping timeout: 272 seconds]
<emily> huh, I also have users.groups.plugdev = {};
<emily> so I guess this is just broken upstream and I forgot to report it >_>
<emily> that should probably not be required when you're enabling udev rules that reference it
<cole-h> If that fixes it, at least
<emily> hmm, https://github.com/NixOS/nixpkgs/issues/76482 suggests that the plugdev group is actually not what you're supposed to do and it should Just Work Magically without plugdev
<{^_^}> #76482 (by hkjn, 7 weeks ago, open): "Unknown group plugdev" errors from pkgs.libu2f-host
<emily> but it never worked for me, so... /shrug
<cole-h> If it doesn't work without it, then there is something wrong ;-)
gxt has joined #nixos
<fionera> yeah but still the same issue
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<fionera> hmm somehow the device doesnt get the plugdev group assigned in the /sys/devices
HugoDaniel has quit [Ping timeout: 260 seconds]
noudle has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #80479 → Revert "postgresql: build < 9.5 with openssl 1.0.2" → https://git.io/Jv4FW
gxt has quit [Quit: WeeChat 2.7]
mexisme has quit [Ping timeout: 272 seconds]
<fionera> any other idea? plugdev group exists now and I am in it
<{^_^}> [nixpkgs] @flokli opened pull request #80480 → systemd: 243.4 -> 243.7 → https://git.io/Jv4F4
<flokli> fionera: plugdev group is just plain wrong here. see https://github.com/Yubico/libu2f-host/issues/116#issuecomment-576022128
<fionera> yeah but changing the udev rules itself was more work
<fionera> also I am currently just testing every idea since i dont know anything else
ToxicFrog has quit [Quit: WeeChat 2.7]
ToxicFrog has joined #nixos
iqubic has joined #nixos
<fionera> thunderbird also complains about missing "pinentry" but I will stop trying for today. Its already 12am :D
fenedor has quit [Read error: Connection reset by peer]
<{^_^}> [nix] @edolstra pushed to flakes « Fix nixpkgs.<attr> warning »: https://git.io/Jv4F5
mexisme has joined #nixos
<{^_^}> [nixpkgs] @zowoq closed pull request #80479 → Revert "postgresql: build < 9.5 with openssl 1.0.2" → https://git.io/Jv4FW
hoijui has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80453 → flatpak: use correct p11-kit output → https://git.io/Jv4Xe
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv4bU
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « flatpak: use correct p11-kit output »: https://git.io/Jv4bq
<iqubic> Well, I finally have a notification thing set-up. Dunst is really cool, and I love it.
philr has quit [Ping timeout: 260 seconds]
newuser99 has joined #nixos
maddo has quit [Quit: See ya]
ydlr has joined #nixos
fusion809 has joined #nixos
maddo has joined #nixos
<iqubic> It took quite a while to set this up properly.
acarrico has quit [Ping timeout: 240 seconds]
reset1 has joined #nixos
m0rphism has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
reset has quit [Ping timeout: 265 seconds]
zischknall has quit [Quit: leaving]
silver_hook has quit [Ping timeout: 260 seconds]
zeta_0 has joined #nixos
tilcreator has quit [Ping timeout: 265 seconds]
johnny101m has joined #nixos
johnny101m2 has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
silver_hook has joined #nixos
o1lo01ol1o has joined #nixos
tilcreator has joined #nixos
cosimone has quit [Quit: Quit.]
ryantrinkle has quit [Ping timeout: 272 seconds]
jonten has quit [Ping timeout: 260 seconds]
newuser9982 has joined #nixos
mexisme has quit [Ping timeout: 260 seconds]
HugoDaniel has joined #nixos
newuser9982 is now known as newuser98
newuser98 has quit [Remote host closed the connection]
newuser97 has joined #nixos
erasmas has quit [Quit: leaving]
mexisme has joined #nixos
maddo has quit [Ping timeout: 248 seconds]
HugoDaniel has quit [Ping timeout: 248 seconds]
lsix has quit [Quit: WeeChat 2.6]
maddo has joined #nixos
jgeerds has quit [Ping timeout: 272 seconds]