jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 268 seconds]
jtojnar_ is now known as jtojnar
<shlevy> "clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]" getting spammed on haskell builds, anyone know what it might be?
<shlevy> I mean, obviously it's -nopie getting passed :P
<gchristensen> clearly clang is unhappy to not have pie
philr_ has joined #nix-darwin
jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 248 seconds]
philr has quit [Ping timeout: 248 seconds]
jtojnar_ is now known as jtojnar
<johnw> shlevy: yeah, I've been seeing that a lot too
sellout- has quit [Ping timeout: 260 seconds]
sellout- has joined #nix-darwin
<johnw> are Nix let bindings recursive?
<johnw> seems so
jtojnar has quit [Read error: Connection reset by peer]
<johnw> shlevy: more improvements to the evaluator
<johnw> it's actually starting to look halfway decent
zzamboni has joined #nix-darwin
<johnw> seems Nix won't build on darwin tonight, libseccomp fails to compile
<johnw> will try again in a few days
elasticdog has quit [Ping timeout: 264 seconds]
elasticdog has joined #nix-darwin
<LnL> libseccomp shouldn't be an input on darwin
sellout- has quit [Ping timeout: 240 seconds]
sellout- has joined #nix-darwin
__Sander__ has joined #nix-darwin
periklis has joined #nix-darwin
jtojnar has joined #nix-darwin
philr_ has quit [Quit: WeeChat 2.0.1]
periklis has quit [Ping timeout: 252 seconds]
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
zzamboni has quit [Ping timeout: 240 seconds]
zzamboni has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
jtojnar_ has joined #nix-darwin
jtojnar_ has quit [Remote host closed the connection]
jtojnar has quit [Ping timeout: 268 seconds]
peacememories has joined #nix-darwin
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nix-darwin
zzamboni has quit [Client Quit]
zzamboni has joined #nix-darwin
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zzamboni has quit [Quit: Leaving.]
Sonarpulse has joined #nix-darwin
ryanartecona has joined #nix-darwin
philr has joined #nix-darwin
jtojnar has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
peacememories has joined #nix-darwin
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryanartecona has joined #nix-darwin
<gchristensen> it was MUCH easier to get darwin users to test my installer than to find Nix+Linux users :P
ryanartecona has quit [Quit: ryanartecona]
__Sander__ has quit [Quit: Konversation terminated!]
ryanartecona has joined #nix-darwin
<LnL> heh
<LnL> there's an obvious reason for that
<gchristensen> yeah
<LnL> you have to find people that joined #nixos less than 2 days ago, otherwise they don't care about a "linux" installer ;)
<gchristensen> :D
<LnL> there's an iso for that
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nix-darwin
fsestini has joined #nix-darwin
<fsestini> hi there. I am trying to install nix on high sierra. I have successfully completed the installation script, but there are no nix-* executables in path
<fsestini> .bash_profile is unaltered so resourcing it clearly has no effect
<fsestini> do you have any idea what I could be missing?
<LnL> did you start a new shell?
<fsestini> yes
<LnL> hmm, and you don't use a different shell like zsh/fish?
<fsestini> nope, i’m on the bash 3.2.57 that comes already installed
<gchristensen> LnL: I tested the installer on macos and found a bug or two
<gchristensen> but also it didn't work at all b/c the installer was built for linux :')
<LnL> that's not live yet right?
<gchristensen> it isn't
<cransom> i just did a nix-2 install today and didn't have any issues
<LnL> kk
<cransom> other than repeated warnings about unknown setting 'signed-binary-caches'
<LnL> fsestini: what do you get with grep /nix /etc/bashrc
<LnL> cransom: vanilla install or nix-darwin?
<cransom> under nix-darwin
<fsestini> LnL: if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
<fsestini> . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
<fsestini> er
<fsestini> sorry for the \n mess
<LnL> fsestini: that looks good, does the nix-daemon.sh exist?
<cransom> hrm. I had daemon enabled but not nix.package pinned. was it referring to 1.11 yet?
<LnL> the default is /nix/var/nix/profiles/default, so the version checking doesn't work
<LnL> I'm just going to bump state version and switch the default...
<fsestini> LnL: it exists in /nix/var/nix/profiles/default/etc/profile.d/, but not in ~
<fsestini> at least not in any ~/.nix- that i happened to look into
<fsestini> I have .nix-defexpr/ .nix-profile/ in home
<LnL> what about echo $NIX_PATH
<fsestini> LnL: http://ix.io/14bF
<LnL> ah!
<LnL> something in your user config is overwriting PATH then
<fsestini> LnL: that’s it! the first export PATH in .bash_profile wasn’t appending
<fsestini> thanks!
<LnL> cransom: update and read the changelog :)
jtojnar has quit [Quit: jtojnar]
ryanartecona has quit [Quit: ryanartecona]
acowley has joined #nix-darwin
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
<johnw> LnL: with the very latest nix-darwin, I'm getting: error: The unique option `nix.package' is defined multiple times, in `/Users/johnw/src/nix/darwin/modules/nix' and `/Users/johnw/src/nix/config/darwin.nix'.
<johnw> this happens because I set nix.package = nixUnstable;
<LnL> huh, I also have that
<johnw> is this because of 22e832628f6f865fe6fca011f6ce377b27f9063b?
<LnL> oh hold on
<LnL> should be fixed
<johnw> thans!
<johnw> LnL: does Nix itself build for you?
<johnw> I get api.c:22:10: fatal error: 'endian.h' file not found from libseccomp
<johnw> oh, you're not on nixpkgs-unstable
<LnL> my hydra is still catching up
<johnw> ok, i'll just bisect
<LnL> but libseccomp shouldn't be there on darwin
<johnw> oh, interesting
philr has quit [Ping timeout: 268 seconds]
<johnw> lib.meta.enableIfAvailable libseccomp
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
<LnL> so... what's the cannot satisfy -package-id thing?
<LnL> kind of makes me thing of the nondeterministic build thing from a while back
<johnw> hmm
<johnw> i haven't see this yet
<LnL> those where dark days, you had to disable substitutes and build everything on the same machine
<johnw> nice
<LnL> !m shlevy
<johnw> what is !m?
<shlevy> There is a bot, or at least used to be one, that told people they were doing a good job at the !m command :D
<LnL> but it's not in here
<shlevy> Ah
<shlevy> re libseccomp
<shlevy> That's my fault
<shlevy> see the ml
<shlevy> Need to turn off allowBroken as a workaround for now, if at all possible
<johnw> i already do that
<johnw> since ages ago
<shlevy> turn *off*
<johnw> oh
<shlevy> I'll try to get a real fix this weekend... If you need it fixed before then please feel free to revert, just ping me
<LnL> I saw something about meta.enableIfAvailable, is that in nixpkgs or just the nix repo?
<shlevy> nixpkgs
<shlevy> buildInputs = lib.meta.enableIfAvailable libseccomp
<shlevy> Is *meant* to put libseccomp in buildInputs if linux, otherwise empty list
<shlevy> But with allowBroken, "available" is always true :D
<LnL> I didn't notice anything
<shlevy> Have you rebuilt Nix?
<shlevy> currently enableIfAvailable is only used in the expressions for nix and systemd
<LnL> not from the nix repo itself, but nix-darwin evaluates it with every rebuild
<shlevy> Interesting...
<shlevy> Oh, evaluate is fine
<shlevy> Because you have allowBroken :D
<LnL> nix repl '<darwin>'
<LnL> pkgs.config # => { allowUnfree = true; }
<shlevy> Ah
<shlevy> if you don't have allowBroken at all then it's *also* fine
<shlevy> Because meta.available will be false for libseccomp and so you won't see it
<LnL> yes, but then johnw must have allowBroken = true somewhere
<johnw> he does
<johnw> for other things
<LnL> ah, thought you said you didn't :)
<LnL> anyway, don't think you have to revert it but people on darwin often have allowBroken so depending on that isn't a good assumption
<shlevy> Yeah, wasn't an assumption, was an omission :D
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nix-darwin
<johnw> shlevy: hnix does laziness now :)
ryanartecona has quit [Quit: ryanartecona]