00:11
qyliss^work has quit [Quit: bye]
00:11
qyliss has quit [Quit: bye]
00:14
apaul1729 has quit [Remote host closed the connection]
00:14
qyliss has joined #nixos-dev
00:15
qyliss^work has joined #nixos-dev
00:19
drakonis has joined #nixos-dev
00:22
Lisanna has quit [Ping timeout: 250 seconds]
00:47
Lisanna has joined #nixos-dev
01:25
<
ekleog >
thoughtpolice: oraclejdk is the only jdk supported for java card development
01:26
<
ekleog >
(which needs to compile with -source 1.5 -target 1.5 among other fun things)
01:58
pie__ has joined #nixos-dev
01:59
pie___ has quit [Remote host closed the connection]
04:00
sir_guy_carleton has quit [Ping timeout: 246 seconds]
04:01
pie___ has joined #nixos-dev
04:02
pie__ has quit [Remote host closed the connection]
04:02
sir_guy_carleton has joined #nixos-dev
04:04
phreedom has quit [Ping timeout: 256 seconds]
04:04
phreedom has joined #nixos-dev
04:09
drakonis has quit [Ping timeout: 264 seconds]
04:33
lassulus_ has joined #nixos-dev
04:35
lassulus has quit [Ping timeout: 246 seconds]
04:35
lassulus_ is now known as lassulus
06:03
orivej has joined #nixos-dev
06:30
sir_guy_carleton has quit [Ping timeout: 250 seconds]
06:32
sir_guy_carleton has joined #nixos-dev
06:39
sir_guy_carleton has quit [Quit: WeeChat 2.2]
07:37
orivej has quit [Ping timeout: 250 seconds]
07:42
orivej has joined #nixos-dev
09:28
__Sander__ has joined #nixos-dev
11:19
init_6 has joined #nixos-dev
11:24
hedning has joined #nixos-dev
11:29
hedning has quit [Quit: hedning]
11:37
hedning has joined #nixos-dev
11:41
lassulus has quit [Ping timeout: 245 seconds]
13:49
init_6 has quit [Ping timeout: 245 seconds]
14:00
phreedom_ has joined #nixos-dev
14:03
phreedom has quit [Ping timeout: 256 seconds]
14:09
pie__ has joined #nixos-dev
14:10
pie___ has quit [Remote host closed the connection]
14:13
drakonis has joined #nixos-dev
14:17
lassulus has joined #nixos-dev
14:24
jtojnar has joined #nixos-dev
14:41
jtojnar has quit [Quit: jtojnar]
14:42
jtojnar has joined #nixos-dev
14:45
phreedom has joined #nixos-dev
14:45
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
15:06
<
gchristensen >
good gravy something must be broken
15:08
<
LnL >
well there's at least one problem: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
15:08
<
LnL >
the new mac doesn't have enough users
15:09
<
qyliss^work >
I had to do that on my laptop recently
15:09
<
qyliss^work >
I have 64 now
15:09
<
gchristensen >
ok, well that may be a problem, but also a small part of the problem. why are there so few linux jobs
15:11
<
gchristensen >
also, this bigmac has so many cores and so much memory, working on it across the network with vnc is aaalmost as fast as editing locally
15:12
<
gchristensen >
LnL: how do I tell nix-darwin to create the build users again?
15:12
<
LnL >
not sure it does if they already exist
15:13
<
qyliss^work >
I had to just load the functions into a shell, and then re-run the build user creation function
15:13
<
qyliss^work >
From the install script
15:15
<
thoughtpolice >
gchristensen: It's startling how much a Big Ass Machine(TM) helps the Nixpkgs iteration cycle. The cycle times on my postgresql patches (each one requiring anywhere from 50-80 rebuilds, each time) would have been absolutely awful without 32 cores and a boatload of RAM. It's so much faster I just forfeit my desktop and remote into it.
15:16
<
gchristensen >
no kidding!
15:16
<
thoughtpolice >
(For reference I think my machine can do all of those 80 builds in something like < 8 minutes.)
15:19
<
gchristensen >
ok adding more users to that machine, sorry LnL :|
15:19
<
LnL >
no problem, the list of failures isn't that big :)
15:24
asymmetric_ has joined #nixos-dev
15:36
<
LnL >
yeah, I have no idea what that's for
15:36
<
LnL >
presumably it was used at some point
15:55
<
{^_^} >
#52489 (by grahamc, 31 seconds ago, open): stdenv: shorten evaluation errors when in Hydra
16:10
worldofpeace has joined #nixos-dev
16:23
pie__ has quit [Remote host closed the connection]
16:23
pie___ has joined #nixos-dev
16:32
<
gchristensen >
^ that PR reduced evaluation error output by 30,000 lines
16:40
__Sander__ has quit [Quit: Konversation terminated!]
16:50
sir_guy_carleton has joined #nixos-dev
16:54
v0|d has joined #nixos-dev
17:03
<
Synthetica >
Could someone merge #49420 and #51508 ?
17:09
orivej has quit [Ping timeout: 246 seconds]
17:16
hedning has quit [Quit: hedning]
17:28
orivej has joined #nixos-dev
17:30
sir_guy_carleton has quit [Ping timeout: 250 seconds]
17:35
Jackneill has quit [Remote host closed the connection]
17:36
Jackneill has joined #nixos-dev
17:54
<
LnL >
does anybody know a way to run a command inside nix-shell without loosing quoting?
17:54
<
gchristensen >
huh?
17:55
<
LnL >
eg. nix-shell --run "$0 $@"
17:57
orivej has quit [Ping timeout: 245 seconds]
17:57
<
LnL >
nix run -c "$0" "$@" preserves quoting properly for example, but can't use that in this case
18:49
avn has joined #nixos-dev
19:01
<
domenkozar >
anyone has weekly material?
19:01
<
{^_^} >
nixos-weekly#72 (by domenkozar, 2 weeks ago, open): Call for Content: 2018/14
19:26
v0|d has quit [Ping timeout: 250 seconds]
19:30
hedning has joined #nixos-dev
19:31
hedning has quit [Client Quit]
19:49
asymmetric_ has quit [Ping timeout: 250 seconds]
20:24
drakonis has quit [Quit: WeeChat 2.3]
20:30
LnL has joined #nixos-dev
20:30
samueldr has joined #nixos-dev
20:30
samueldr has quit [Changing host]
20:30
LnL has quit [Changing host]
20:30
qyliss has joined #nixos-dev
20:30
qyliss has quit [Changing host]
20:30
qyliss^work has quit [Changing host]
20:30
qyliss^work has joined #nixos-dev
20:30
tilpner has joined #nixos-dev
20:30
tilpner has quit [Changing host]
20:30
niksnut has quit [Changing host]
20:30
niksnut has joined #nixos-dev
20:30
gchristensen has joined #nixos-dev
20:30
{^_^} has joined #nixos-dev
20:30
gchristensen has quit [Changing host]
20:30
{^_^} has quit [Changing host]
20:41
__Sander__ has joined #nixos-dev
21:10
aminechikhaoui has quit [Changing host]
21:10
aminechikhaoui has joined #nixos-dev
21:10
clever has joined #nixos-dev
21:10
clever has quit [Changing host]
21:11
edef has joined #nixos-dev
21:11
edef has quit [Changing host]
21:12
hedning has joined #nixos-dev
21:15
hedning has quit [Client Quit]
21:38
worldofpeace has quit [Quit: worldofpeace]
21:42
orivej has joined #nixos-dev
22:22
orivej has quit [Ping timeout: 268 seconds]
22:23
orivej has joined #nixos-dev
22:36
<
LnL >
gchristensen: oh, nix-shell --run "$0 ${*@Q}" works I think
22:36
<
LnL >
hacky but whatever
22:36
<
Synthetica >
LnL: wat
22:36
<
gchristensen >
I love it
22:37
<
LnL >
I wish the manpage for bash parameter expension was actually readable
22:37
<
gchristensen >
haha, yeah, same :)
22:38
<
LnL >
it's cryptic enough, just give me examples of what it does :p
22:38
<
samueldr >
stop right there
22:38
<
samueldr >
(though, not hacky, works as (poorly?) documented)
22:39
<
samueldr >
when was this added to bash?
22:39
<
LnL >
and luckily nix-shell starts bash from nixpkgs so it doesn't matter where it runs :D
22:42
<
LnL >
darnit, that's not true
22:42
<
bennofs[m] >
what does *@q do o.o
22:42
<
LnL >
it's before the shell :/
22:42
<
samueldr >
${parameter@operator} <-
22:43
<
LnL >
nix-wrap '1 2' '3 4' would result in nix-shell --run "nix-wrap '1 2' '3 4'"
22:43
<
samueldr >
I'm unsure to the difference between prefixing with * or @
22:43
<
bennofs[m] >
ah cool, but is `$@` the same as `${*@Q}` then?
22:44
<
LnL >
no, $@ and $* get joined by spaces but not quoted without @Q
22:46
<
LnL >
so that would result in nix-shell --run "nix-wrap 1 2 3 4", 4 arguments instead of 2
22:47
<
bennofs[m] >
oh I see, it quotes and then separates by spaces
22:47
<
samueldr >
it might be from Bash-4.4
22:47
<
bennofs[m] >
i think I have used other hacks for that in the past, nice to know
22:49
<
samueldr >
I find it a bit odd how you'd use `${foo[*]@Q}` and not `${foo[@]@Q}` to get the full array on an array
22:49
<
samueldr >
e.g. foo=("a a" "b b" "c")
22:52
<
samueldr >
oh, silly me, I was testing with printf, and it was expanding in multiple positional parameters
22:52
<
samueldr >
now I understand the behaviour
22:53
<
LnL >
both work in this case as far as I can tell
22:54
<
samueldr >
`"${foo[*]@Q}"` gives one parameter, `${foo[@]@Q}` gives three parameters here
22:55
<
samueldr >
and it makes sense considering how "${@}" and "${*}" differ
22:56
<
LnL >
ah like that, yeah
22:56
<
samueldr >
good or not, depends on your use case, in yours you need to use * or else it would split the string
23:00
orivej has quit [Ping timeout: 240 seconds]
23:07
__Sander__ has quit [Quit: Konversation terminated!]
23:08
<
LnL >
samueldr: oh and hacky as in, I'd prefer to just give a list of arguments to nix directly
23:08
<
samueldr >
oh, sure!
23:09
<
samueldr >
I tried a hack, using <(echo -n '#!/usr/bin/env nix-shell\n') | env but uh, the command substitution isn't +x so it won't execute
23:10
<
LnL >
heh yeah exporting the variables could be another workaround
23:11
<
LnL >
but then you have to deal with spaces there
23:11
init_6 has joined #nixos-dev
23:12
<
samueldr >
yeah, at one point you'll need to deal with escaping :(
23:13
pie__ has joined #nixos-dev
23:14
pie___ has quit [Remote host closed the connection]