gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.09 release managers: vcunat and samueldr | https://logs.nix.samueldr.com/nixos-dev
qyliss^work has quit [Quit: bye]
qyliss has quit [Quit: bye]
apaul1729 has quit [Remote host closed the connection]
qyliss has joined #nixos-dev
qyliss^work has joined #nixos-dev
drakonis has joined #nixos-dev
Lisanna has quit [Ping timeout: 250 seconds]
Lisanna has joined #nixos-dev
<ekleog> thoughtpolice: oraclejdk is the only jdk supported for java card development
<ekleog> (which needs to compile with -source 1.5 -target 1.5 among other fun things)
pie__ has joined #nixos-dev
pie___ has quit [Remote host closed the connection]
sir_guy_carleton has quit [Ping timeout: 246 seconds]
pie___ has joined #nixos-dev
pie__ has quit [Remote host closed the connection]
sir_guy_carleton has joined #nixos-dev
phreedom has quit [Ping timeout: 256 seconds]
phreedom has joined #nixos-dev
drakonis has quit [Ping timeout: 264 seconds]
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
orivej has joined #nixos-dev
sir_guy_carleton has quit [Ping timeout: 250 seconds]
sir_guy_carleton has joined #nixos-dev
sir_guy_carleton has quit [Quit: WeeChat 2.2]
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-dev
__Sander__ has joined #nixos-dev
init_6 has joined #nixos-dev
hedning has joined #nixos-dev
hedning has quit [Quit: hedning]
hedning has joined #nixos-dev
lassulus has quit [Ping timeout: 245 seconds]
init_6 has quit [Ping timeout: 245 seconds]
phreedom_ has joined #nixos-dev
phreedom has quit [Ping timeout: 256 seconds]
pie__ has joined #nixos-dev
pie___ has quit [Remote host closed the connection]
drakonis has joined #nixos-dev
lassulus has joined #nixos-dev
jtojnar has joined #nixos-dev
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos-dev
phreedom has joined #nixos-dev
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
<gchristensen> good gravy something must be broken
<gchristensen> https://hydra.nixos.org/queue_summary the queue is at 86 jobs
<LnL> :o
<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
<gchristensen> ??
<LnL> the new mac doesn't have enough users
<qyliss^work> I had to do that on my laptop recently
<qyliss^work> I have 64 now
<gchristensen> ok, well that may be a problem, but also a small part of the problem. why are there so few linux jobs
<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
<gchristensen> LnL: how do I tell nix-darwin to create the build users again?
<LnL> not sure it does if they already exist
<qyliss^work> I had to just load the functions into a shell, and then re-run the build user creation function
<qyliss^work> From the install script
<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.
<gchristensen> no kidding!
<thoughtpolice> (For reference I think my machine can do all of those 80 builds in something like < 8 minutes.)
<gchristensen> ok adding more users to that machine, sorry LnL :|
<LnL> no problem, the list of failures isn't that big :)
asymmetric_ has joined #nixos-dev
<gchristensen> inHydra is a mystical value, passed along by ofborg and on to other users like lore, and check out what it does! https://search.nix.gsc.io/?q=inHydra&i=nope&files=&repos=
<LnL> yeah, I have no idea what that's for
<LnL> presumably it was used at some point
<gchristensen> LnL: :D https://gist.github.com/grahamc/f6a98e6193bf048b2a093a9ccef86e5b the commit on line 13 is fun
<gchristensen> https://github.com/NixOS/nixpkgs/pull/52489 here we go, let's use that variable for something
<{^_^}> #52489 (by grahamc, 31 seconds ago, open): stdenv: shorten evaluation errors when in Hydra
worldofpeace has joined #nixos-dev
pie__ has quit [Remote host closed the connection]
pie___ has joined #nixos-dev
<gchristensen> ^ that PR reduced evaluation error output by 30,000 lines
__Sander__ has quit [Quit: Konversation terminated!]
sir_guy_carleton has joined #nixos-dev
v0|d has joined #nixos-dev
<Synthetica> Could someone merge #49420 and #51508 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/49420 (by Synthetica9, 7 weeks ago, open): steam: refactor steam-runtime
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51508 (by Synthetica9, 2 weeks ago, open): Steam runtime refactor backport
orivej has quit [Ping timeout: 246 seconds]
hedning has quit [Quit: hedning]
orivej has joined #nixos-dev
sir_guy_carleton has quit [Ping timeout: 250 seconds]
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos-dev
<LnL> does anybody know a way to run a command inside nix-shell without loosing quoting?
<gchristensen> huh?
<LnL> eg. nix-shell --run "$0 $@"
<gchristensen> ack
orivej has quit [Ping timeout: 245 seconds]
<LnL> nix run -c "$0" "$@" preserves quoting properly for example, but can't use that in this case
avn has joined #nixos-dev
<domenkozar> anyone has weekly material?
<{^_^}> nixos-weekly#72 (by domenkozar, 2 weeks ago, open): Call for Content: 2018/14
v0|d has quit [Ping timeout: 250 seconds]
hedning has joined #nixos-dev
hedning has quit [Client Quit]
asymmetric_ has quit [Ping timeout: 250 seconds]
drakonis has quit [Quit: WeeChat 2.3]
LnL has joined #nixos-dev
samueldr has joined #nixos-dev
samueldr has quit [Changing host]
LnL has quit [Changing host]
qyliss has joined #nixos-dev
qyliss has quit [Changing host]
qyliss^work has quit [Changing host]
qyliss^work has joined #nixos-dev
tilpner has joined #nixos-dev
tilpner has quit [Changing host]
niksnut has quit [Changing host]
niksnut has joined #nixos-dev
gchristensen has joined #nixos-dev
{^_^} has joined #nixos-dev
gchristensen has quit [Changing host]
{^_^} has quit [Changing host]
__Sander__ has joined #nixos-dev
aminechikhaoui has quit [Changing host]
aminechikhaoui has joined #nixos-dev
clever has joined #nixos-dev
clever has quit [Changing host]
edef has joined #nixos-dev
edef has quit [Changing host]
hedning has joined #nixos-dev
hedning has quit [Client Quit]
worldofpeace has quit [Quit: worldofpeace]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #nixos-dev
<LnL> gchristensen: oh, nix-shell --run "$0 ${*@Q}" works I think
<gchristensen> :O
<LnL> hacky but whatever
<Synthetica> LnL: wat
<gchristensen> I love it
<LnL> I wish the manpage for bash parameter expension was actually readable
<gchristensen> haha, yeah, same :)
<LnL> it's cryptic enough, just give me examples of what it does :p
<samueldr> stop right there
<samueldr> (though, not hacky, works as (poorly?) documented)
<samueldr> when was this added to bash?
<LnL> and luckily nix-shell starts bash from nixpkgs so it doesn't matter where it runs :D
<LnL> 4.x probably
<LnL> darnit, that's not true
<bennofs[m]> what does *@q do o.o
<LnL> it's before the shell :/
<samueldr> ${parameter@operator} <-
<LnL> nix-wrap '1 2' '3 4' would result in nix-shell --run "nix-wrap '1 2' '3 4'"
<samueldr> I'm unsure to the difference between prefixing with * or @
<bennofs[m]> ah cool, but is `$@` the same as `${*@Q}` then?
<LnL> no, $@ and $* get joined by spaces but not quoted without @Q
<LnL> so that would result in nix-shell --run "nix-wrap 1 2 3 4", 4 arguments instead of 2
<bennofs[m]> oh I see, it quotes and then separates by spaces
<samueldr> it might be from Bash-4.4
<bennofs[m]> i think I have used other hacks for that in the past, nice to know
<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
<samueldr> e.g. foo=("a a" "b b" "c")
<LnL> SC2145
<samueldr> oh, silly me, I was testing with printf, and it was expanding in multiple positional parameters
<samueldr> now I understand the behaviour
<LnL> both work in this case as far as I can tell
<samueldr> `"${foo[*]@Q}"` gives one parameter, `${foo[@]@Q}` gives three parameters here
<samueldr> and it makes sense considering how "${@}" and "${*}" differ
<LnL> ah like that, yeah
<samueldr> good or not, depends on your use case, in yours you need to use * or else it would split the string
orivej has quit [Ping timeout: 240 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
<LnL> samueldr: oh and hacky as in, I'd prefer to just give a list of arguments to nix directly
<samueldr> oh, sure!
<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
<LnL> heh yeah exporting the variables could be another workaround
<LnL> but then you have to deal with spaces there
init_6 has joined #nixos-dev
<samueldr> yeah, at one point you'll need to deal with escaping :(
pie__ has joined #nixos-dev
pie___ has quit [Remote host closed the connection]