<stephank>
I'm trying to build Nix itself on Darwin, essentially from git clone and with nix-shell doing `./bootstrap.sh && ./configure && make`, but get weird errors like 'no string_view in std'. Am I missing something? (Can't find anything else in the manual.)
<stephank>
`which clang` does point to a Nix clang (7.1.0), and it is passing in `-std=c++17`, and it does look to be using the correct libc++ headers. Not sure what's going on.
<stephank>
Just tried `nix build --rebuild`, and that builds, at least (Though I get a different hash. But just realized my workdir wasn't clean.)
elvishjerricco has quit [Ping timeout: 272 seconds]
<stephank>
I guess clean workdir didn't matter. Still get different hashes. But probably a different issue, I was hoping to see if I could actually hack on Nix in the first place. :)
elvishjerricco has joined #nix-darwin
carter has quit [Ping timeout: 272 seconds]
ehamberg has quit [Ping timeout: 272 seconds]
pasukon has quit [Ping timeout: 272 seconds]
ehamberg has joined #nix-darwin
pasukon has joined #nix-darwin
carter has joined #nix-darwin
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Ping timeout: 244 seconds]
Chiliparrot has joined #nix-darwin
abbe has quit [Quit: “Everytime that we are together, it's always estatically palpitating!”]
Chiliparrot has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Read error: Connection reset by peer]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Ping timeout: 244 seconds]
eraserhd has quit [Quit: WeeChat 2.9]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nix-darwin
Chiliparrot has quit [Ping timeout: 260 seconds]
f47h3r has quit [Ping timeout: 260 seconds]
TheNumb has quit [Ping timeout: 260 seconds]
manveru has quit [Ping timeout: 260 seconds]
TheNumb has joined #nix-darwin
manveru has joined #nix-darwin
f47h3r has joined #nix-darwin
Chiliparrot has joined #nix-darwin
<abathur>
I haven't looked at building it before (I guess it's known to be, generally, buildable on darwin?) but I think master is moving fairly fast lately because of the flakes/CA/pre-3.0 work, so it may just be genuinely broken? Might be worth seeing if you can build at 2.3.7.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<LnL>
I did pretty recently so would be surprised if that broke
eraserhd has joined #nix-darwin
<antifuchs>
soo, this may be a silly question, but can I have one repo with modules that are based on nixos and nix-darwin side-by-side, using the options mechanism? I would like to have both my linux machines' and macs' configs fairly similar and that seems like the easiest way to achieve it
<antifuchs>
actually, for the linux boxes, I'd probably use a nixus-based entrypoint, and for the macs, the nix-darwin configuration.nix approach...
<LnL>
options that overlap with nixos should be compatible
<antifuchs>
I guess now my bigger question becomes, how do I integrate nixus into all this; but I'm sure I'll figure that out (:
<antifuchs>
thanks (:
__monty__ has joined #nix-darwin
philr has quit [Ping timeout: 272 seconds]
<stephank>
Good call on trying 2.3.7, that does build in a nix-shell. So it's something fishy on master.
<stephank>
Oh, derp, it looks like a legit bug. There's just some includes missing here and there
layday has joined #nix-darwin
<layday>
Hi all, I want to use the Tk framework in a nix-shell but it's not exposed in nixpkgs. I was wondering if there was any way to do that short of copying the entire framework derivation.