00:00
mkaito has quit [Quit: WeeChat 3.1]
00:04
<
{^_^} >
nix#4657 (by Ericson2314, 8 hours ago, open): Fix typos in the last PR #4656
00:20
eyJhb has quit [Ping timeout: 246 seconds]
00:20
eyJhb has joined #nixos-dev
00:20
eyJhb has joined #nixos-dev
00:20
eyJhb has quit [Changing host]
00:41
eyJhbV2 has joined #nixos-dev
00:42
eyJhb has quit [Ping timeout: 240 seconds]
00:42
eyJhbV2 is now known as eyJhb
00:42
eyJhb has joined #nixos-dev
00:42
eyJhb has quit [Changing host]
00:43
supersandro2000 has quit [Disconnected by services]
00:44
supersandro2000 has joined #nixos-dev
00:46
rajivr has joined #nixos-dev
00:50
Raito_Bezarius has quit [Remote host closed the connection]
00:50
Raito_Bezarius has joined #nixos-dev
01:10
orivej has quit [Ping timeout: 264 seconds]
01:13
__monty__ has quit [Quit: leaving]
01:48
<
abathur >
does nixland have a solution for software LOCALE inconsistency/conflict?
01:50
<
{^_^} >
oilshell/oil#868 (by andychu, 15 weeks ago, open): dev build locales issue
01:50
<
{^_^} >
oilshell/oil#912 (by rsteube, 14 hours ago, open): archlinux: Invalid locale for LC_CTYPE
02:24
jonringer_ has joined #nixos-dev
02:26
jonringer has quit [Ping timeout: 244 seconds]
02:35
supersandro2000 has joined #nixos-dev
02:42
<
supersandro2000 >
has anyone any idea why I get `failed due to signal 6 (Aborted)` when remote building on a week long running machine?
02:42
<
supersandro2000 >
went away after reboot.
02:46
<
supersandro2000 >
it didn't build halfway and broken again
05:41
evils has joined #nixos-dev
05:51
tomberek has quit [Ping timeout: 240 seconds]
06:18
<
LinuxHackerman >
consistently at a specific point?
06:31
orivej has joined #nixos-dev
07:33
orivej has quit [Ping timeout: 244 seconds]
08:01
jonringer_ has quit [Ping timeout: 264 seconds]
08:11
cole-h has quit [Ping timeout: 246 seconds]
08:31
<
supersandro2000 >
as soon as it tries to build the package and no longer downloads stuff it dies
08:42
<
ma27[m] >
supersandro2000: are you on nixUnstable?
08:43
<
supersandro2000 >
the remote builder might be
08:45
<
ma27[m] >
ahh sorry, I thought I got the same error on nixUnstable a while ago, but it was "unknown message type 5". nvm then, not entirely awake yet :)
09:18
<
supersandro2000 >
everything after nixos-unstable-small coredumps... 🤔
09:30
<
supersandro2000 >
but the commit is totally unrelated
09:45
AlwaysLivid has joined #nixos-dev
10:09
orivej has joined #nixos-dev
10:29
FRidh has joined #nixos-dev
11:10
Raito_Bezarius has quit [Ping timeout: 260 seconds]
12:09
<
supersandro2000 >
I think I know what is happening
12:09
<
supersandro2000 >
they builders use each other as substituters and we got a bad nix store entry which propagated
12:10
<
supersandro2000 >
disabling substituters on one machine magically fixed it
12:17
pmy has quit [Quit: WeeChat 3.1]
12:30
__monty__ has joined #nixos-dev
12:39
<
sterni >
tested job has 7 pending builds and then unstable small should be alright again
12:40
pmy has joined #nixos-dev
13:00
AlwaysLivid has quit [Remote host closed the connection]
13:01
AlwaysLivid has joined #nixos-dev
13:01
makefu has quit [Quit: WeeChat 2.6]
13:03
AlwaysLivid has quit [Remote host closed the connection]
13:10
orivej has quit [Ping timeout: 265 seconds]
13:16
pmy has quit [Quit: WeeChat 3.1]
13:31
Taneb has quit [Ping timeout: 264 seconds]
13:31
atriq has joined #nixos-dev
13:34
atriq is now known as Taneb
13:51
<
supersandro2000 >
Does someone have time to debug something with me in nix?`
13:51
<
supersandro2000 >
I think I get a coredump, when I build a derivation on a remote builder that uses substitutes
13:53
<
supersandro2000 >
before anyone wastes time with that: the bug is with nix 2.3.4 from debian...
14:00
FRidh has quit [Quit: Konversation terminated!]
14:08
rj has joined #nixos-dev
14:12
<
supersandro2000 >
and I finally have my builders back. Thanks for rubber ducking with me! 🦆
14:20
<
siraben >
supersandro2000: what ended up being the issue?
14:20
<
supersandro2000 >
using the nix-daemon from debian which is 2.3.4
14:22
<
supersandro2000 >
I think the remote builders might have gotten an update the last day or 20.09 got a nix update or something
14:22
<
supersandro2000 >
so it broke
14:22
<
supersandro2000 >
Should I create an issue with the coredump? might be a protocol error
14:22
<
siraben >
I should update my nixpkgs-review
14:23
<
siraben >
or Mic92 can push an update 😂 because my version still enables sandboxing on darwin
14:23
<
supersandro2000 >
you should get the one from master on nix-community
14:23
<
siraben >
nix-review-tools?
14:23
<
siraben >
Oh is that better?
14:23
<
supersandro2000 >
don't exactly know whats that
14:23
<
supersandro2000 >
probably some tooling for other stuff
14:24
<
siraben >
which repo are you referring to?
14:24
<
supersandro2000 >
you could do an overlay just for nixpkgs-review
14:24
<
siraben >
yeah I could do an overlay/niv source for nixpkgs-review
14:25
<
siraben >
bah, i'm going to flakify my home-manager one of these days
14:25
<
supersandro2000 >
you don't need niv for that
14:25
<
supersandro2000 >
you just fetch new source
14:25
<
siraben >
it makes it easier to update the hashes
14:26
<
supersandro2000 >
I still don't like flakes. I don't want to commit thinks and update more lock files
14:26
<
supersandro2000 >
I usually just invalidate the hash
14:28
<
s1341_ >
how can I import mkDerivation without importing stdenv?
14:28
<
siraben >
supersandro2000: fair enough, flakes are after all, still experimental
14:29
<
s1341_ >
i mean have mkDerivation be an argument to a derivation instead of stdenv?
14:29
<
siraben >
the author really wants his POP system merged... #114449
14:29
<
siraben >
which i wonder how many people actually understand
14:31
boredom101 has joined #nixos-dev
14:31
<
sterni >
siraben: why would you want that? mkDerivation always implicitly pulls in a stdenv anyways
14:32
<
siraben >
wrong ping
14:33
<
sterni >
s1341_: ^^
14:33
<
s1341_ >
becasue i have an infinite recursion when trying to build a cross toolchain for android/bionic.
14:33
<
s1341_ >
using llvm.
14:34
<
s1341_ >
it works fine with gcc
14:34
<
s1341_ >
but with llvm it recurses...
14:37
<
sterni >
not sure what exactly you are doing but importing stdenv in derivation shouldn't be the issue
14:38
<
s1341_ >
sterni: i have this:
14:38
<
s1341_ >
shouldn't that make the stdenv be different for the bionic-prebuilt derivation?
14:42
boredom101 has quit [Ping timeout: 240 seconds]
14:42
boredom10160 has joined #nixos-dev
14:42
jonringer_ has joined #nixos-dev
14:42
<
supersandro2000 >
s1341_: stdenvNoCC.mkDerivation?
14:42
boredom10160 has quit [Client Quit]
14:42
<
s1341_ >
uh. yeah that might work...
14:53
<
siraben >
supersandro2000: reminds me I need to look into all the dontBuild = true packages and switch them to stdenvNoCC when possible
14:53
<
s1341_ >
ok. got past the recursion...
14:53
<
s1341_ >
now i have another issue...
14:56
<
s1341_ >
i think i need Ericson2314
14:57
<
s1341_ >
yay! Ericson2314
14:58
<
Ericson2314 >
notifications work that way!
14:58
<
supersandro2000 >
siraben: you could also look at ? null and assert not null packages
14:59
<
supersandro2000 >
because it is pointless and makes working with those packages needlessly hard
14:59
<
siraben >
supersandro2000: switch them to boolean flags?
14:59
<
siraben >
sure, maybe it's small enough to crack out manually
15:00
<
siraben >
convert `foo ? null` to `enableFoo ? false`, right?
15:00
<
supersandro2000 >
they are already
15:01
<
supersandro2000 >
enableFoo ? true, foo ? null; \n\n\n assert foo => !null;
15:04
<
siraben >
supersandro2000: convert that to what?
15:04
<
siraben >
yeah I've seen that pattern a few times
15:09
<
supersandro2000 >
it is a bit pointless now days
15:09
pmy has joined #nixos-dev
15:09
<
supersandro2000 >
packages are not allowed to be null
15:12
<
supersandro2000 >
it basically converts to removal of ? null and the assert because nix does all that already
15:12
<
supersandro2000 >
and packages only required for other platforms are not evaluated anyway
15:12
<
supersandro2000 >
same for darwin frameworks. They don't need ? null.
15:22
boredom101 has joined #nixos-dev
15:23
<
{^_^} >
#117295 (by cole-h, 16 hours ago, open): nixUnstable: add util-linuxMinimal to buildInputs
15:26
<
siraben >
supersandro2000: Ok, good to know for another treewide.
15:29
orivej has joined #nixos-dev
15:35
adisbladis has quit [Remote host closed the connection]
15:35
pbogdan has quit [Ping timeout: 245 seconds]
15:35
hl has quit [Read error: Connection reset by peer]
15:35
davidak[m] has quit [Ping timeout: 246 seconds]
15:35
maralorn has quit [Ping timeout: 246 seconds]
15:35
garbas[m] has quit [Ping timeout: 246 seconds]
15:35
colemickens has quit [Ping timeout: 246 seconds]
15:35
regnat[m] has quit [Ping timeout: 246 seconds]
15:35
pbogdan has joined #nixos-dev
15:35
hl has joined #nixos-dev
15:35
supersandro2000 has quit [Ping timeout: 245 seconds]
15:36
Ox4A6F has quit [Ping timeout: 240 seconds]
15:36
supersandro2000 has joined #nixos-dev
15:36
Ericson2314 has quit [Ping timeout: 240 seconds]
15:36
adisbladis has joined #nixos-dev
15:36
philipp[m]1 has quit [Ping timeout: 244 seconds]
15:36
rmcgibbo[m] has quit [Ping timeout: 244 seconds]
15:36
kraem[m] has quit [Ping timeout: 258 seconds]
15:36
Valodim[m] has quit [Ping timeout: 258 seconds]
15:36
LinuxHackerman has quit [Ping timeout: 268 seconds]
15:36
chvp has quit [Ping timeout: 268 seconds]
15:36
aanderse has quit [Ping timeout: 240 seconds]
15:36
rnhmjoj has quit [Ping timeout: 240 seconds]
15:36
JJJollyjim has quit [Ping timeout: 240 seconds]
15:37
michaelpj has quit [Ping timeout: 244 seconds]
15:37
jonge[m] has quit [Ping timeout: 244 seconds]
15:37
symphorien[m] has quit [Ping timeout: 244 seconds]
15:37
thefloweringash has quit [Ping timeout: 258 seconds]
15:37
Dandellion has quit [Ping timeout: 268 seconds]
15:37
ryantm has quit [Ping timeout: 268 seconds]
15:37
ma27[m] has quit [Ping timeout: 240 seconds]
15:37
bbigras has quit [Ping timeout: 240 seconds]
15:37
jtojnar has quit [Ping timeout: 240 seconds]
15:37
roberth has quit [Ping timeout: 240 seconds]
15:37
siraben has quit [Ping timeout: 244 seconds]
15:37
danielrf[m] has quit [Ping timeout: 244 seconds]
15:37
immae has quit [Ping timeout: 240 seconds]
15:37
nh2[m] has quit [Ping timeout: 240 seconds]
15:37
puzzlewolf has quit [Ping timeout: 258 seconds]
15:37
zimbatm[m] has quit [Ping timeout: 258 seconds]
15:38
emily has quit [Ping timeout: 268 seconds]
15:38
jdnixx-M has quit [Ping timeout: 268 seconds]
15:38
ky0ko1 has quit [Ping timeout: 268 seconds]
15:38
arianvp has quit [Ping timeout: 265 seconds]
15:38
zuh0 has quit [Ping timeout: 244 seconds]
15:38
Guest57260 has quit [Ping timeout: 244 seconds]
15:38
kalbasit[m] has quit [Ping timeout: 244 seconds]
15:38
domenkozar[m] has quit [Ping timeout: 258 seconds]
15:38
mjlbach has quit [Ping timeout: 258 seconds]
15:38
DamienCassou has quit [Ping timeout: 268 seconds]
15:38
arianvp has joined #nixos-dev
15:43
lopsided98 has quit [Ping timeout: 256 seconds]
15:46
srk has quit [Remote host closed the connection]
15:47
srk has joined #nixos-dev
15:47
boredom101 has quit [Quit: Connection closed]
15:48
arianvp has quit [Read error: Connection timed out]
15:48
lopsided98 has joined #nixos-dev
15:48
arianvp has joined #nixos-dev
15:50
davidak[m] has joined #nixos-dev
15:51
maralorn has joined #nixos-dev
15:54
colemickens has joined #nixos-dev
15:55
jdnixx-M has joined #nixos-dev
15:56
ky0ko1 has joined #nixos-dev
15:56
garbas[m] has joined #nixos-dev
16:00
philipp[m]1 has joined #nixos-dev
16:01
<
supersandro2000 >
I finally know when the coredump happens. I had a nix in my home environment installed which somehow interfered with the system one
16:01
regnat[m] has joined #nixos-dev
16:01
<
supersandro2000 >
it probably assumes that they should be the same version
16:01
Ericson2314 has joined #nixos-dev
16:01
kraem[m] has joined #nixos-dev
16:01
rmcgibbo[m] has joined #nixos-dev
16:02
Valodim[m] has joined #nixos-dev
16:03
JJJollyjim has joined #nixos-dev
16:04
jonge[m] has joined #nixos-dev
16:04
symphorien[m] has joined #nixos-dev
16:04
michaelpj has joined #nixos-dev
16:05
rnhmjoj has joined #nixos-dev
16:05
chvp has joined #nixos-dev
16:05
LinuxHackerman has joined #nixos-dev
16:06
thefloweringash has joined #nixos-dev
16:06
aanderse has joined #nixos-dev
16:08
zimbatm[m] has joined #nixos-dev
16:09
Dandellion has joined #nixos-dev
16:11
ryantm has joined #nixos-dev
16:13
Ox4A6F has joined #nixos-dev
16:14
siraben has joined #nixos-dev
16:14
nh2[m] has joined #nixos-dev
16:14
danielrf[m] has joined #nixos-dev
16:15
jonringer_ has quit [Read error: Connection reset by peer]
16:15
jonringer has joined #nixos-dev
16:15
roberth has joined #nixos-dev
16:18
kalbasit[m] has joined #nixos-dev
16:18
Guest57260 has joined #nixos-dev
16:19
mjlbach has joined #nixos-dev
16:19
boredom101 has joined #nixos-dev
16:20
boredom101 has quit [Client Quit]
16:20
zuh0 has joined #nixos-dev
16:21
puzzlewolf has joined #nixos-dev
16:23
emily has joined #nixos-dev
16:23
domenkozar[m] has joined #nixos-dev
16:24
bbigras has joined #nixos-dev
16:24
ma27[m] has joined #nixos-dev
16:27
jtojnar has joined #nixos-dev
16:27
DamienCassou has joined #nixos-dev
16:28
immae has joined #nixos-dev
16:32
cole-h has joined #nixos-dev
16:35
tomberek has joined #nixos-dev
16:52
mkaito has joined #nixos-dev
17:06
tomberek has quit [Quit: Connection closed]
17:24
<
gchristensen >
it would be cool if I could import a module and declare ahead of time a limit to the scope of its settings
17:24
<
gchristensen >
like imports = [ (only [ "services" "hydra" ] ./hydra-tuning.nix) ];
17:26
<
gchristensen >
oh I bet I could with assert ...hm!
17:27
justanotheruser has joined #nixos-dev
17:29
justan0theruser has quit [Ping timeout: 260 seconds]
17:38
<
Mic92 >
siraben: if you could remind me tomorrow again. That would be great.
17:45
tomberek has joined #nixos-dev
17:47
bgamari has joined #nixos-dev
17:49
<
sterni >
gchristensen: the scope of the options it provides or the settings it affects?
18:01
orivej has quit [Ping timeout: 264 seconds]
18:01
orivej has joined #nixos-dev
18:03
rajivr has quit [Quit: Connection closed for inactivity]
18:29
<
gchristensen >
settings it affects
18:29
<
infinisil >
gchristensen: I've got a design document (well, just a bunch of notes really), for how a module system that supports that could look
18:30
<
infinisil >
Specifically, being able to give option read/write access to modules
18:30
<
gchristensen >
nice
18:32
<
infinisil >
The interface I decided on was `meta.writeRestrict = [ "hydra" ]`, where "hydra" is the new concept of a component, a grouping of nixos modules
18:33
<
sterni >
only = path: { lib, ... }@args: module: let res = (import module args); in res // { config = lib.filterAttrs (inPath path) res.config; }
18:33
<
sterni >
could that work? for a sufficient definition of inPath
18:33
<
infinisil >
I think it could then be used like `imports = [ { meta.writeRestrict = [ "hydra" ]; imports = [ ./hydra-tuning.nix ]; } ]`
18:34
<
sterni >
(you'd have to swap out import for something that'd also understand functions I guess)
18:35
<
infinisil >
sterni: That would be very hacky and brittle
18:37
<
sterni >
oh you'd have to do more as well
18:37
<
gchristensen >
filtering isn't great because it makes your module not behave the way it is written
18:38
<
sterni >
since the imports of that module could change the settings that are restricted
18:38
<
sterni >
gchristensen: oh you want an error basically?
18:42
<
gchristensen >
right
18:43
<
infinisil >
Yeah and I'm fairly certain that's impossible with the current module system
18:43
<
gchristensen >
right, if I wrote a function with `only` it'd need to do a really difficult job of tracing down recursive imports and whatnot
18:50
boredom101 has joined #nixos-dev
18:58
<
sterni >
you'd basically need to fully evaluate parts of the configuration then check if it violates a property and if yes throw
18:59
<
sterni >
which means you'd need to have an implementation of the module system around just for this
19:00
<
gchristensen >
or pass capability down from the top
19:08
<
infinisil >
gchristensen: I don't think capabilities can work with Nix
19:08
<
gchristensen >
why not?
19:09
<
infinisil >
If a capability is a Nix value, there's nothing stopping anybody from just creating that Nix value themselves
19:10
<
gchristensen >
take the caller's capability and the child capability and limit the child based on the caller
19:10
<
infinisil >
Ah you're thinking of extending Nix
19:11
<
gchristensen >
not at all
19:11
<
infinisil >
Huh, then I'm confused
19:11
<
gchristensen >
you could do it as you process imports. you have the capability of the thing you're in, now limit the one you're entering
19:12
<
infinisil >
Ahh I see now
19:13
<
infinisil >
gchristensen: So it's just capabilities (to set/get specific options) tracked implicitly in the module system
19:13
<
infinisil >
s/just//
19:13
<
gchristensen >
yeah I suppose so
19:14
<
infinisil >
Damn, I wanna work on this
19:14
<
infinisil >
The modules-ng thing
19:17
boredom101 has quit [Quit: Connection closed]
19:19
orivej has quit [Ping timeout: 258 seconds]
19:27
rj has quit [Ping timeout: 268 seconds]
19:31
tomberek has quit [Ping timeout: 240 seconds]
19:31
rj has joined #nixos-dev
19:35
boredom101 has joined #nixos-dev
19:44
boredom101 has quit [Quit: Connection closed]
19:57
<
gchristensen >
w00t-
20:11
AlwaysLivid has joined #nixos-dev
20:22
cole-h has quit [Quit: Goodbye]
20:27
cole-h has joined #nixos-dev
20:29
evils has quit [Ping timeout: 256 seconds]
20:42
tokudan has quit [Remote host closed the connection]
20:45
tokudan has joined #nixos-dev
20:51
<
aanderse >
infinisil: what modules-ng thing?
20:52
<
infinisil >
Just some notes really
20:53
<
aanderse >
/me adds to reading list
21:01
jonringer has quit [Remote host closed the connection]
21:02
jonringer has joined #nixos-dev
21:03
AlwaysLivid has quit [Remote host closed the connection]
21:05
makefu has joined #nixos-dev
21:48
mkaito has quit [Quit: WeeChat 3.1]
22:43
orivej has joined #nixos-dev
22:49
pinpox has joined #nixos-dev
23:10
Raito_Bezarius has joined #nixos-dev