<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
<dtz> o_O
<dtz> @.@
<gchristensen> https://github.com/NixOS/nixpkgs/pull/12413 was the first PR opened after I opened the IRC channel
<gchristensen> oh ... that includes issues ...
<fpletz> hehe
<fpletz> oh, what, my first PR was already in 2014 https://github.com/NixOS/nixpkgs/pull/4193
<fpletz> feels more like only two years \o/
jtojnar_ has joined #nixos-dev
<gchristensen> ok, 16,100 PRs in 2 years :)
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
mbrgm has quit [Ping timeout: 255 seconds]
mbrgm has joined #nixos-dev
<gchristensen> fpletz: first PR is to the module system? I'm impressed, that spooked me for a good 6mo before I tried changing any modulee
* shlevy grumbles about the kids on his lawn
<shlevy> Back in my day "pull requests" were svn patches to the mailing list. And we liked it!
<shlevy> (we didn't like it)
<gchristensen> I hear there was a time y'all used ... Jira...
<fpletz> gchristensen: took me one week full time to grok everything first… that PR didn't came from nothing %)
<gchristensen> :D
<gchristensen> samueldr, adding sick features to the log viewer: https://screenshotscdn.firefoxusercontent.com/images/1f1060e1-e74b-40c7-962e-2b1b28fc91c7.png
<samueldr> gchristensen added sick data to the attempt IDs
<gchristensen> to production you go ...
<samueldr> wait!
<samueldr> :) pushed one more bit of data, in case you ever add more to metadata, it's now all stringified as title to the line
<dtz> feature request: ofborg log viewer being mobile-friendly
<dtz> and by friendly i mean usable
<dtz> lol
<dtz> and I'm not being dramatic, I mean AFAICT I can't actually click on anything no matter how hard I try
<dtz> it's possible I'm silly but if it's just a minor thing it'd be great
<gchristensen> hrm. os? works for me
<samueldr> dtz: should be able to zoom
<dtz> I can't! lol
<dtz> you'd think so
<dtz> lol
<samueldr> hmmm
<dtz> well maybe it's changed since I last tried
<samueldr> dtz: iOS or Android?
<dtz> sorry
<dtz> android
<dtz> Looks like it!
<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?
FRidh has quit [Ping timeout: 260 seconds]
goibhniu has joined #nixos-dev
<domenkozar> hmm, putting 2.0 in to https://nixos.org/nix/install is a bit premature
<domenkozar> I think we should first let nixpkgs master users suffer a bit :P
<Mic92> makes sense
goibhniu has quit [Quit: Leaving.]
<shlevy> domenkozar: No announcement email either :o
goibhniu has joined #nixos-dev
<makefu> i saw the same today, thought it is a bit weird
<makefu> actually i've opened an issue for nix install process today
<fpletz> Mic92: +1
jtojnar has quit [Ping timeout: 255 seconds]
<LnL> shlevy: just happened :)
<shlevy> niksnut: The exportReferencesGraph docs are out of date now, right?
<shlevy> Ah, no, it's just __structuredAttrs
FRidh has joined #nixos-dev
pie_ has joined #nixos-dev
<niksnut> yeah
ckauhaus has joined #nixos-dev
ckauhaus has quit [Client Quit]
ckauhaus has joined #nixos-dev
Lisanna has quit [Quit: Lisanna]
<shlevy> niksnut: Would you mind an addition to closureInfo to have the full closure size in $out/size or whatever?
<shlevy> niksnut: Helps make a qemu image of the right size :)
FRidh has quit [Remote host closed the connection]
<shlevy> gchristensen: Holy crap __structuredAttrs and .attrs.sh should go into your blog post :)
<shlevy> niksnut: stdenv should source .attrs.sh if it exists right?
<shlevy> I'll push that into staging...
<niksnut> shlevy: well, stdenv probably requires extensive changes to support structured attrs
<shlevy> Hmm, why?
<shlevy> I'll hold off on the change for now
<niksnut> because it currently expects that variables like buildInputs are strings
<niksnut> rather than arrays
<shlevy> Aaah gotcha
jtojnar has joined #nixos-dev
ckauhaus_ has joined #nixos-dev
ckauhaus has quit [Read error: Connection reset by peer]
FRidh has joined #nixos-dev
FRidh has quit [Remote host closed the connection]
aminechikhaoui has quit [Ping timeout: 268 seconds]
ckauhaus_ has quit [Remote host closed the connection]
aminechikhaoui has joined #nixos-dev
FRidh has joined #nixos-dev
<gchristensen> shlevy: what is that?
<shlevy> gchristensen: search structuredAttrs in nix manual and see that bullet
<gchristensen> shlevy: OMG
<shlevy> arrays
<shlevy> actual. arrays.
<domenkozar> isn't that just a superseeding solution for passAsFile?
<domenkozar> for the whole input to the builder?
<domenkozar> ah no, it also allows nesting?
* domenkozar started with gsoc for gentoo
<domenkozar> ugh, it's been 8 years
<domenkozar> gchristensen: we can point it as source why we should be in gsoc :)
<gchristensen> :D
ckauhaus has joined #nixos-dev
<yorick> https://bugreports.qt.io/browse/QTBUG-64490 should we build qt with --no-feature-statx?
<yorick> should be fixed with systemd 237
<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. */
<niksnut> src/libstore/gc.cc: //if (options.action == GCOptions::gcDeleteDead) vacuumDB();
<niksnut> see 8299aaf07988a3ca7ecda3526b7e25a885550db5
ckauhaus has joined #nixos-dev
jtojnar_ has joined #nixos-dev
jtojnar has quit [Ping timeout: 248 seconds]
jtojnar_ is now known as jtojnar
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos-dev
MichaelRaskin has joined #nixos-dev
<gchristensen> MANPATH has been a topic of conversation for some time, I see :) https://github.com/NixOS/nix/commit/383297e0e835b69e0f4d7c97a9b8d441c2872251
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos-dev
taktoa has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev
__Sander__ has quit [Quit: Konversation terminated!]
ckauhaus has quit [Remote host closed the connection]
<shlevy> nix-repl> let foo = x: { bar = true; }; in foo 1.bar
<shlevy> error: undefined variable 'bar' at (string):1:40
<shlevy>
<shlevy> nix-repl> let foo = x: { bar = true; }; in foo {}.bar
<shlevy> { bar = true; }
<shlevy> Both of those seem wrong :D
<shlevy> Oh, never mind
<shlevy> Misread something
<LnL> heh lazyness
<shlevy> Yeah
<shlevy> But I thought I was reading code where " " bound tighter than . :D
<LnL> since it doesn't fail immediately that's kind of what it looks like
simpson has quit [Ping timeout: 265 seconds]
MichaelRaskin has quit [Ping timeout: 248 seconds]
ckauhaus has joined #nixos-dev
ckauhaus has quit [Remote host closed the connection]
pauldub_ has joined #nixos-dev
ghuntley_ has joined #nixos-dev
taktoa has quit [Remote host closed the connection]
linus1 has joined #nixos-dev
LangeO_ortjes has joined #nixos-dev
peterhoeg has quit [*.net *.split]
primeos[m] has quit [*.net *.split]
florianjacob has quit [*.net *.split]
ghuntley has quit [*.net *.split]
LangeOortjes has quit [*.net *.split]
pauldub has quit [*.net *.split]
sphalerite_ has quit [*.net *.split]
pauldub_ is now known as pauldub
ghuntley_ is now known as ghuntley
lfam has joined #nixos-dev
kgz has quit [Ping timeout: 256 seconds]
florianjacob has joined #nixos-dev
peterhoeg has joined #nixos-dev
primeos[m] has joined #nixos-dev
kgz has joined #nixos-dev
ckauhaus has joined #nixos-dev
ckauhaus has quit [Ping timeout: 248 seconds]
ckauhaus has joined #nixos-dev
<copumpkin> what's the recommended upgrade procedure to 2.0 on macOS multi-user?
ckauhaus has quit [Ping timeout: 256 seconds]
<LnL> sudo su -; nix-env -u
linus1 is now known as sphalerite_
<clever> LnL: or just sudo -i
<clever> LnL: there is never a good reason to mix sudo and su, they both do the same thing
<LnL> I don't really like sudo on osx because of the weird sudoers file
<clever> LnL: -i still sets the right $HOME
<clever> LnL: its dumb stuff like `sudo bash` that messes up
<LnL> yeah I know
pie_ has joined #nixos-dev
<Sonarpulse> copumpkin LnL: it hasn't hit the cache though, has it?
<copumpkin> is it really -u though if it's not different on master?
<LnL> not sure what you mean
<clever> copumpkin: you might need a nix-env -iA nixpkgs.nixUnstable
<clever> i'm not sure if the nix attribute has changed or not yet
<LnL> oh, yeah I guess it depends if it still has lower priority
<Sonarpulse> hmm gotcha
<clever> oh yeah, and the -u logic is kind of fuzzy
<clever> it takes the name of the derivation, then searches all of nixpkgs for a similar name
<clever> latest trick ive had to fix that, define an attrset with a package override
<clever> { packageOverrides = pkgs: { mystuff = with pkgs; { inherit nixUnstable; }; }; }
<clever> then nix-env -iA nixpkgs.mystuff
<clever> if you point -i to a set, it will atomicly install (or upgrade) every package in that set
<clever> the advantage over buildEnv based tricks, is that each package is still seperate, and can be add/remove/updated seperately
<LnL> yep
<clever> ah, thats in an overlay, so you can now merge several, nice
<LnL> yeah, I fixed that since other people started to link it
<clever> one anoying problem ive been having lately, the master process of chrome is consumg 90% cpu, 24/7
pie__ has joined #nixos-dev
pie_ has quit [Remote host closed the connection]
MichaelRaskin has joined #nixos-dev
ckauhaus has joined #nixos-dev
<LnL> does anybody see something weird with this merge? 672bb6b4abd27d9b2796152522b54f5b82c9f76b
ckauhaus has quit [Ping timeout: 240 seconds]
<dtz> not readily, but didn't look too closely. What sort of wrong?
<bgamari-> Sonarpulse, can you think of anything that you've changed in the last month or two that could have broken nixos cross compilation?
<Sonarpulse> bgamari-: I haven't been doing too many across the board refactors lately, I think
<Sonarpulse> what's the problem?
<bgamari-> My tree after rebasing seems to build for the host instead of my target
<bgamari-> hmm
<Sonarpulse> build instead of host? :D
<bgamari-> ahem, yes
<Sonarpulse> maybe need to change more ${stdenv.shell} ?
<LnL> dtz: tmux broke, I was expecting it to end up on the systemd commit but instead I got that merge
<bgamari-> Sonarpulse, no idea
<bgamari-> I'm honestly not sure how it worked to begin with
<bgamari-> my nixos configuration appears to set the nixos.crossSystem option
<bgamari-> nixpkgs.crossSystem, rather
<bgamari-> which is defined by a patch in my branch
<Sonarpulse> bgamari-: heheh I guess that would work but sneaky
<bgamari-> but mysteriously has no use-sites
<bgamari-> ahh
<Sonarpulse> how does { pkgs, ...} ... get subsituted in modules?
<bgamari-> ahh, I see, yes, it's used by impure.nix
<bgamari-> Sonarpulse, isn't this done by lib.evalModules?
<Sonarpulse> bgamari-: perhaps yeah
<Sonarpulse> I don't actually know off hand
<bgamari-> Sonarpulse, is the value of crossSystem available in nixpkgs anywhere?
<Sonarpulse> bgamari-: nope it gets turned into {build,host,target}Platform
<Sonarpulse> different ways depending on the stage
<clever> Sonarpulse: oh, ive been meaning to ask you about some of the cross-compile changes lately, let me gist what i have
<Sonarpulse> clever: haha go ahead!
<Sonarpulse> clever is supposed to know everything, so any gaps in your knowledge must be quickly filled in!
<Sonarpulse> :)
<bgamari-> hmm, and these are set correctly
<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
<Sonarpulse> besides just download it?
<clever> Sonarpulse: you can just `git clone https://gist.github.com/cleverca22/f9ea076ccfa101fe90c18133029f83f4`
<Sonarpulse> ok
<Sonarpulse> I'll go command line
<Sonarpulse> :D
<clever> git pull also works from gists
<Sonarpulse> let me just do a qucik dirty and untested cleanup
<Sonarpulse> if only i could push too :D
<clever> ive yet to find an ssh based way to push
<clever> but there is the gist CLI tool, which works via auth tokens
<clever> Sonarpulse: pkgs.buildPackages.virtualbox still triggers an assertion
<clever> i think its trying to cross-compile vbox
<clever> nativeBuildInputs = [ pkgs.buildPackages.virtualbox ];
<Sonarpulse> clever: it shouldn't
<Sonarpulse> it should also be targetPlatform agnostic
<Sonarpulse> I'll seee in a moment
<Sonarpulse> clever: why were you using 'hostpkgs.gnu-efi'
<Sonarpulse> ?
<Sonarpulse> is it just weird?
<clever> Sonarpulse: it was trying to cross-compile pciutils and which, causing build failures
<clever> but the "linux" build of it already had the right headers
<Sonarpulse> clever: need to make those nativeBuildInputs then
<Sonarpulse> mtools parted and virtualbox
<clever> i started patching it in nixpkgs, but gnu-efi then failed to build
<Sonarpulse> which should those be?
<clever> 11 nativeBuildInputs = with pkgs; [ pkgs.buildPackages.virtualbox mtools parted ];
<clever> all are ran at build-time
<Sonarpulse> mmm
<Sonarpulse> ok
<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
jtojnar has quit [Quit: jtojnar]
angerman has joined #nixos-dev
ckauhaus has joined #nixos-dev
jtojnar has joined #nixos-dev
ckauhaus has quit [Ping timeout: 240 seconds]
garbas has joined #nixos-dev