alexteves has quit [Remote host closed the connection]
johnw has joined #nix-darwin
johnw has quit [Read error: Connection reset by peer]
johnw has joined #nix-darwin
<johnw> it seems cabal2nix has been broken on unstable for a few days
<johnw> Setup: Encountered missing dependencies: hpack >=0.29.6
<johnw> jailbreaking doesn't help
<johnw> (runs into a compilation error due to hpack having changed)
nD5Xjz_ has quit [Ping timeout: 244 seconds]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 256 seconds]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 244 seconds]
nD5Xjz has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 244 seconds]
<LnL> fixed on master
<mpickering> LnL: Do you know why clang reports __cplusplus to be 199711 now?
<mpickering> ah wait this might be my fault
<mpickering> no, it appears to be so
<LnL> no
<mpickering> Seems like it always reports 199711 but somehow rebasing broke the build for this package
dhess has quit [Remote host closed the connection]
dhess has joined #nix-darwin
hamishmack has joined #nix-darwin
philr has joined #nix-darwin
alexteves has joined #nix-darwin
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
philr has quit [Ping timeout: 248 seconds]
<zimbatm> I am trying to better understand how the Darwin frameworks are being built so I can figure out why some files are missing from the Accelerate.framework
<zimbatm> is it to re-map the symlinks to the derivation output?
<zimbatm> if that's the case it seems like it would be simpler to `cp -a /System/Library/Frameworks/$path $out/Library/Frameworks` and fix the symlinks afterwards
<zimbatm> but I am probably missing some intricacies
<zimbatm> oh I see, it's actually `darwin.apple_sdk.sdk` that is missing those files
<LnL> yeah so the sdk contains the world so we break it up into parts and copy over the headers
<zimbatm> is the sdk only containing the headers and not the .dylib?
<LnL> yes
<LnL> the libraries are all unfree, we use symlinks to the system locations
<zimbatm> okay
<LnL> there are a few exceptions of frameworks that are opensource, but most are not
<zimbatm> so if I wanted to fix Accelerate.framework I would have to restore those symlinks
<zimbatm> yeah, we do what we can...
<zimbatm> would it make sense to add a $out/lib folder so I can merge the "macblas" with the Accelerate.framework?
<LnL> lrwxr-xr-x 1 root nixbld 69B Jan 1 1970 result/Library/Frameworks/Foundation.framework/Foundation -> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
<LnL> yeah, maybe
<zimbatm> okay, so the issue here is that it's pointing to a sub-framework which isn't symlinked properly
<LnL> exactly, that's not handled yet
<LnL> oh, hmm
<zimbatm> I'll try to debug it
<LnL> then I'm wondering if this is an impurity
<zimbatm> wouldn't it be easier to symlink the whole .framework folder since it's all impure anyways
<LnL> the list of subframeworks of the hydra builders might be different from your local system
<zimbatm> it seems to be a lot of effort to end up with an impure output
<zimbatm> it re-built it locally and it gives the same
<LnL> yeah, it's there on 10.12 (pretty sure that's what most/all of the hydra machines are running)
<zimbatm> getting closer
<zimbatm> I noticed that /usr/lib/libcups*.dylib is getting symlinked in the sdk derivation
<zimbatm> maybe the other dylibs should be pushed there
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gchristensen has quit [Ping timeout: 268 seconds]
<zimbatm> what is the advantage of composing the .framework from the sdk and impure host?
<zimbatm> I found some other bugs while digging in that symlink logic
<LnL> the sdk is huge for one
gchristensen has joined #nix-darwin
<zimbatm> are we getting files that are not already present on the host?
<zimbatm> it seems like it would be easier to symlink $out/Library/Frameworks/$path to /System/Library/Frameworks/$path and be done with it
hamishmack has joined #nix-darwin
Lisanna has quit [Remote host closed the connection]
<LnL> not sure why it was done that way
<LnL> we don't don't isolate frameworks like we do with eg. Libsystem so that's not it
Lisanna has joined #nix-darwin
Lisanna has quit [Remote host closed the connection]
Lisanna has joined #nix-darwin