<shlevy>
gchristensen: Plugins is definitely up there
<Sonarpulse>
go check the nixcon recording and see where eelco go the most applause :)
<shlevy>
A bit boring, but fetchGit is a big one
<gchristensen>
boring is goood, fetchgit is so good
<shlevy>
chroot stores definitely
<dtz>
shlevy: what do they get you / you use them for? I tried briefly but I had problems preventing exploring their use too much (I forget details, think something about despite chroot thing still trying to use wrong paths)
<dtz>
anyway I don't mean to bring that up so much as.... what makes them your fav? /me wants to be excited too
* gchristensen
drafts a blog post
<gchristensen>
shlevy: can you show me an awesome example of chroot stores?
<shlevy>
dtz: The biggest immediate thing is bypassing some sysadmins who won't let us install in /nix :D
<gchristensen>
<3
<shlevy>
Plus I'm just conceptually a big fan of userns :D
<samueldr>
no experience yest with 2.0, but reading the release notes...
<samueldr>
`nix log`, NIX_LOG_FD, both looks cool
Sonarpulse has quit [Ping timeout: 256 seconds]
yegortim1 has quit [Remote host closed the connection]
yegortim1 has joined #nixos-dev
ma27 has quit [Ping timeout: 255 seconds]
<gchristensen>
anyone know how long Nix 2.0 has been in progress? shlevy?
<shlevy>
gchristensen: Look at the 1.11 release date :)
<gchristensen>
two years.
<gchristensen>
four days after I first came to check out NixOS
<fpletz>
time to add nixLegacy to all-packages.nix? :)
<gchristensen>
where will we be in two more years?
<gchristensen>
we've merged 23,000 PRs since I first joined
<samueldr>
oh, looks like it doesn't zoom on my end
<dtz>
Hooray
<samueldr>
sorrry
<samueldr>
it can zoom
<dtz>
LOL
<samueldr>
I can't click
<gchristensen>
I can zoom and click ...
<samueldr>
and chrome... helpfully... changes the text size for better readability...
<samueldr>
... but each section has its own text size
<samueldr>
mobile!
<gchristensen>
I'm using FF on android
<samueldr>
ah, I was way too impatient, looks like pushing hundred of DOM nodes is hard
<gchristensen>
oh, yeah... :D
<dtz>
oh does it work if you wait longer? lol
* dtz
also may have been impatient
<gchristensen>
it creates an html element per line of log per log .... all at once
<shlevy>
dtz: updated RFC looks good!
<dtz>
\o/
<dtz>
meant to iterate again this evening but other things came up xD
pie_ has quit [Ping timeout: 248 seconds]
Mic92 has quit [Ping timeout: 255 seconds]
jtojnar has quit [Ping timeout: 256 seconds]
Mic92 has joined #nixos-dev
jtojnar has joined #nixos-dev
pie_ has joined #nixos-dev
pie_ has quit [Ping timeout: 264 seconds]
Mic92 has quit [*.net *.split]
aszlig_ has quit [*.net *.split]
moredread[m] has quit [*.net *.split]
andi- has quit [*.net *.split]
Lisanna has quit [*.net *.split]
kgz has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
adisbladis[m] has quit [*.net *.split]
nocent has quit [*.net *.split]
primeos[m] has quit [*.net *.split]
fpletz has quit [*.net *.split]
flokli has quit [*.net *.split]
LnL has quit [Ping timeout: 260 seconds]
andi- has joined #nixos-dev
LnL has joined #nixos-dev
Mic92 has joined #nixos-dev
Lisanna has joined #nixos-dev
primeos[m] has joined #nixos-dev
adisbladis[m] has joined #nixos-dev
aminechikhaoui has joined #nixos-dev
fpletz has joined #nixos-dev
nocent has joined #nixos-dev
flokli has joined #nixos-dev
aszlig_ has joined #nixos-dev
moredread[m] has joined #nixos-dev
moredread[m] has quit [Ping timeout: 240 seconds]
rycee has quit [Ping timeout: 248 seconds]
adisbladis[m] has quit [Ping timeout: 255 seconds]
nocent has quit [Ping timeout: 255 seconds]
primeos[m] has quit [Ping timeout: 255 seconds]
florianjacob has quit [Ping timeout: 256 seconds]
dtz has quit [Ping timeout: 240 seconds]
copumpkin has quit [Ping timeout: 255 seconds]
olejorgenb[m] has quit [Ping timeout: 252 seconds]
hl has quit [Ping timeout: 252 seconds]
sphalerite has quit [Ping timeout: 252 seconds]
regnat[m] has quit [Ping timeout: 260 seconds]
teh[m] has quit [Ping timeout: 256 seconds]
stites[m] has quit [Ping timeout: 256 seconds]
pstn has quit [Ping timeout: 256 seconds]
acowley has quit [Ping timeout: 260 seconds]
peterhoeg has quit [Ping timeout: 276 seconds]
hedning[m] has quit [Ping timeout: 276 seconds]
grahamc has quit [Ping timeout: 276 seconds]
FRidh has quit [Ping timeout: 248 seconds]
FRidh has joined #nixos-dev
acowley has joined #nixos-dev
<sphalerite_>
gchristensen: probably the better command-line interface. I often want to perform multiple actions on the same derivation, and fiddling about with nix-instantiate is terrible in comparison to just changing one word in the command (build, log, copy, …). And the progress bars are lovely
aszlig_ has quit [*.net *.split]
Lisanna has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
fpletz has quit [*.net *.split]
flokli has quit [*.net *.split]
FRidh has quit [Ping timeout: 256 seconds]
aminechikhaoui has joined #nixos-dev
Lisanna has joined #nixos-dev
fpletz has joined #nixos-dev
flokli has joined #nixos-dev
aszlig has joined #nixos-dev
kgz has joined #nixos-dev
florianjacob has joined #nixos-dev
FRidh has joined #nixos-dev
FRidh has quit [Read error: Connection reset by peer]
__Sander__ has joined #nixos-dev
FRidh has joined #nixos-dev
aminechi1haoui has joined #nixos-dev
aminechi2haoui has joined #nixos-dev
aminechikhaoui has quit [Ping timeout: 240 seconds]
aminechi1haoui has quit [Ping timeout: 264 seconds]
goibhniu has joined #nixos-dev
yegortim1 has quit [Remote host closed the connection]
yegortim1 has joined #nixos-dev
aminechi2haoui has quit [Ping timeout: 256 seconds]
adisbladis[m] has joined #nixos-dev
stites[m] has joined #nixos-dev
hedning[m] has joined #nixos-dev
pstn has joined #nixos-dev
grahamc has joined #nixos-dev
sphalerite has joined #nixos-dev
nocent has joined #nixos-dev
primeos[m] has joined #nixos-dev
olejorgenb[m] has joined #nixos-dev
regnat[m] has joined #nixos-dev
hl has joined #nixos-dev
dtz has joined #nixos-dev
copumpkin has joined #nixos-dev
moredread[m] has joined #nixos-dev
teh[m] has joined #nixos-dev
rycee has joined #nixos-dev
peterhoeg has joined #nixos-dev
peti has quit [Read error: Connection reset by peer]
FRidh has quit [Remote host closed the connection]
FRidh has joined #nixos-dev
aminechikhaoui has joined #nixos-dev
peti has joined #nixos-dev
goibhniu has quit [Ping timeout: 252 seconds]
goibhniu has joined #nixos-dev
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nixos-dev
Wizzard has quit [Quit: Leaving]
<shlevy>
niksnut: Still no movement on the glibc-2.27 job... I bumped gnum4 to the top of the queue a few days ago too :(
<shlevy>
niksnut: I bumped build shares, but is it possible something is blocking it? Looks like the staging jobset has just as few shares but still manages to get jobs going
goibhniu has quit [Ping timeout: 248 seconds]
<Mic92>
dotlambda is the second largest contributor lately + he reviews pull requests for other -> how would you feel about asking him to become maintainer?
<gchristensen>
"this kind of need to dig to figure out the answer to a pretty straightforward question is typical for my nix experience – it always ends up making sense in some way, but you need so much knowledge and have to dig so deep to find out how/what/why. git grep in a nixpkgs clone seems part of the required tool set for a nix user"
<yorick>
ah, it was fixed by seccomp 2.3.3
pie_ has quit [Ping timeout: 264 seconds]
Sonarpulse has joined #nixos-dev
jtojnar_ has joined #nixos-dev
ckauhaus has quit [Remote host closed the connection]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ is now known as jtojnar
<shlevy>
Running VACUUM on my db dropped it from 302M to 68M
<gchristensen>
ooh are we not vacuuming our dbs?
<shlevy>
68 M still seems huge
<niksnut>
vacuum is disabled
<niksnut>
src/libstore/gc.cc: /* While we're at it, vacuum the database. */
<clever>
Sonarpulse: i was able to get the pkgs on line 3 to generate a mingw cross-compiler, but that compiler refused to output any PE objects, and ive had to resort to abusing the linux toolchain and objcopy to generate PE objects
<clever>
Sonarpulse: and the resulting file doesnt actually run
<Sonarpulse>
bgamari-: maybe you can try to build package which is built wrong?
<Sonarpulse>
compare hash
<dtz>
strange, and the bug report is strange re:remote + konsole. doesn't seem obviously broken for me but shrug
<Sonarpulse>
see if it is buildPackages for some reaons
<Sonarpulse>
clever: checking
<clever>
there should be enough in the gist that you can just nix-build -A foo, to build via the linux toolchain
<Sonarpulse>
clever: see binutils and the LDEMULATION thing
<Sonarpulse>
maybe that is getting set wrong
<clever>
Sonarpulse: also, the gnu-efi package depends on a cross-built pciutils and which, which doesnt sound right
<clever>
so i had to pull that in from the linux pkgs
<Sonarpulse>
clever: first thing, instead of doing hostpkgs do pkgs.buildPackages
<Sonarpulse>
inherit (pkgs) buildPackages;
<dtz>
maybe systemd or something is killing background processes on disconnect? o_O
* dtz
dunno
<clever>
ah, i tried a few ways to find that, but couldnt guess the right prefix to tab-complete
<clever>
dtz: ssh into a second user (maybe root), and attach to the tmux with strace -p
<clever>
dtz: then disconnect from the user that started tmux
<Sonarpulse>
clever: yeah with the deps* names for the new dependency types
<Sonarpulse>
I've tried to be more prefix-complete-friendly :)
<clever>
assertion failed at /nix/store/7rk6ik1vxh2rvg3ny0rk6kkfdiqzbz5w-nixos-18.03pre125026.f607771d0f5/nixos/pkgs/os-specific/linux/kernel-headers/4.4.nix:6:1
<clever>
while evaluating the attribute ‘stdenv’ of the derivation ‘virtualbox-5.2.4’ at /nix/store/7rk6ik1vxh2rvg3ny0rk6kkfdiqzbz5w-nixos-18.03pre125026.f607771d0f5/nixos/pkgs/stdenv/generic/make-derivation.nix:134:11:
<Sonarpulse>
clever: is there any easy way for me to fork that?
<clever>
ah, i have to put that into the right attrset
<clever>
while evaluating the attribute ‘stdenv’ of the derivation ‘virtualbox-5.2.4’ at /nix/store/7rk6ik1vxh2rvg3ny0rk6kkfdiqzbz5w-nixos-18.03pre125026.f607771d0f5/nixos/pkgs/stdenv/generic/make-derivation.nix:134:11:
<clever>
assertion failed at /nix/store/7rk6ik1vxh2rvg3ny0rk6kkfdiqzbz5w-nixos-18.03pre125026.f607771d0f5/nixos/pkgs/os-specific/linux/kernel-headers/4.4.nix:6:1
<clever>
i'll update the gist...
<clever>
done
<Sonarpulse>
mm ok
<clever>
nativeBuildInputs = with pkgs; [ virtualbox changes the error, hmmm
ckauhaus has joined #nixos-dev
<clever>
updated the gist again, i think its trying to cross-compile pcap when cross-compiling vbox?
<clever>
2 assert pam != null -> stdenv.isLinux;
<clever>
while evaluating the attribute ‘buildInputs’ of the derivation ‘virtualbox-5.2.4-x86_64-pc-mingw32’ at /nix/store/7rk6ik1vxh2rvg3ny0rk6kkfdiqzbz5w-nixos-18.03pre125026.f607771d0f5/nixos/pkgs/stdenv/generic/make-derivation.nix:134:11:
<clever>
assertion failed at /nix/store/7rk6ik1vxh2rvg3ny0rk6kkfdiqzbz5w-nixos-18.03pre125026.f607771d0f5/nixos/pkgs/os-specific/linux/libcap/default.nix:2:1
<clever>
yeah, that vbox shouldnt be mingw32's!
<clever>
Sonarpulse: is crossSystem the right attribute to set on nixpkgs still?
<Sonarpulse>
clever: yeah
<Sonarpulse>
here i made version
lfam has left #nixos-dev ["Leaving"]
<Sonarpulse>
pending fixing gnu-efi
ckauhaus has quit [Ping timeout: 248 seconds]
<Sonarpulse>
clever: ok i pushed a thing to a fork
<clever>
i see it
<clever>
ah, i see part of my problem that you fixed
<clever>
i was using the wrong stdenv
<clever>
so it didnt apply a map over nativeBuildInputs to force them into being native
<Sonarpulse>
clever: mkDerivation no longer does that actually
<Sonarpulse>
just callPackage
<Sonarpulse>
that's why I have both withs
<Sonarpulse>
but yeah need right stdenv for other reasons
<clever>
ah
<clever>
virtualbox is still giving trouble
<Sonarpulse>
clever: is gnu-efi doing things?
<Sonarpulse>
I'll check in vbox
<clever>
if i comment out virtualbox, it starts downloading from the binary cache
<Sonarpulse>
clever: weird buildPackages.buildPackages.foo should always be the exact same as native foo
<Sonarpulse>
but that's not happening for pkgs.buildPackages.buildPackages.VirtualBox
ckauhaus has joined #nixos-dev
ckauhaus has quit [Ping timeout: 252 seconds]
Lisanna has joined #nixos-dev
<Sonarpulse>
bgamari-: I wonder if the linuxHeaders problem that was at the root of the VirtualBox problem has something to do with your nixos problem
<Sonarpulse>
hmm
<bgamari->
Sonarpulse, quite possible actually
<Sonarpulse>
bgamari-: wrapping up this new nix pill but then maybe I can dive into that
<bgamari->
Sonarpulse, the problem is that it's trying to build linux for the build machine
<Sonarpulse>
hmmm
<bgamari->
with configuration for the host
<Sonarpulse>
wrong C compiler perhaps
<bgamari->
Sonarpulse, well, the derivation name doesn't have a sufffix
pie__ has quit [Ping timeout: 264 seconds]
<Sonarpulse>
bgamari-: ok cool sounds more like eval problem
<Sonarpulse>
gchristensen: I made a new nix pill :D
<gchristensen>
whaaaat!
<Sonarpulse>
but it is not including my files
<Sonarpulse>
do they need to be .txt?
<gchristensen>
I don't remember ...
<Sonarpulse>
hahaha ok
<gchristensen>
I could take a look ~later if you still need help then
ckauhaus has joined #nixos-dev
<bgamari->
Sonarpulse, I suspect something is just depending upon buildPackages.linux
<bgamari->
I'm building with nix-build -k so I can work out where this dependency is coming from
ckauhaus has quit [Ping timeout: 240 seconds]
<Sonarpulse>
gchristensen: I'll ping you if I dont't figure it out
<gchristensen>
cool
<Sonarpulse>
bgamari-: sounds good!
<Sonarpulse>
there is also `nix why-depends` I just learned today
<Sonarpulse>
hopefully it works on drv files
<gchristensen>
:D
<Sonarpulse>
gchristensen: filter by source
<gchristensen>
hrm?
<Sonarpulse>
gchristensen: my non xml non txt was being filtered
<gchristensen>
ahh!
<Sonarpulse>
gchristensen: maybe nix sh bash whatever is fine whitelist
<Sonarpulse>
but I wonder if there's another way
joachifm_ has quit [Remote host closed the connection]
<bgamari->
indeed this is quite odd: pkgs.linux.stdenv.hostPlatform in nix-repl is armv7 yet pkgs.linux.stdenv.hostPlatform as passed to a constituent module of my image is x86_64
<bgamari->
Sonarpulse, I suppose this is what you were getting at earlier
<bgamari->
Sonarpulse, I've added some traces in my nix module and indeed config.nixpkgs.crossSystem is arm yet pkgs.stdenv.hostPlatform is x86_64
<bgamari->
despite the fact that the hostPlatform is arm in the final expression