<jack[m]1>
"Whenever anybody has asked if I will be writing a book about operating systems, my reply has always been ``Nix.'' " <-- https://cs.stanford.edu/~knuth/mmix.html
byteflame has quit [(Ping timeout: 240 seconds)]
fazbi has joined #nixos
fazbi has quit [(Client Quit)]
reinzelmann has joined #nixos
[0x4A6F]1 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 258 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
FRidh has joined #nixos
<boomshroom>
Hello?
<boomshroom>
I'm trying to wrap gcc7, but I can't seem to access it within a nix expression.
<mbrgm>
clever: I didn't even have to wrap the executable to make it work... group membership was sufficient already
Mercuria1Alchemi has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
fazbi has joined #nixos
Itkovian has joined #nixos
marsel has joined #nixos
AndreasO has joined #nixos
rcschm has joined #nixos
AndreasO_ has joined #nixos
jgertm has quit [(Ping timeout: 258 seconds)]
AndreasO_ has quit [(Client Quit)]
AndreasO has quit [(Ping timeout: 260 seconds)]
rcschm has quit [(Ping timeout: 255 seconds)]
marsel has quit [(Ping timeout: 240 seconds)]
AndreasO has joined #nixos
AndreasO has quit [(Client Quit)]
AndreasO has joined #nixos
freusque has joined #nixos
mudri has joined #nixos
AndreasO has quit [(Quit: Found more important stuff than irc!)]
<NixOS_GitHub>
nixpkgs/master 7badb92 Joachim F: Merge pull request #26404 from ambrop72/kdevelop-511...
NixOS_GitHub has left #nixos []
aminechikhaoui has joined #nixos
aminechikhaoui has quit [(Remote host closed the connection)]
boxofrox has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
AndreasO has joined #nixos
MP2E has quit [(Quit: sleep)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ciil opened pull request #26483: lbreakout2: init at 2.6.5 (master...lbreakout2-pkg) https://git.io/vH1cF
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] michalpalka opened pull request #26484: xen: fix pygrub by making sure it is wrapped (master...xen-python-fix) https://git.io/vH1CB
AndreasO has quit [(Quit: Found more important stuff than irc!)]
oida has quit [(Ping timeout: 255 seconds)]
proteusguy has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
jensens has quit [(Ping timeout: 268 seconds)]
indi_ has joined #nixos
AndreasO has joined #nixos
indi_ has quit [(Ping timeout: 255 seconds)]
orivej has quit [(Ping timeout: 255 seconds)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
AndreasO has quit [(Quit: Found more important stuff than irc!)]
marvin3k has joined #nixos
<marvin3k>
hi guys. maybe someone can give me a tip on realization-time of dependencies. i have a derivation which produces a file, which is read by "builtins.readFile" in a later stage to create more derivations
<marvin3k>
but then the first-stage derivations are not built in parallel, but sequential
<marvin3k>
when i build the "first stage" manually its done in parallel, but when giving it as buildInput of the second stage the execution is done one-by-one again.
<marvin3k>
as the first stage is rather slow this does not scale well...
<marvin3k>
any tip or hint on what i'm doing wrong?
vaibhavsagar has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
roconnor has quit [(Ping timeout: 260 seconds)]
<unlmtd>
strongswan module doesnt seem to offer a way to 'include' other files
<nixy>
romildo: Looks like in that case the build for `nox` was broken. Did you build it from master like gchristensen said? I was able to compile it without issue form nixpkgs-unstable
<romildo>
gchristensen, nixy, yes, I am on a clone of master, where I have changed something I submitted a PR. Someone asked me to run nos-review on the PR. I am not used to doing this. So I think I need some help here.
<romildo>
Then I run `nix-shell -p nox --run "nox-review wip"` on my clone of master. Was I supposed to it differently? If so, how?
FRidh has joined #nixos
<pmeunier>
Hi! I'd like to compile nix derivations into a debian package. Has anyone done that?
<FRidh>
romildo: no, that is fine. However, if your NIX_PATH=nixpkgs=/path/to/repo where repo is at master, then it will fail
pie_ has joined #nixos
<FRidh>
because nox is broken on master
<nixy>
romildo: The issue is that the version of `nox` nix is trying to install is from the master git branch which broken
<nixy>
Installing it through a nix-channel, such as nixpkgs-unstable, should work though
arianvp2 has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm opened pull request #26486: virtualboxGuestAdditions: install mount helper as regular executable (master...vbox-fix) https://git.io/vH1o6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vH1oX
<nixy>
Which is quite a handful tbh. You can also configure your $NIX_PATH to not refer to the master branch, since it seems like that is what happened here
pie_ has quit [(Ping timeout: 260 seconds)]
AndreasO has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vH1K2
<NixOS_GitHub>
nixpkgs/master b1f0af7 Joachim Fasting: linuxPackages.evdi: specify minimum kernel version, per upstream...
<NixOS_GitHub>
nixpkgs/master 39f7530 Joachim Fasting: tinycc: 0.9.27pre-20170527 -> 0.9.27pre-20170605...
thblt has quit [(Remote host closed the connection)]
pmeunier has joined #nixos
iyzsong has joined #nixos
Isorkin has joined #nixos
roconnor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vH167
<NixOS_GitHub>
nixpkgs/master cc9a72a Vladimír Čunát: virtualboxGuestAdditions: don't install setuid/setgid
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 260 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
pie_ has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
simukis has joined #nixos
arianvp2 has joined #nixos
<bachp>
Hi I would like to do nixos-rebuild switch using nixUnstable instead of nixStable. Is there a way to do that?
<gchristensen>
put nix.package = pkgs.nixUnstable in your configuration.nix
<bachp>
gchristensen: But this will do the switch with the nix stable. The problem is that I'm behind a proxy and it seems download-from-binary-cache.pl can't get trough the proxy
<romildo>
FRidh, thanks.
<bachp>
And as this pl script is gone in the newer nix version I hoped it might work
romildo has quit [(Quit: Leaving)]
hiratara has quit [(Ping timeout: 246 seconds)]
<clever>
bachp: do you have ssh to another nix machine that is working?
hiratara has joined #nixos
<gchristensen>
bachp: do you already have nixUnstable?
<bachp>
clever: No not right now
<bachp>
gchristensen: Yes nixUnstable is installed
<clever>
bachp: "_NIXOS_REBUILD_REEXEC=1 nixos-rebuild" will use the nix commands in $PATH, rather then the "correct" nix
<clever>
by default, it uses the nix in the path to build the nix in configuration.nix, then continue onward
<gchristensen>
and do it after doing `sudo su -`
<gchristensen>
and then I think the $NIX_DAEMON var shouldn't say daemon
<gchristensen>
err $NIX_REMOTE
<clever>
gchristensen: sudo -i is usualy better
rcschm has joined #nixos
<gchristensen>
cool! :D
* gchristensen
learns a thing
<LnL>
root doesn't use the daemon
rcschm has quit [(Ping timeout: 240 seconds)]
<bachp>
clever: I'm already in a root shell but it still doesn't work. Still stuck at download-from-binary-cache.pl .
<clever>
bachp: does "type nix-build" show the nixUnstable version?
orivej has joined #nixos
<bachp>
clever: yes it points to the nix-1.12pre.. in the nix store
<clever>
bachp: nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel
<bachp>
clever: This seems to work at least it is fetching something
<bachp>
What I'm trying to achive is to do a make nix work behind a proxy by only setting http_proxy and https_proxy on the current shell
<clever>
bachp: ah, when nix-daemon is in play, the current-shell ceases to be enough
<clever>
you have to set it in the env for the daemon
<bachp>
clever: but to set it in the daemon I need to be able to build it first right?
<bachp>
I have the feeling it's kind of a chicken egg problem
<clever>
yeah, you would need to be able to do a nixos-rebuild to apply things properly
<clever>
but when nix is ran as root, it will bypass the daemon
<clever>
so the current-shell would work, but only for root
<bachp>
So you mean running nixos-rebuild as root should bypass the daemon?
<clever>
yeah
phinxy has joined #nixos
<bachp>
When I try to run nixos-rebuild switch as use it will stil start some download-from-binary-cache.pl that are waiting around, if I look at the env variables of these scripts in /proc there is no http_* entries
peacememories has joined #nixos
<bachp>
So it seems these variables get lost somewhere along the way
<clever>
what about when you use something like nixos-rebuild --fast?
<bachp>
WHen I look at the process tree I see the pl scripts as sub processes of the nix-daemon
<bachp>
-- fast doesn't change this
<clever>
what is the value of $NIX_REMOTE?
<bachp>
not set in the current shell
<bachp>
if I try NIX_REMOTE= nixos-rebuild still no luck
<clever>
what about the result from the previous nix-build?
<bachp>
it was able to fetch but then failed while building the nixos-system-nixos-17.09 derivation
<clever>
what about it failed?
gal_bolle has joined #nixos
<bachp>
permission denied
<clever>
what user was it ran as?
<bachp>
everything as root
<clever>
can yoy gist the entire error?
<bachp>
It's a fresh maschine with no other user than root
<bachp>
clever: I think I found a way. If I do "nixos-rebuild switch --repair" no nix daemon is used and the download seems to work
abcrawf has quit [(Remote host closed the connection)]
abcrawf has joined #nixos
cpennington has quit [(Remote host closed the connection)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Neo-- has joined #nixos
dejanr_ has joined #nixos
<gchristensen>
omg everyone, you can sort issues and PRs by _reactions_! there is a way to sort issues now by "# of people interested"
<Ankhers>
Wouldn't that just be number of people subscribed?
<gchristensen>
"people interested" looks like a literal example, but wasn't intended to be :)
gal_bolle has joined #nixos
<Ankhers>
Serious question. Isn't that sort of like bikeshedding?
byteflame has joined #nixos
<gchristensen>
sorry?
pbogdan_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<Ankhers>
In the case of number of people interested in an issue. That doesn't necessarily convey a useful metric about how useful a modification would be.
<Ankhers>
I'm probably being dumb here.
<gchristensen>
well
pbogdan has joined #nixos
<gchristensen>
I generally agree
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vH1yP
<NixOS_GitHub>
nixpkgs/master cfe23e1 Tim Jäger: buck: build buckd as well...
suvash_away has quit [(Ping timeout: 240 seconds)]
alanz has quit [(Ping timeout: 240 seconds)]
arianvp2 has joined #nixos
arianvp2 has quit [(Client Quit)]
suvash_away has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
rcschm has joined #nixos
eacameron has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
eacameron has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] michalpalka opened pull request #26489: xen: patch for XSAs: 206, 211, 212, 213, 214 and 215 (master...xen-security) https://git.io/vH17D
NixOS_GitHub has left #nixos []
arianvp2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat closed pull request #26486: virtualboxGuestAdditions: install mount helper as regular executable (master...vbox-fix) https://git.io/vH1o6
NixOS_GitHub has left #nixos []
arianvp2 has quit [(Remote host closed the connection)]
arianvp2 has joined #nixos
eacameron has joined #nixos
alanz has joined #nixos
nntxos has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vH15K
<NixOS_GitHub>
nixpkgs/master 97f3009 Vladimír Čunát: pycairo: fix #26475 - a dead patch download
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vH15P
<NixOS_GitHub>
nixpkgs/release-17.03 46a0241 Vladimír Čunát: pycairo: fix #26475 - a dead patch download...
NixOS_GitHub has left #nixos []
tmaekawa has joined #nixos
greglearns has joined #nixos
<viric>
This new "xkb-layouts-exist" is annoying me
Rotaerk has quit [(Quit: Leaving)]
<sphalerite>
sorry :(
greglearns has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vH1dx
<NixOS_GitHub>
nixpkgs/master dd3dcce Michał Pałka: xen: patch for XSAs: 206, 211, 212, 213, 214 and 215...
<NixOS_GitHub>
nixpkgs/master 7d8218a Graham Christensen: Merge pull request #26489 from michalpalka/xen-security...
NixOS_GitHub has left #nixos []
drakonis_ has joined #nixos
pmeunier has quit [(Quit: leaving)]
pmeunier has joined #nixos
drakonis_ has quit [(Remote host closed the connection)]
drakonis_ has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
adamt has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Quit: Leaving)]
<viric>
sphalerite: it misses my "es+eo,ru(winkeys)"
orivej has joined #nixos
dcz has joined #nixos
<gleber_>
Ankhers: the failures you've reported are tough to fix for me without access to OS X
mizu_no_oto has joined #nixos
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
<Ankhers>
I am more than happy to attempt to fix them. I just don't really know where to start unfortunately.
orivej has quit [(Ping timeout: 255 seconds)]
<jophish>
Are there any really nasty ways to prevent nix from building things when the inputs are the same
<jophish>
(The direct inputs, not the whole history)
phinxy has quit [(Quit: Leaving)]
<jophish>
for example, I correct the spelling in a comment in my compiler's source. I'd like to not to have to rebuild everything, as the compiled compiler has the same hash
<domenkozar>
jophish: if inputs are the same, it shouldn't rebuild
<jophish>
mumble mumble intensional store
<domenkozar>
you could use security patching for that
<domenkozar>
the writing of hashes
<domenkozar>
that's the only way to avoid rebuilds afaik
<lassulus>
write this to a file, remove all the pkgs, add bash, run with nix-shell
<earldouglas>
Awesome, thank you!
<earldouglas>
Wow, this feels like cheating.
Neo-- has joined #nixos
WilliButz has joined #nixos
<thblt>
Quick question: as of today, there's no way in NixOS for users to configure their own shell (except chsh of course), it has to be done in configuration.nix?
jensens has quit [(Ping timeout: 255 seconds)]
<thblt>
configure their own shell = choose it, I mean.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] michalpalka opened pull request #26492: xen_4_8: init at 4.8.1 (master...new-xen) https://git.io/vHMGE
NixOS_GitHub has left #nixos []
Tucky has quit [(Remote host closed the connection)]
<lassulus>
well you could start your own shell via .bashrc I would guess
marsel has quit [(Ping timeout: 260 seconds)]
goibhniu has quit [(Ping timeout: 240 seconds)]
svij2 has joined #nixos
<thblt>
lassulus: I meant from a user-available Nix-thing. I'm the only user on my machines and I have root, it just would feel cleaner to have userland configured from userland.
sellout- has joined #nixos
<thblt>
But it's just me being a bit obsessive sometimes, I guess.
civodul has quit [(Remote host closed the connection)]
<gchristensen>
Sonarpulse: LMK in ~4 hours what (exactly) you want me to do with aarch64 and I'll do it straight away :)
<Sonarpulse>
gchristensen: great! thanks!
endformationage has joined #nixos
<gchristensen>
yep! you're welcome, glad to help
byteflame has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
chakerbenhamed has quit [(Ping timeout: 268 seconds)]
arianvp2 has joined #nixos
byteflame has joined #nixos
Vorpal_ is now known as Vorpal
arianvp2 has quit [(Ping timeout: 268 seconds)]
byteflame has quit [(Ping timeout: 260 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
warbo has joined #nixos
<warbo>
Hi, I've tried to make a package for "artemis" ( http://mrzv.org/software/artemis ) but the resulting binary (Python script) can't find the included Python module
<warbo>
I've used pythonPackages.buildPythonPackage, with the name, git checkout as src, and a required Python dependency in propagatedBuildInputs
<warbo>
the build, install, etc. phases look fine (i.e. there's a bunch of setup.py magic happening)
nntxos has quit [(Quit: Page closed)]
<warbo>
the resulting binary is wrapped with a PATH prefix of /nix/store/...python-2.7.13/bin (the Python interpreter), /nix/store/...python2.7-artemis/bin (the package itself), the dependency's bin, setuptools, etc.
<warbo>
but there's no mention of PYTHONPATH in the wrapper script
<warbo>
when executed, I get 'ImportError: No module named artemis'
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vHM8X
<NixOS_GitHub>
nixpkgs/master b615c2e Michael Weiss: android-studio: 2.3.2.0 -> 2.3.3.0
NixOS_GitHub has left #nixos []
<jophish>
warbo: I can't help you, but stick around!
<jophish>
(Far too many people ask a question, get no response in 10 minutes and leave)
danharaj has quit [(Ping timeout: 246 seconds)]
<warbo>
there is a funky import line, which seems to be Nix-generated, which site.addsitedir and the package's lib/site-packages directory, so I would assume that'd work
<jophish>
also, welcome!
<warbo>
jophish: heh, thanks; I know the drill (many years of helping out on freenode :) )
<jophish>
great :)
bigvalen has joined #nixos
zeus_ has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
<LnL>
have you tried python.withPackages?
<warbo>
nope, not seen that before. Thanks, I'll take a look :)
<warbo>
I assume it's similar to Haskell's ghcWithPackages?
siddharthist has joined #nixos
<LnL>
yep, but I would expect buildPythonPackage to fix the package entrypoints
<warbo>
TBH buildPythonPackages seemed a little bit too magical :P
<warbo>
I threw the git checkout into it, and watched it fail with a missing dep
<warbo>
threw the dep into it and... it seemed to work!
<warbo>
I was really expecting more pain than that
<warbo>
although I didn't actually try the results until today, and hit this runtime error :P
<LnL>
some python packages are a pain, but but if it doesn't do anything weird that should be all you need
<warbo>
I suppose that's the dynamic language stereotype :)
digitus has joined #nixos
<warbo>
hmm, no joy
<warbo>
there's a new wrapper script, which sets PYTHONHOME, but I still get 'ImportError: No module named artemis'
<warbo>
the repo seems reasonably active, so I'll notify the author
<warbo>
many thanks
<LnL>
I suspect running ./setup.py sdist would result in a similarly broken package
Moredread has joined #nixos
<warbo>
I've also learned about substituteInPlace, which may be nicer than my sed hacks :P
danharaj has joined #nixos
<LnL>
it's similar to sed, but doesn't use a regex so it's a lot more readable in most cases
leat has quit [(Ping timeout: 246 seconds)]
jgertm has joined #nixos
jgedarovich has joined #nixos
Neo-- has quit [(Remote host closed the connection)]
bennofs1 has quit [(Ping timeout: 246 seconds)]
jgertm has quit [(Ping timeout: 255 seconds)]
Neo-- has joined #nixos
ryanartecona has joined #nixos
drakonis_ has quit [(Quit: Leaving)]
<bones>
New Nix user here. When I try to build and install tmux, nix-env says the r:sha256 hash wasn't the expected value.
<bones>
I can install other stuff, so I don't think my installation is broken
jluttine has quit [(Ping timeout: 246 seconds)]
<bones>
Could the channel be out of date?
<simpson>
bones: Hmmm. It could mean that something changed in the tmux tarball. Suspicious! But it could also just mean that the derivation's out of date and picking up a not-found page or something like that. You could try updating your channels with $(nix-channel --update) and then trying again.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 2 new commits to master: https://git.io/vHMgV
<NixOS_GitHub>
nixpkgs/master 7a0e958 Bjørn Forsman: nixos/acme: support "full.pem" (for lighttpd)...
<bones>
simpson: I'm getting the same error after updating the channels. It's complaining that https://github.com/tmux/tmux/archive/2.5.tar.gz doesn't match, but there's a source tarball at that URL
reinzelmann has joined #nixos
agjacome has joined #nixos
<LnL>
indeed, I get the same with nix-build -A tmux.src --check
<simpson>
Yikes. I'm trying to reproduce too. The tag surely hasn't changed upstream, right!?
Baughn has quit [(Quit: ZNC 1.6.2+deb1 - http://znc.in)]
jgedarovich has quit [(Quit: WeeChat 1.7.1)]
Baughn has joined #nixos
<simpson>
Confirmed: output path ‘/nix/store/p6l3dkjjvjyhcnq677ps47g9q5ag5rpn-tmux-2.5-src’ has r:sha256 hash ‘0zwjngfaqrlwwbzicc5pq5pyws8f1qghcajvj0hwkipj51hqyswf’ when ‘0h0c6rwp4bjifqx9wpx7y0bmayvrvvgh9211rdk4nsf81j17n6vx’ was expected
<clever>
pbogdan: you dont have -A, so its show names, not attribute paths
<clever>
wait no, thats not how the attr search works
<clever>
pbogdan: part of the confusion, comes from the attribute path being utillinux, but the name is util-linux
<pbogdan>
as I understand it -P would print attribute paths
justanotheruser has quit [(Ping timeout: 240 seconds)]
ajp_ has quit [(Remote host closed the connection)]
<pbogdan>
and grepping for util-linux gives me nixpkgs.eject and nixpkgs.libuuid attrs with util-linux / util-linux-minimal as the name, but not utillinux
<clever>
i find nix-repl to just be better at viewing these things
ajp has joined #nixos
<clever>
11670 eject = utillinux;
<clever>
pbogdan: ah, eject is an alias for utillinux
<clever>
and nix-env is trying to remove duplicates, and it removed the original instead
<clever>
and libuuid still shows, because its an alias of utillinuxMinimal
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHM7T
<NixOS_GitHub>
nixpkgs/master d12497a Vladimír Čunát: pycairo: fix #26475 - another dead patch download
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vHM7I
<NixOS_GitHub>
nixpkgs/release-17.03 458c44a Vladimír Čunát: pycairo: fix #26475 - another dead patch download...
<Sonarpulse>
but secondarily compiling some hello world
<Sonarpulse>
should ensure that libgcc and friends are also compiled properly
<drakonis>
this seems particularly useful for me
<LnL>
drakonis: to me it sounds like you probably have an invalid config.nix
<drakonis>
my config.nix is composed of only two lines, allownonfree and allowbroken
<drakonis>
i'm pretty sure it isn't invalid
<drakonis>
and i'm using nix-shell
<Sonarpulse>
gchristensen: I'm perversely hoping it is broken
<Sonarpulse>
so I can be lazier on fixing my PR :P
<Dezgeg>
it worked at least on Apr 14
<Sonarpulse>
my cross cleanup played well with all the other packages
<Sonarpulse>
and the partial build log of gcc seems if any thing more correct
<gchristensen>
Sonarpulse: so I ran nix-store -r /nix/store/lwg73g7mxsbpv1nr2xhaam61b42rl596-stdenv-bootstrap-tools-cross-aarch64-unknown-linux-gnu, then:
<gchristensen>
-bash: /nix/store/lwg73g7mxsbpv1nr2xhaam61b42rl596-stdenv-bootstrap-tools-cross-aarch64-unknown-linux-gnu/pack/bin/gcc: No such file or directory
<gchristensen>
/nix/store/lwg73g7mxsbpv1nr2xhaam61b42rl596-stdenv-bootstrap-tools-cross-aarch64-unknown-linux-gnu/pack/bin/gcc: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.25-aarch64-unknown-linux-gnu-aarch64-unknown-linux-gnu/lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, stripped
<Dezgeg>
it needs patchelf'ing or LD_LIBRARY_PATH
<Dezgeg>
easiest is just to point pkgs/stdenv/linux/bootstrap-files to to the new tarball and build anything
<drakonis>
hmm advice here?
<drakonis>
how do i purge the uncompiled derivations
<gchristensen>
drakonis: can you pastebin exactly what your config.nixcontains and exactly what you're running and experiencing?
<Sonarpulse>
Dezgeg: thank you for being here at the oppertune moment :)
Khetzal has quit [(Remote host closed the connection)]
<gchristensen>
Dezgeg: is there a trick to making /nix/store/lwg73g7mxsbpv1nr2xhaam61b42rl596-stdenv-bootstrap-tools-cross-aarch64-unknown-linux-gnu a tarball, or just tar -cf ?
Khetzal has joined #nixos
<Dezgeg>
isn't it inside there?
<drakonis>
man my config.nix contains just two lines
<gchristensen>
(obviously I don't mean just _a_ tarball, but a compatible tarball)
<drakonis>
allowunfree and allowbroken
<drakonis>
both set to true
<Dezgeg>
it is /nix/store/lwg73g7mxsbpv1nr2xhaam61b42rl596-stdenv-bootstrap-tools-cross-aarch64-unknown-linux-gnu/on-server/bootstrap-tools.tar.xz
<gchristensen>
then it should be easy to paste :)
<gchristensen>
ahhh cool dezgeg
<disasm>
drakonis: what's your nix channel? and can you pastebin a sample default.nix that nix-shell is failing with?
<LnL>
do you have a nixpkgs overlay?
<drakonis>
NO
<drakonis>
no
<drakonis>
i did nix-collect-garbage -d and its purging up everything
<drakonis>
woops except its still complaining
<ij>
What does an "inherit" do in the first part of a "let"?
<drakonis>
channel's unstable and i have no default.nix
<gchristensen>
do you have a shell.nix?
<drakonis>
no
<gchristensen>
ok, so that bringss me back to my original question:
<gchristensen>
drakonis: can you pastebin exactly what your config.nixcontains and exactly what you're running and experiencing?
<disasm>
drakonis: what command are you running then?
<drakonis>
i already have told you everything it has
<LnL>
ij: inherit (foo) bar; is the same as bar = foo.bar;
<drakonis>
twice
<gchristensen>
yeah but not the second half, and not exactly what is in your config
svij3 has joined #nixos
<drakonis>
the second half?
<drakonis>
what second half?
<gchristensen>
exactly what you're running
<drakonis>
nix-shell '<nixpkgs>' nix.unstable
<drakonis>
it doesn't even complain about invalid packages
<LnL>
nix-shell '<nixpkgs>' -A nixUnstable
<gchristensen>
there we go, you need a `-p` or a `-A`
<drakonis>
it complains about typesafe activator being EOL
spinus has quit [(Read error: Connection reset by peer)]
<LnL>
you're starting a shell with *every* package in nixpkgs
<disasm>
so you're trying to build all of nixpkgs drakonis?
<drakonis>
no
<drakonis>
lol
<drakonis>
at this rate its best to write a book or something ;v
<drakonis>
nixunstable doesn't have the new interface, right?
svij2 has quit [(Ping timeout: 260 seconds)]
<gchristensen>
it does
<drakonis>
how strange
<LnL>
nix-shell and nix-build take multiple paths, nix-shell ./foo.nix ./bar.nix
<LnL>
but you never got to the second part
<gchristensen>
Sonarpulse: it _seems_ to work?
<gchristensen>
but I have not fully compiled hello yet
<Sonarpulse>
drat I need to fix my stuff now :D
spinus has joined #nixos
<drakonis>
its not showing up anywhere
<drakonis>
no nix command
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHMxs
<apeyroux>
i want to write in /etc with "buildFHSUserEnv" but /etc chroot is ro. There is a way to put chroot / etc in rw? extraBuildCommands ? extraBuildCommands
<qknight>
peti: i fixed it just now and would like to merge
danharaj has quit [(Ping timeout: 258 seconds)]
Sonarpulse has quit [(Ping timeout: 240 seconds)]
byteflame has quit [(Ping timeout: 240 seconds)]
<gchristensen>
qknight: I'd like to clearly protest against deleting the /etc/spamassasin dir
asymmetric has quit [(Ping timeout: 260 seconds)]
goodwill has quit [(Ping timeout: 260 seconds)]
asymmetric has joined #nixos
goodwill has joined #nixos
Nobabs27 has joined #nixos
<qknight>
gchristensen: hehe, that's why i wanted a review. should i move it or fail if it is there?
<gchristensen>
does S.A. do the wrong thing if it exists?
<qknight>
gchristensen: yes
<qknight>
gchristensen: if you run sa-learn without the proper --siteconfigpath it will create stuff in /etc/spamassassin as root and so on
<qknight>
gchristensen: it might also 'just' parse configs from there and we want to be pure on nixos
<gchristensen>
I see
<gchristensen>
I'd rather it fail to start than erase it
<gchristensen>
erasing it seems very bad
<qknight>
gchristensen: on the other hand i've patched spamassassin to use /homeless/shelter instead of /etc/spamassassin so i'm not entirely sure what happens if files are in there
<gchristensen>
but also, is it likely the dir will be created via normal operation?
<gchristensen>
hmm... can you find out what it'll do?
<qknight>
gchristensen: i'm also for 'failing' instead of erasing. good that you mention this again
mudri has joined #nixos
amir has quit [(Remote host closed the connection)]
Acou_Bass has quit [(Excess Flood)]
<qknight>
gchristensen: if you run sa-update without arguments on nixos with this modification it will just fail
Acou_Bass has joined #nixos
<gchristensen>
cool
<qknight>
maybe an 'error' message that it has to be used with an arugmento n nixos would be a good thing
jsgrant_ has joined #nixos
<qknight>
gchristensen: tbh, i don't see any reason to run it manually anyways
<qknight>
gchristensen: since you have to run it as spamd user with the respective config which is not global anyways
<gchristensen>
yeah, good to protect against accidents / provide help if someone is having trouble
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
amir has joined #nixos
arianvp2_ has joined #nixos
safenet has joined #nixos
arianvp2_ has quit [(Client Quit)]
arianvp2 has quit [(Ping timeout: 255 seconds)]
tmaekawa has quit [(Remote host closed the connection)]
tmaekawa has joined #nixos
safenet is now known as 14WAA7V7D
thc202 has quit [(Read error: Connection reset by peer)]