sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ | 20.09 ZHF: https://discourse.nixos.org/t/nixos-20-09-zero-hydra-failures/8928 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 20.03 RMs: worldofpeace, disasm; 20.09: worldofpeace, jonringer | https://logs.nix.samueldr.com/nixos-dev
alp has quit [Remote host closed the connection]
alp has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
cole-h has quit [Quit: Goodbye]
ris has quit [Ping timeout: 272 seconds]
<colemickens> Does `nix build`s pickiness about building a single derivation only apply to when building a flake output ?
rajivr has joined #nixos-dev
marek has quit [Ping timeout: 256 seconds]
marek has joined #nixos-dev
<rajivr> I am just getting started with Nix flakes. When Nix flakes encounters a command such as `nix shell nixpkgs#cowsay --command cowsay Hi!`, is it the case that in case an `output` `cowsay` is not defined, it would automatically look under `legacyPackages` and `packages` output? If so, is this behavior specific to `nixpkgs` or applicable to any flake?
justanotheruser has quit [Ping timeout: 272 seconds]
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
spacekookie has joined #nixos-dev
endocrimes has quit [Remote host closed the connection]
endocrimes has joined #nixos-dev
<srhb> rajivr: packages.yourSystem and legacyPackages.yourSystem are both special cased in nix itself.
<srhb> rajivr: nixpkgs/flake.nix presents legacyPackages.
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
orivej has joined #nixos-dev
alp has joined #nixos-dev
tom39291_ has quit [Ping timeout: 244 seconds]
tom39291_ has joined #nixos-dev
cole-h has joined #nixos-dev
niksnut has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
saschagrunert has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
cole-h has quit [Quit: Goodbye]
<domenkozar[m]> I think I found a way to generate a working installer for each master commit
<domenkozar[m]> the downside is that we'd spam the release page on github, sadly github doesn't allow filtering there for official releases
<{^_^}> nix#4047 (by domenkozar, 15 seconds ago, open): Create a working installer script for each commit/PR
eyJhb has joined #nixos-dev
tdeo has joined #nixos-dev
<zimbatm_> hey there, if you haven't submitted a talk for NixCon 2020, now is the time to do it: https://cfp.nixcon.org/nixcon2020/cfp?access_code=MORENIX
<zimbatm_> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
teto has joined #nixos-dev
zimbatm_ is now known as zimbatm
<das_j> ajs124: Do we have anything?
<rajivr> Thanks srhb
ckauhaus has joined #nixos-dev
orivej has joined #nixos-dev
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
tom39291_ has quit [Quit: WeeChat 2.7.1]
tom39291 has joined #nixos-dev
tom39291 has quit [Client Quit]
tom39291 has joined #nixos-dev
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
tom39291 has quit [Quit: WeeChat 2.9]
tom39291 has joined #nixos-dev
tom39291 has quit [Client Quit]
tom39291 has joined #nixos-dev
tom39291 has quit [Client Quit]
tom39291 has joined #nixos-dev
tom39291 has quit [Client Quit]
tom39291 has joined #nixos-dev
tom39291 has quit [Quit: WeeChat 2.9]
tom39291 has joined #nixos-dev
ris has joined #nixos-dev
ris has quit [Ping timeout: 256 seconds]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
evanjs has quit [Excess Flood]
evanjs has joined #nixos-dev
<clever> error: cannot figure out user name
<clever> [clever@amd-nixos:~] (namespaced) $ nix-env --version
<clever> if $USER is blank, and nscd isnt running, nix-env now hard fails, and cant do anything
<clever> even when it doesnt care about the username
<clever> src/libstore/local-store.cc: createUser(getUserName(), getuid());
<clever> its trying to chmod things in profiles and gcroots
<niksnut> well it does care about the user name
<niksnut> since it needs to create the per-user directories
<clever> niksnut: i happen to be running it in a namespace, where /etc/passwd is absent, and $USER was never set
<clever> and i never use the per-user profiles, always doing `nix-env -p /nix/var/nix/profiles/profile-${linuxClusterBinName}`
<clever> and now it relies on the host having nscd to function at all
<niksnut> it would probably be okay to skip createUser() if we can't figure out the user name
<clever> 505 std::string getUserName()
<clever> 510 throw Error("cannot figure out user name");
<clever> it could be caught, but would be cleaner if it had its own type
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
<clever> [root@amd-nixos:~]# strace -p 10653 -f
<clever> [pid 10653] flock(9, LOCK_EX^Cstrace: Process 10653 detached
<clever> lrwx------ 1 root root 64 Sep 22 11:15 /proc/10653/fd/9 -> /nix/var/nix/temproots/10653
<clever> root 10653 0.4 0.0 562472 18860 ? Ssl 11:03 0:03 nix-daemon 10576
<clever> niksnut: one of my nix-daemon procs has also deadlocked on its own temproot
<clever> lrwx------ 1 root root 64 Sep 22 11:15 /proc/10653/fd/10 -> /nix/var/nix/temproots/10653
<clever> it has the same file open twice, likely locking from different threads?
abathur has quit [Quit: abathur]
teto has quit [Ping timeout: 246 seconds]
ckauhaus has quit [Quit: WeeChat 2.7.1]
alp has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
cole-h has joined #nixos-dev
teto has joined #nixos-dev
boredom101 has joined #nixos-dev
boredom101 has quit [Remote host closed the connection]
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
alp has quit [Ping timeout: 272 seconds]
ris has joined #nixos-dev
__monty__ has joined #nixos-dev
saschagrunert has quit [Remote host closed the connection]
cocreature has quit [Quit: A monad is just a monoid in the category of endofunctors, what's the problem?]
bennofs_ has quit [Read error: Connection reset by peer]
bennofs has joined #nixos-dev
__Sander__ has joined #nixos-dev
Jackneill has quit [Ping timeout: 258 seconds]
Jackneill has joined #nixos-dev
alp has joined #nixos-dev
abathur has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
__Sander__ has quit [Quit: Konversation terminated!]
__monty__ has quit [Quit: leaving]
alp has quit [Remote host closed the connection]
sdier has quit [Ping timeout: 240 seconds]
claudiii has quit [Ping timeout: 240 seconds]
cbarrett has quit [Ping timeout: 240 seconds]
alp has joined #nixos-dev
jared-w has quit [Read error: Connection reset by peer]
teozkr_ has quit [Read error: Connection reset by peer]
aristid has quit [Read error: Connection reset by peer]
aria has quit [Read error: Connection reset by peer]
cbarrett has joined #nixos-dev
sdier has joined #nixos-dev
teozkr_ has joined #nixos-dev
jared-w has joined #nixos-dev
claudiii has joined #nixos-dev
aria has joined #nixos-dev
aristid has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
cocreature has joined #nixos-dev
alp has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev
niksnut has quit [Ping timeout: 246 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-dev
orivej has joined #nixos-dev
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-dev