00:53
joepie91 has quit [Quit: killed]
01:11
rajivr has joined #nixos-dev
01:21
Emantor has joined #nixos-dev
02:14
<
Graypup_ >
would anyone get mad at me if I put a dependency on readline in libnixexpr? asking for a friend
02:15
<
Graypup_ >
I don't like doing that personally, and I will try to refactor that part out
02:15
<
Graypup_ >
but if I fail? idk
02:15
<
Graypup_ >
what I'm doing is extracting the repl to libnixexpr so that it can have custom commands added
02:32
<
Graypup_ >
this refactor is getting ugly :(
02:33
<
Graypup_ >
specifically I want to kill the global variable `curRepl` because it seems bad, but am hitting trouble with passing that state properly since capturing lambdas don't coerce to function pointers (for good reason, to be fair)
02:52
betawaffle has quit [Ping timeout: 240 seconds]
02:54
betawaffle has joined #nixos-dev
02:57
betawaffle has quit [Max SendQ exceeded]
02:57
claudiii has quit [Ping timeout: 260 seconds]
02:59
betawaffle has joined #nixos-dev
02:59
angerman has quit [Ping timeout: 244 seconds]
03:00
mdlayher has quit [Ping timeout: 244 seconds]
03:00
claudiii has joined #nixos-dev
03:01
mdlayher has joined #nixos-dev
03:01
emilazy has quit [Ping timeout: 244 seconds]
03:01
georgyo has quit [Ping timeout: 272 seconds]
03:04
emilazy has joined #nixos-dev
03:04
betawaffle has quit [Ping timeout: 260 seconds]
03:06
angerman has joined #nixos-dev
03:08
mdlayher has quit [Read error: Connection reset by peer]
03:11
claudiii has quit [Ping timeout: 265 seconds]
03:11
emilazy has quit [Ping timeout: 260 seconds]
03:12
mdlayher has joined #nixos-dev
03:17
angerman has quit [Ping timeout: 256 seconds]
03:17
claudiii has joined #nixos-dev
03:18
mdlayher has quit [Ping timeout: 240 seconds]
03:24
mdlayher has joined #nixos-dev
03:26
georgyo_ has joined #nixos-dev
03:26
betawaffle has joined #nixos-dev
03:28
emilazy has joined #nixos-dev
03:31
angerman has joined #nixos-dev
03:35
<
Graypup_ >
uhh, does anyone know how I can run a specific test with make?
03:36
<
Graypup_ >
I'm reading tests.mk and have no idea what the targets it's creating are
03:41
<
Graypup_ >
`make -pRrq : | grep --color plugins.sh`
03:42
<
Graypup_ >
=> tests/plugins.sh.test
03:42
<
Graypup_ >
apparently
06:05
AlwaysLivid has joined #nixos-dev
06:24
AlwaysLivid has quit [Ping timeout: 256 seconds]
06:26
orivej has joined #nixos-dev
06:26
AlwaysLivid has joined #nixos-dev
06:44
alp has joined #nixos-dev
06:52
FRidh has joined #nixos-dev
07:04
orivej has quit [Ping timeout: 265 seconds]
07:05
cole-h has joined #nixos-dev
07:16
justanotheruser has quit [Ping timeout: 260 seconds]
07:21
alp has quit [Ping timeout: 272 seconds]
07:22
marek_ is now known as marek
07:28
cole-h has quit [Quit: Goodbye]
08:28
orivej has joined #nixos-dev
09:07
__monty__ has joined #nixos-dev
09:28
AlwaysLivid has quit [Remote host closed the connection]
09:33
AlwaysLivid has joined #nixos-dev
09:35
LnL has quit [Ping timeout: 256 seconds]
09:35
nschoe has joined #nixos-dev
09:58
alp has joined #nixos-dev
10:00
nschoe has quit [Ping timeout: 272 seconds]
10:26
orivej has quit [Ping timeout: 240 seconds]
10:30
AlwaysLivid has quit [Remote host closed the connection]
10:35
AlwaysLivid has joined #nixos-dev
10:38
alp has quit [Ping timeout: 272 seconds]
11:01
enick_617 has joined #nixos-dev
11:16
enick_617 has quit [Changing host]
11:16
enick_617 has joined #nixos-dev
11:16
enick_617 has joined #nixos-dev
11:17
enick_617 is now known as joepie91
11:19
<
philipp[m] >
It chowns and chmods the key, when it is not changed and postRun isn't called after.
11:20
<
philipp[m] >
That breaks the following very handy setup: `postRun = "chown -R ${(toString config.ids.uids.nginx)} .";`
11:21
alp has joined #nixos-dev
11:21
<
philipp[m] >
What would you say: Just move the chmod and chown into the if block above it? I think it's a good idea, I wouldn't want my files to change their uid/gid/umask out of the blue anyway.
12:14
<
dtz >
What if the group/user change but the keys don't? (And your postRun isn't used)
12:14
<
dtz >
Related thought is that as-written it makes it trivial to conclude the chosen/chmod are always executed before script ends, and therefore the keys always have the specified permissions. Maybe the keys' owner should be tied to the nginx uid/etc at the nix level? (Makes some sense maybe, at least if it's clear nginx needs the keys :))
12:14
<
dtz >
I don't have a preference really just trying to help :)
12:15
<
philipp[m] >
I decided that it's probably best and follows the most internal logic for changes by chmod/chown to trigger KEY_CHANGED=yes
12:22
<
{^_^} >
#95498 (by pstn, 20 seconds ago, open): nixos/security.acme: Only chmod/chown certificate files when changed.
12:24
alp has quit [Ping timeout: 272 seconds]
12:32
alp has joined #nixos-dev
12:36
orivej has joined #nixos-dev
12:45
MichaelRaskin has joined #nixos-dev
13:31
AlwaysLivid has quit [Remote host closed the connection]
13:34
nschoe has joined #nixos-dev
13:34
AlwaysLivid has joined #nixos-dev
13:41
alp has quit [Ping timeout: 272 seconds]
13:46
AlwaysLivid has quit [Ping timeout: 272 seconds]
13:47
AlwaysLivid has joined #nixos-dev
13:49
alp has joined #nixos-dev
14:04
justanotheruser has joined #nixos-dev
14:18
alp has quit [Remote host closed the connection]
14:18
alp has joined #nixos-dev
14:23
alp has quit [Ping timeout: 240 seconds]
14:34
orivej has quit [Ping timeout: 265 seconds]
15:26
Raito_Bezarius has quit [Remote host closed the connection]
15:27
Raito_Bezarius has joined #nixos-dev
15:29
Raito_Bezarius has quit [Changing host]
15:29
Raito_Bezarius has joined #nixos-dev
15:31
alp has joined #nixos-dev
15:47
AlwaysLivid has quit [Ping timeout: 240 seconds]
15:48
AlwaysLivid has joined #nixos-dev
15:49
<
FRidh >
I'm creating binary wrappers now with Nim. They're about 85 kB each. Next step, a make-wrapper compatible interface for creating them.
15:53
vcunat has joined #nixos-dev
15:53
<
clever >
FRidh: nice, that would also greatly simplify setuid root
15:56
<
FRidh >
bug in the nix version used?
15:56
<
FRidh >
i recall there was something about replacing json parser in nix
15:58
<
FRidh >
vcunat: how did you evaluate it locally?
15:58
<
vcunat >
I'm not running Hydra's evaluator, so maybe I just haven't found the problematic attribute.
15:58
<
vcunat >
Packages seem fine.
15:58
<
vcunat >
The one test touched since last success is also fine.
15:59
<
FRidh >
clever: and less complaints from darwin users :P
15:59
<
vcunat >
I suspect #82743
15:59
<
vcunat >
but I don't really know. We just need traces.
15:59
<
vcunat >
(in Hydra's evaluator)
16:06
<
infinisil >
vcunat: How can you eval this locally?
16:06
<
infinisil >
nix-instantiate nixos/release-combined.nix -A tested ?
16:06
<
vcunat >
I haven't managed to reproduce the error so far.
16:07
<
infinisil >
Wait no the command of mine finishes in a second
16:07
<
infinisil >
vcunat: I feel like the error comes from hydra using --strict --json and then importing the result into some hydra structure for processing
16:08
AlwaysLivid has quit [Ping timeout: 272 seconds]
16:08
<
infinisil >
But there's an unexpected null somewhere. So maybe we can evaluate it with --json too and grep for nulls
16:08
<
infinisil >
But I'm not sure what is even evaluated there
16:08
AlwaysLivid has joined #nixos-dev
16:08
<
vcunat >
The more I look the less it seems relevant to those "Freeform modules".
16:08
<
samueldr >
Nix expression nixos/release-combined.nix
16:09
<
vcunat >
Well, yes... but I know of no nice way to evaluate exactly the set of attributes that Hydra does.
16:09
<
infinisil >
samueldr: Yeah I got that, but just doing `nix-instantiate nixos/release-combined.nix` can't be it
16:10
<
samueldr >
maybe I should clean-up that script for evaluating it just like hydra
16:10
<
samueldr >
but IIRC it requires a bunch of RAM
16:10
<
infinisil >
Ah maintainers/scripts/hydra_eval_check?
16:10
<
vcunat >
I have 32G at hand, if that's enough.
16:10
<
infinisil >
I also have 16GB RAM and 32GB swap
16:11
<
samueldr >
hmm, hydra_eval_check seems... odd
16:11
<
samueldr >
you might want to comment out the strace
16:12
<
samueldr >
if hydra is eating the actual messages they'll be present in the strace dump
16:12
<
samueldr >
but strace makes this take
*much* longer
16:12
<
infinisil >
Ah but at least hydra_eval_jobs seems to be the right path
16:12
<
samueldr >
ugh, re-reading this and I'm sad I don't have the ~20 minutes to rewrite that
16:13
<
samueldr >
yeah, it has to use the hydra's own evaluator
16:13
<
samueldr >
which differs a bit
16:13
<
infinisil >
Ah probably catches errors and stuff
16:13
<
infinisil >
> hydra-check.meta.homepage
16:13
<
samueldr >
I think it also is kind of stricter?
16:13
<
infinisil >
Hm that's not relevant
16:14
<
samueldr >
nah, hydra-check consumed hydra contents :)
16:14
<
samueldr >
I think we want to fix maintainers/scripts/hydra_eval_check so it works again
16:16
<
samueldr >
I started the eval locally, too
16:19
<
infinisil >
I'm trying `hydra-eval-jobs nixos/release-combined.nix -I $PWD`
16:19
<
infinisil >
hydra-eval-jobs from pkgs.hydra-unstable
16:21
<
vcunat >
I think -combined is overkill
16:21
<
vcunat >
I was already running the same with just release.nix
16:21
<
vcunat >
(we know that with packages this doesn't happen, so it has to be among tests)
16:22
<
infinisil >
Hm I see
16:22
<
julm >
hm, it looks like builtins.path cannot be used when using a flake.nix, I get errors like: string '/nix/store/[…]' cannot refer to other paths
16:26
alp has quit [Ping timeout: 240 seconds]
16:27
<
samueldr >
error: [json.exception.type_error.302] type must be string, but is null
16:27
<
samueldr >
took 2 minutes to get there
16:27
<
samueldr >
but no more context
16:27
* samueldr
puts strace back in
16:29
<
infinisil >
This error is awful
16:29
<
samueldr >
without context, definitely
16:29
<
infinisil >
The fact that it doesn't have any context whatsoever by default is awful already
16:30
<
infinisil >
Oh wait, hydra is written in perl??
16:30
<
samueldr >
depends which part
16:31
<
samueldr >
don't :o unless you're willing to put in the effort of making the changes, and making the community accept the change :)
16:31
<
clever >
infinisil: a mix of perl and c++
16:31
<
samueldr >
Hydra comes from another time
16:31
<
infinisil >
samueldr: Oh that's nothing inherently negative, :o is just as in it surprised me
16:32
<
samueldr >
:) often perl brings negativity in people
16:32
<
clever >
infinisil: hydra-evaluator (the daemon) is c++, it will run hydra-eval-jobset at regular intervals
16:32
<
clever >
infinisil: hydra-eval-jobset is perl, it will fetch all inputs, and run hydra-eval-jobs
16:32
<
clever >
infinisil: hydra-eval-jobs is back in c++, it will eval the release.nix and spit out json
16:32
<
clever >
hydra-eval-jobset then parses that json, and creates entries in postgres
16:32
<
clever >
hydra-queue-runner is c++, and then begins acting on those entries, spinning up jobs as needed
16:33
<
clever >
and hydra-server is a perl based http frontend over the db
16:33
<
clever >
thats most of the large pieces of hydra
16:34
nschoe has quit [Ping timeout: 272 seconds]
16:35
<
clever >
why do i have all of that memorized? lol
16:36
<
vcunat >
I expect with this we can bisect the problem within several hours.
16:38
<
jtojnar >
fontconfig-penultimate probably does not eval
16:38
<
jtojnar >
refers to non-existing package
16:42
<
infinisil >
Imagine if everything in nixpkgs always evald (minus throw/asserts when broken and co.)
16:50
Guest76136 has joined #nixos-dev
16:53
Guest76136 is now known as LnL
17:04
FRidh has quit [Quit: Konversation terminated!]
17:06
orivej has joined #nixos-dev
17:13
<
samueldr >
may be coming from the manual
17:14
<
samueldr >
quickly I can't see anything else in the strace
17:15
<
samueldr >
413M; took only 6 minutes to make though
17:15
cole-h has joined #nixos-dev
17:29
<
vcunat >
You manage this with stable Nix?
17:30
<
vcunat >
Manual seems to evaluate fine for me.
17:31
<
vcunat >
(and the first pass of hydra-eval-jobs still haven't finished - perhaps I'm doing something wrong)
17:32
<
samueldr >
I don't actually know which hydra and which nix it used
17:32
<
samueldr >
(and I'm going out for the rest of the day)
17:32
alp has joined #nixos-dev
17:33
<
vcunat >
Ah, now it finished - and successfully :-(
17:34
obadz has joined #nixos-dev
17:39
vcunat has quit [Ping timeout: 240 seconds]
17:41
bhipple has joined #nixos-dev
18:00
ixxie has joined #nixos-dev
18:03
dongcarl has quit [Read error: Connection reset by peer]
18:05
dongcarl has joined #nixos-dev
18:19
dongcarl has quit [Read error: Connection reset by peer]
18:20
dongcarl has joined #nixos-dev
18:23
bhipple has quit [Remote host closed the connection]
18:23
cole-h has quit [Quit: Goodbye]
18:26
alp has quit [Ping timeout: 272 seconds]
18:30
rajivr has quit [Quit: Connection closed for inactivity]
18:34
dongcarl has quit [Read error: Connection reset by peer]
18:35
dongcarl has joined #nixos-dev
18:46
<
Raito_Bezarius >
away and write a NixOS native thing? Thanks!
18:46
<
infinisil >
Oh neat, I was interested in trying mandos
18:47
<
Raito_Bezarius >
I have the server & "client" in Nix
18:47
<
Raito_Bezarius >
Now, all that's left, is the initramfs stuff and a NixOS config module :-)
18:49
dongcarl has quit [Read error: Connection reset by peer]
18:51
dongcarl has joined #nixos-dev
19:00
alp has joined #nixos-dev
19:05
dongcarl has quit [Read error: Connection reset by peer]
19:06
dongcarl has joined #nixos-dev
19:20
dongcarl has quit [Read error: Connection reset by peer]
19:22
dongcarl has joined #nixos-dev
19:29
vcunat has joined #nixos-dev
19:34
bennofs has joined #nixos-dev
19:36
dongcarl has quit [Read error: Connection reset by peer]
19:37
dongcarl has joined #nixos-dev
19:51
dongcarl has quit [Read error: Connection reset by peer]
19:52
dongcarl has joined #nixos-dev
19:55
alp has quit [Ping timeout: 272 seconds]
20:06
dongcarl has quit [Read error: Connection reset by peer]
20:07
orivej has quit [Ping timeout: 256 seconds]
20:07
dongcarl has joined #nixos-dev
20:08
vcunat has quit [Ping timeout: 240 seconds]
20:16
AlwaysLivid has quit [Remote host closed the connection]
20:21
dongcarl has quit [Read error: Connection reset by peer]
20:22
dongcarl has joined #nixos-dev
20:24
AlwaysLivid has joined #nixos-dev
20:30
vcunat has joined #nixos-dev
20:36
dongcarl has quit [Read error: Connection reset by peer]
20:37
dongcarl has joined #nixos-dev
20:46
vcunat has quit [Quit: Leaving.]
20:51
dongcarl has quit [Read error: Connection reset by peer]
20:52
dongcarl has joined #nixos-dev
21:01
orivej has joined #nixos-dev
21:12
orivej has quit [Ping timeout: 264 seconds]
21:32
alp has joined #nixos-dev
21:33
orivej has joined #nixos-dev
21:44
orivej has quit [Ping timeout: 265 seconds]
22:02
ixxie has quit [Quit: Lost terminal]
22:17
orivej has joined #nixos-dev
22:20
bennofs has quit [Ping timeout: 256 seconds]
22:23
__monty__ has quit [Quit: leaving]
22:24
alp has quit [Ping timeout: 272 seconds]
22:25
bennofs has joined #nixos-dev
22:27
alp has joined #nixos-dev
22:45
alp has quit [Ping timeout: 272 seconds]
23:32
bennofs has quit [Read error: Connection reset by peer]
23:46
bridge[evilred] has quit [Remote host closed the connection]
23:50
bridge[evilred] has joined #nixos-dev
23:50
red[evilred] has joined #nixos-dev