ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
butterthebuddha has joined #nix-darwin
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
butterthebuddha has joined #nix-darwin
butterthebuddha has quit [Quit: Textual IRC Client: www.textualapp.com]
<dhess> LnL: got an example of how/when to specify extra impure paths?
<clever> dhess: one min
<clever> dhess: the devs mostly use macs, and simply installing xcode can break the build hard, so sandboxing must be on
<dhess> Ahh got it, thank you!
<dhess> yep
<dhess> that's perfect
<dhess> clever: did you have anything to do with the haskell.nix overlay?
<clever> nothing special had to change for macs, that i'm aware of
<dhess> just asking in general, not with respect to sandboxing
<dhess> not "did you have to do anything," but "did you have anything to do with" :)
<clever> i have been working on making the IFD parts of it faster lately
<clever> its a bit anoying when just the eval alone can take 5 minutes, due to builds
<dhess> cool. It looks pretty compelling. I just started the process of trying to switch over
<dhess> yeah my Hydra evals are taking awhile since I started adding it to my package sets.
<dhess> I'm hoping that's mainly because I've only just started to use it and there's a lot of caching going on in these early builds
<dhess> a lot of cache being built, I mean.
<clever> its now 5am, and ive managed to crack the rpi4 code signing in basically a single day, i should probably get some sleep, heh
<dhess> ooh code signing, nice
<clever> hydra is not aware of anything it used at IFD time, so it wont try to GC root them
<dhess> that's something I want to add to my builds.
<clever> and then garbage collection can eat it, and ruin your eval times
<dhess> clever: any tricks in the iohk Hydra config for speeding this up?
<clever> creating a derivation that depends on the same things in the IFD, and adding it to release.nix
<clever> ive gotten all of the easy ones, but the hard ones are deep inside haskell.nix, so i have to modify that now
<dhess> ahh right so then it'll be rooted?
<clever> yep
<dhess> ok cool I'll look into that.
<dhess> this eval is now on 13 minutes :)
<dhess> we're gonna need a bigger Hydra
<dhess> perfect, thank you
<dhess> I'm actually doing something sort of similar to that already, just need to add the hackageSrc and stackageSrc bits.
<dhess> oh no, I'm not doing the mkPins bit.
<dhess> ok cool
<clever> if you nix-instantiate with `-j 0 -vv --option builders ''`, then it hard-fail any time it tries to build at IFD time
<clever> and the last .drv it instantiated (visible due to -vv) is generally the one to blame
<clever> get it building via some other means, and repeat the eval, until the eval can complete without doing a single build
<clever> thats basically my procedure
<dhess> :|
<dhess> hope it doesn't come to that, no time for that kind of massaging at the moment :)
<dhess> ugh haskell-nix.haskellPackages.ghc.meta is missing :(
* clever heads off to bed
* dhess waves
philr has quit [Ping timeout: 240 seconds]
__monty__ has joined #nix-darwin
philr has joined #nix-darwin
hedgie has quit []
__monty__ has quit [Quit: leaving]
<dhess> LnL: perfect, thank you
<dhess> I look forward to setting that and watching everything build from scratch :)
<LnL> that does't change drvs
<dhess> oh really?
<dhess> so it's just for security?
<dhess> I would have thought on macOS it prevents impurities from leaking in
<dhess> I guess that's what the extra paths are for
<LnL> it does help prevent references to /bin and as well as eg. homebrew
<dhess> Hey thanks for figuring out that if you call apfs.util -B you don't have to reboot after adding nix to /etc/synthetic.conf!
<dhess> I dunno how you figured that out but it's awesome :)
<dhess> I ended up writing a script around the 2.3.2 installer to create the Nix volume, do all the synthetic.conf/fstab/etc stuff. I wanted something that would install nix-darwin as well, remove all the default channels, etc. so I just decided to do it all in one wrapper around the 2 installers.
<dhess> It would be great if the nix installer and the nix-darwin installer had a way to assume default responses to questions. Then you'd only need to type your sudo password once and away it goes.
<LnL> some manpage hunting I think :)
<dhess> I tried to use Perl's Expect module but god, that's an awful API
<LnL> yes | darwin-installer
<dhess> LnL: well it was so useful
<dhess> LnL: hmm I *think* I'm always replying yes, but I'll need to review
<dhess> I don't always reply yes to the nix installer but that might just be when it asks if I want more detail.
<dhess> it's a good thought though, I'll try it
<LnL> yeah, I was really sad that it apfs.util was kind of broken in the first beta I tried
<LnL> but when the gm was out it also fixed that
<dhess> LnL: oh yeah, darwin-installer asks if you want to modify the config, won't piping yes to it cause that to jump into an editor?
<LnL> the editor only opens with a pty IIRC
<dhess> ok
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
Chiliparrot has joined #nix-darwin
philr has quit [Ping timeout: 265 seconds]
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nix-darwin
johnny101m2 has joined #nix-darwin
johnny131 has joined #nix-darwin
johnny101m has quit [Ping timeout: 260 seconds]
johnny101m2 has quit [Ping timeout: 272 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hedgie has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
__monty__ has joined #nix-darwin
butterthebuddha has joined #nix-darwin
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
butterthebuddha has joined #nix-darwin
eraserhd has quit [Ping timeout: 240 seconds]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clever has quit [Ping timeout: 260 seconds]
butterthebuddha has joined #nix-darwin
philr has joined #nix-darwin
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has quit [Ping timeout: 272 seconds]
__monty__ has quit [Quit: leaving]
butterthebuddha has joined #nix-darwin