philr has joined #nix-darwin
philr__ has quit [Ping timeout: 264 seconds]
<abathur> I haven't found anything that suggests there's a way for a new volume to piggyback on the filevault FDE
<abathur> I have another macbook just back in from getting serviced; I suspect I'll sell it on swappa but for now that means I've got a spare mojave and catalina device to fiddle with
<abathur> I tried creating a new volume in the same volume group with diskutil but it doesn't seem to like that idea
hmpffff_ has joined #nix-darwin
hmpffff has quit [Ping timeout: 265 seconds]
<johnw> does anyone have any success building static Haskell executables on Darwin?
<johnw> I'm having trouble linking file-embed, which is needed by servant
hmpffff has joined #nix-darwin
hmpffff_ has quit [Ping timeout: 265 seconds]
aterius has quit [*.net *.split]
cbarrett has quit [*.net *.split]
cbarrett has joined #nix-darwin
aterius has joined #nix-darwin
teehemkay has quit [Ping timeout: 256 seconds]
teehemkay has joined #nix-darwin
hmpffff_ has joined #nix-darwin
hmpffff has quit [Ping timeout: 246 seconds]
__monty__ has joined #nix-darwin
kaychaks_riot has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
dtz has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
kyren has quit [Quit: killed]
aterius has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
dtz has joined #nix-darwin
jonge[m] has joined #nix-darwin
Ericson2314 has joined #nix-darwin
kaychaks_riot has joined #nix-darwin
thefloweringash has joined #nix-darwin
kyren has joined #nix-darwin
domenkozar[m] has joined #nix-darwin
aterius has joined #nix-darwin
hmpffff_ has quit [Read error: Connection reset by peer]
hmpffff has joined #nix-darwin
philr has quit [Ping timeout: 260 seconds]
hmpffff_ has joined #nix-darwin
hmpffff has quit [Ping timeout: 240 seconds]
<johnw> LnL: morning!
<johnw> LnL: well, evening, but hey
<LnL> hey, what's up?
hmpffff_ has quit [Ping timeout: 272 seconds]
dtz has left #nix-darwin ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<qbit> hio
plumm has joined #nix-darwin
<plumm> Hey, I read somewhere that nix only exports a subset of the libsystem symbols to keep builds reliable, but it appears that I am missing `futimens`
<johnw> LnL: I have an overlay where I'm trying to use certain libraries statically so that I can build a fully static Haskell executable
<plumm> I used to be able to build my project (zig) with brew llvm and clang and etc just fine, but I just switched to nix today and this is the last puzzle piece before a successful build
<johnw> so in my overlay I have: inherit (pkgs.pkgsStatic) pcre gmp libffi libiconv;
<LnL> plumm: yeah nixpkgs is still compatible with 10.12 so anything that's new since then is stripped out to avoid incompatible builds
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<plumm> I'm assuming `nixpkgs.darwin.apple_sdk` is what I need?
<LnL> johnw: hmm, I'm guessing the allowedReferences in the stdenv aren't correctly overridden with their static counterparts
nikivi has joined #nix-darwin
<LnL> plumm: no, there's (intentionally) no way to do that
<LnL> to work around it (assuming the probject only supports newer) you'd have to make it link directly against the real /usr/lib/libSystem.dylib
<plumm> yes the project's min version is 10.13
<plumm> okay thanks, I will find out a way to do that
<qyliss> Hello, a Rust bump has been blocked for a while on somebody testing on Darwin (since it's too big for OfBorg). Would somebody mind running nix-build -A fd https://github.com/NixOS/nixpkgs/tarball/pull/85997/head ?
<qyliss> (And let me know if the build succeeds)
<LnL> oh, thought somebody was already on that
<evelyn> futimens is only available on 10.13 or newer
<plumm> Yeah, I don't know cmake so im exploring on how to update the link location to use the real librari like LnL suggested
<evelyn> lots of linux specific documentation still claims that it's missing from macOS too
<evelyn> (but it's not)
<evelyn> anyway
hmpffff has joined #nix-darwin
<LnL> plumm: I think you'll have build with an overridden binutils
<plumm> ya lost me
<LnL> stdenv stuff, looks like we do a good job of making this hard :D
<plumm> I've only been using nix for a couple of hours so take my experience with a grain of salt
abathur has quit [Quit: abathur]
abathur has joined #nix-darwin
kronicmage has joined #nix-darwin
<kronicmage> hey folks, can someone help me figure out why my python3.8 nix-shell isn't working? this is what I'
<kronicmage> 'm getting: https://pastebin.com/QuRBjxvj
dhess has joined #nix-darwin
<LnL> seems like attr is already included in 3.8?
<kronicmage> that may be so, but a different package has attrs has a dependency
<kronicmage> in particular, `hypothesis`
<LnL> probably should be conditional for <3.8 then
kronicmage has quit [Remote host closed the connection]
<johnw> LnL: say I want any use of gmp by a Haskell package to use pkgsStatic.gmp. How do I "plumb that through" everywhere, but only within haskellPackages?
<LnL> hmm, isn't there an overrideScope or something/
<LnL> or does that not work for system deps
<johnw> no overrideScope on pkgs...
<johnw> trying some other things...
__monty__ has quit [Quit: leaving]
dhess has quit [Remote host closed the connection]
mbrgm_ has joined #nix-darwin
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
philr has joined #nix-darwin