00:03
asymmetric_ has quit [Ping timeout: 245 seconds]
00:26
<
ekleog >
oh nice, so it wasn't the tests after all :)
00:28
<
{^_^} >
#50372 (by srhb, 1 hour ago, merged): nixos/tests/all-tests.nix: Fix incron test path
00:28
* ekleog
can't do a sed properly, or so it seems
00:30
<
ekleog >
thank you srhb! and sorry :'(
00:43
pie_ has quit [Ping timeout: 268 seconds]
01:03
drakonis_ has joined #nixos-dev
01:07
drakonis has quit [Ping timeout: 252 seconds]
01:07
drakonis_ has quit [Client Quit]
01:07
drakonis has joined #nixos-dev
01:39
lassulus_ has joined #nixos-dev
01:42
lassulus has quit [Ping timeout: 245 seconds]
01:42
lassulus_ is now known as lassulus
01:56
drakonis has quit [Quit: WeeChat 2.3]
03:39
drakonis has joined #nixos-dev
04:24
drakonis_ has joined #nixos-dev
04:25
drakonis has quit [Ping timeout: 245 seconds]
04:40
orivej has quit [Ping timeout: 268 seconds]
05:16
jtojnar has joined #nixos-dev
05:24
drakonis has joined #nixos-dev
05:27
drakonis_ has quit [Ping timeout: 252 seconds]
05:59
thoughtpolice has quit [Ping timeout: 250 seconds]
06:00
thoughtpolice has joined #nixos-dev
06:22
jtojnar has quit [Ping timeout: 244 seconds]
08:10
ckauhaus[afk] has quit [Quit: WeeChat 2.2]
09:30
<
srhb >
ekleog: Haha, no problem. :-)
09:32
__Sander__ has joined #nixos-dev
09:38
orivej has joined #nixos-dev
11:08
init_6 has joined #nixos-dev
11:10
primeos has quit [Ping timeout: 240 seconds]
11:14
primeos has joined #nixos-dev
11:16
primeos has quit [Client Quit]
11:36
primeos has joined #nixos-dev
11:38
drakonis_ has joined #nixos-dev
11:42
drakonis has quit [Ping timeout: 252 seconds]
11:58
<
infinisil >
Okay, for options that give extra arguments to a command (extraArgs or extraArguments), what do you think the type should be?
11:59
<
infinisil >
types.str is the simplest, but you can't set it multiple times, so not ideal
12:00
<
infinisil >
types.listOf types.str can be set multiple times, but it's annoying, because to set the arguments "--foo --bar --baz" you need `[ "--foo" "--bar" "--baz" ]`
12:01
<
infinisil >
types.separatedString " " is probably much better, allows you to set `"--foo --bar --baz"` directly, but it's not used often in nixos
12:09
<
infinisil >
I suggested the latter in a PR I reviewed
12:11
<
qyliss^work >
My experience in Homebrew was always that argument lists should be arrays, because then you can escape them and have arguments with spaces or whatever if you need to.
12:11
<
qyliss^work >
But nixpkgs doesn't really seem to bother with escaping a lot of the time...
12:12
<
qyliss^work >
Seeing an array implies, to me, that arguments will be escaped. If they aren't going to be, separatedString is probably clearer.
12:13
<
infinisil >
qyliss^work: Yeah the escaping is a good point
12:14
<
infinisil >
> lib.escapeArgs [ "foo" "bar'" "\"test" ]
12:14
<
{^_^} >
attribute 'escapeArgs' missing, at (string):206:1
12:14
<
infinisil >
> lib.escapeShellArgs [ "foo" "bar'" "\"test" ]
12:14
<
{^_^} >
"'foo' 'bar'\\''' '\"test'"
12:14
<
infinisil >
qyliss^work: There is this one could use with arrays ^
12:15
<
qyliss^work >
I would recommend `listOf str`, but also making sure in reviews that extraArgs are escaped.
12:17
<
infinisil >
I'll make sure they don't forget the escaping before merging
13:18
drakonis has joined #nixos-dev
13:22
drakonis_ has quit [Ping timeout: 272 seconds]
13:25
drakonis has quit [Ping timeout: 264 seconds]
13:53
ma27 has quit [Quit: WeeChat 2.2]
13:53
ma27 has joined #nixos-dev
13:56
<
nbp >
gchristensen: Do you have any experience setting up NixOS on arm64?
14:08
<
samueldr >
(he's on leave for a couple days)
14:08
<
samueldr >
nbp: anything particular you want to ask, other users may have experience :)
14:09
<
nbp >
samueldr: I figure at the end that the reason the device does not boot on the usb drive is because it is too small :/
14:11
<
samueldr >
nbp: if you want, you can also hop in #nixos-aarch64, a couple enthusiasts idle there
14:11
<
samueldr >
but otherwise, nbp, which device?
14:13
<
samueldr >
as far as drive size, as long as sd-image-aarch64.img fits, for SBCs, it always worked for me, even if tight
14:15
<
samueldr >
:/ no direct experience with that one or similar, sadly
14:15
<
nbp >
samueldr: the sd_image is 2.3 GB, and I had tried with 2 USB drives of 1.9 GB before noticing.
14:16
<
samueldr >
ah, this could be causing issues :)
14:16
<
nbp >
samueldr: Some coworkers managed to get fedora installed on it.
14:49
jtojnar has joined #nixos-dev
16:47
__Sander__ has quit [Quit: Konversation terminated!]
17:36
drakonis has joined #nixos-dev
19:01
drakonis_ has joined #nixos-dev
19:03
drakonis has quit [Ping timeout: 260 seconds]
19:06
drakonis has joined #nixos-dev
19:08
drakonis_ has quit [Ping timeout: 252 seconds]
19:08
Drakonis__ has joined #nixos-dev
19:10
drakonis has quit [Ping timeout: 244 seconds]
19:18
<
sphalerite >
nbp: yeah step 1 would be see if you can get it working with a bigger USB stick, or netboot (it should have enough RAM for that)
19:22
<
samueldr >
(from a followup in aarch64) it could be also from the fact that sd-image-aarch64 isn't EFI ready
19:33
drakonis has joined #nixos-dev
20:09
init_6 has quit [Ping timeout: 240 seconds]
20:51
drakonis has quit [Quit: WeeChat 2.3]
20:51
drakonis has joined #nixos-dev
21:29
ma27 has quit [Quit: WeeChat 2.2]
21:37
obadz- has joined #nixos-dev
21:40
obadz has quit [Ping timeout: 272 seconds]
21:40
obadz- is now known as obadz
22:15
ma27 has joined #nixos-dev
22:25
drakonis has quit [Quit: WeeChat 2.3]
22:48
hedning has joined #nixos-dev
22:48
drakonis has joined #nixos-dev
22:51
Drakonis__ has quit [Ping timeout: 264 seconds]
22:52
hedning has quit [Ping timeout: 244 seconds]
23:26
<
domenkozar >
if anyone is still up, I'd appreciate a proof-read
23:27
<
domenkozar >
otherwise in the morning :)
23:30
drakonis_ has joined #nixos-dev
23:34
drakonis has quit [Ping timeout: 252 seconds]
23:39
drakonis has joined #nixos-dev