00:05
alp has quit [Remote host closed the connection]
00:05
alp has joined #nixos-dev
00:11
alp has quit [Ping timeout: 272 seconds]
00:24
cole-h has quit [Quit: Goodbye]
00:27
ris has quit [Ping timeout: 272 seconds]
00:35
<
colemickens >
Does `nix build`s pickiness about building a single derivation only apply to when building a flake output ?
00:45
rajivr has joined #nixos-dev
02:23
marek has quit [Ping timeout: 256 seconds]
02:28
marek has joined #nixos-dev
02:44
<
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?
02:51
justanotheruser has quit [Ping timeout: 272 seconds]
04:05
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
04:06
spacekookie has joined #nixos-dev
04:07
endocrimes has quit [Remote host closed the connection]
04:09
endocrimes has joined #nixos-dev
04:36
<
srhb >
rajivr: packages.yourSystem and legacyPackages.yourSystem are both special cased in nix itself.
04:36
<
srhb >
rajivr: nixpkgs/flake.nix presents legacyPackages.
04:47
orivej has joined #nixos-dev
05:00
orivej has quit [Ping timeout: 272 seconds]
05:07
justanotheruser has joined #nixos-dev
05:11
orivej has joined #nixos-dev
05:13
alp has joined #nixos-dev
05:30
tom39291_ has quit [Ping timeout: 244 seconds]
05:31
tom39291_ has joined #nixos-dev
06:24
cole-h has joined #nixos-dev
06:25
niksnut has joined #nixos-dev
06:29
alp has quit [Ping timeout: 272 seconds]
07:12
alp has joined #nixos-dev
07:19
saschagrunert has joined #nixos-dev
07:35
orivej has quit [Ping timeout: 265 seconds]
07:50
cole-h has quit [Quit: Goodbye]
07:55
<
domenkozar[m] >
I think I found a way to generate a working installer for each master commit
07:55
<
domenkozar[m] >
the downside is that we'd spam the release page on github, sadly github doesn't allow filtering there for official releases
07:58
<
{^_^} >
nix#4047 (by domenkozar, 15 seconds ago, open): Create a working installer script for each commit/PR
08:29
eyJhb has joined #nixos-dev
08:33
tdeo has joined #nixos-dev
08:35
<
zimbatm_ >
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:36
teto has joined #nixos-dev
08:39
zimbatm_ is now known as zimbatm
08:43
<
das_j >
ajs124: Do we have anything?
09:43
<
rajivr >
Thanks srhb
10:06
ckauhaus has joined #nixos-dev
10:32
orivej has joined #nixos-dev
10:55
evanjs has quit [Read error: Connection reset by peer]
10:55
evanjs has joined #nixos-dev
10:57
evanjs has quit [Read error: Connection reset by peer]
10:59
evanjs has joined #nixos-dev
11:11
tom39291_ has quit [Quit: WeeChat 2.7.1]
11:11
tom39291 has joined #nixos-dev
11:12
tom39291 has quit [Client Quit]
11:13
tom39291 has joined #nixos-dev
11:16
evanjs has quit [Read error: Connection reset by peer]
11:16
evanjs has joined #nixos-dev
11:19
tom39291 has quit [Quit: WeeChat 2.9]
11:19
tom39291 has joined #nixos-dev
11:23
tom39291 has quit [Client Quit]
11:23
tom39291 has joined #nixos-dev
11:25
tom39291 has quit [Client Quit]
11:25
tom39291 has joined #nixos-dev
11:26
tom39291 has quit [Client Quit]
11:27
tom39291 has joined #nixos-dev
11:59
tom39291 has quit [Quit: WeeChat 2.9]
11:59
tom39291 has joined #nixos-dev
12:24
ris has joined #nixos-dev
12:54
ris has quit [Ping timeout: 256 seconds]
13:01
evanjs has quit [Read error: Connection reset by peer]
13:02
evanjs has joined #nixos-dev
13:04
evanjs has quit [Excess Flood]
13:04
evanjs has joined #nixos-dev
13:21
<
clever >
error: cannot figure out user name
13:21
<
clever >
[clever@amd-nixos:~] (namespaced) $ nix-env --version
13:21
<
clever >
if $USER is blank, and nscd isnt running, nix-env now hard fails, and cant do anything
13:21
<
clever >
even when it doesnt care about the username
13:25
<
clever >
src/libstore/local-store.cc: createUser(getUserName(), getuid());
13:26
<
clever >
its trying to chmod things in profiles and gcroots
13:32
<
niksnut >
well it does care about the user name
13:32
<
niksnut >
since it needs to create the per-user directories
13:32
<
clever >
niksnut: i happen to be running it in a namespace, where /etc/passwd is absent, and $USER was never set
13:33
<
clever >
and i never use the per-user profiles, always doing `nix-env -p /nix/var/nix/profiles/profile-${linuxClusterBinName}`
13:33
<
clever >
and now it relies on the host having nscd to function at all
13:37
<
niksnut >
it would probably be okay to skip createUser() if we can't figure out the user name
13:38
<
clever >
505 std::string getUserName()
13:38
<
clever >
510 throw Error("cannot figure out user name");
13:38
<
clever >
it could be caught, but would be cleaner if it had its own type
13:52
evanjs has quit [Read error: Connection reset by peer]
13:53
evanjs has joined #nixos-dev
14:10
alp has quit [Ping timeout: 272 seconds]
14:15
<
clever >
[root@amd-nixos:~]# strace -p 10653 -f
14:15
<
clever >
[pid 10653] flock(9, LOCK_EX^Cstrace: Process 10653 detached
14:16
<
clever >
lrwx------ 1 root root 64 Sep 22 11:15 /proc/10653/fd/9 -> /nix/var/nix/temproots/10653
14:16
<
clever >
root 10653 0.4 0.0 562472 18860 ? Ssl 11:03 0:03 nix-daemon 10576
14:16
<
clever >
niksnut: one of my nix-daemon procs has also deadlocked on its own temproot
14:16
<
clever >
lrwx------ 1 root root 64 Sep 22 11:15 /proc/10653/fd/10 -> /nix/var/nix/temproots/10653
14:16
<
clever >
it has the same file open twice, likely locking from different threads?
14:31
abathur has quit [Quit: abathur]
14:36
teto has quit [Ping timeout: 246 seconds]
14:51
ckauhaus has quit [Quit: WeeChat 2.7.1]
15:14
alp has joined #nixos-dev
16:03
tilpner has quit [Remote host closed the connection]
16:03
tilpner has joined #nixos-dev
16:05
tilpner has quit [Remote host closed the connection]
16:06
tilpner has joined #nixos-dev
16:22
cole-h has joined #nixos-dev
16:48
teto has joined #nixos-dev
16:49
boredom101 has joined #nixos-dev
16:55
boredom101 has quit [Remote host closed the connection]
17:09
alp has quit [Ping timeout: 272 seconds]
17:17
alp has joined #nixos-dev
17:23
rajivr has quit [Quit: Connection closed for inactivity]
17:38
alp has quit [Ping timeout: 272 seconds]
17:55
ris has joined #nixos-dev
18:22
__monty__ has joined #nixos-dev
18:55
saschagrunert has quit [Remote host closed the connection]
19:04
cocreature has quit [Quit: A monad is just a monoid in the category of endofunctors, what's the problem?]
19:08
bennofs_ has quit [Read error: Connection reset by peer]
19:09
bennofs has joined #nixos-dev
19:34
__Sander__ has joined #nixos-dev
20:47
Jackneill has quit [Ping timeout: 258 seconds]
20:56
Jackneill has joined #nixos-dev
21:29
alp has joined #nixos-dev
21:34
abathur has joined #nixos-dev
21:50
alp has quit [Ping timeout: 272 seconds]
21:52
alp has joined #nixos-dev
21:52
__Sander__ has quit [Quit: Konversation terminated!]
22:00
__monty__ has quit [Quit: leaving]
22:03
alp has quit [Remote host closed the connection]
22:04
sdier has quit [Ping timeout: 240 seconds]
22:04
claudiii has quit [Ping timeout: 240 seconds]
22:04
cbarrett has quit [Ping timeout: 240 seconds]
22:04
alp has joined #nixos-dev
22:04
jared-w has quit [Read error: Connection reset by peer]
22:04
teozkr_ has quit [Read error: Connection reset by peer]
22:04
aristid has quit [Read error: Connection reset by peer]
22:04
aria has quit [Read error: Connection reset by peer]
22:05
cbarrett has joined #nixos-dev
22:05
sdier has joined #nixos-dev
22:05
teozkr_ has joined #nixos-dev
22:06
jared-w has joined #nixos-dev
22:06
claudiii has joined #nixos-dev
22:07
aria has joined #nixos-dev
22:07
aristid has joined #nixos-dev
22:11
alp has quit [Ping timeout: 272 seconds]
22:16
cocreature has joined #nixos-dev
22:26
alp has joined #nixos-dev
22:36
orivej has quit [Ping timeout: 246 seconds]
22:48
alp has quit [Ping timeout: 272 seconds]
22:50
alp has joined #nixos-dev
22:52
niksnut has quit [Ping timeout: 246 seconds]
23:00
cole-h has quit [Quit: Goodbye]
23:01
cole-h has joined #nixos-dev
23:02
orivej has joined #nixos-dev
23:10
alp has quit [Ping timeout: 272 seconds]
23:41
alp has joined #nixos-dev