jrolfs_ has quit [Read error: Connection reset by peer]
ryanartecona has quit [Quit: ryanartecona]
philr has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 265 seconds]
nD5Xjz has joined #nix-darwin
<thefloweringash> I think my recent problems with apple_sdk are compounded by the AvailabilityMacros.h header coming from libsystem 10.11.6, and declaring MAC_OS_X_VERSION_10_11, while the apple_sdk headers are from 10.10.
dmj` has joined #nix-darwin
stqism has quit [Quit: Like 3 fire emojis lit rn 🔥🔥🔥]
stqism has joined #nix-darwin
stqism has quit [Client Quit]
stqism has joined #nix-darwin
stqism has quit [Client Quit]
stqism has joined #nix-darwin
stqism has quit [Remote host closed the connection]
stqism has joined #nix-darwin
<johnw> a Perl package is giving me: Checking for cc... ld: unknown option: -mmacosx-version-min=10.10
jrolfs has quit [Ping timeout: 246 seconds]
philr has quit [Remote host closed the connection]
philr has joined #nix-darwin
jrolfs has joined #nix-darwin
periklis has joined #nix-darwin
__Sander__ has joined #nix-darwin
periklis has quit [Ping timeout: 260 seconds]
periklis has joined #nix-darwin
<LnL> johnw: try LD=$CC a lot of perl stuff doesn't use those correctly
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar has joined #nix-darwin
<LnL> 2015, I have no idea :p
<LnL> maybe it uses /usr/bin/libtool otherwise?
<mpickering> wouldn't be surprising
philr has quit [Quit: WeeChat 2.0.1]
<mpickering> What goes wrong if /usr/bin/libtool is used?
nD5Xjz has quit [Ping timeout: 256 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
<LnL> $ /usr/bin/libtool xcode-select: error: no developer tools were found at '/Applications/Xcode.app', and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'.
jtojnar_ has joined #nix-darwin
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar_ is now known as jtojnar
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
Lisanna has quit [Remote host closed the connection]
periklis has quit [Ping timeout: 256 seconds]
nD5Xjz has joined #nix-darwin
sphalerite has quit [Quit: WeeChat 1.9.1]
sphalerite has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 276 seconds]
nD5Xjz has joined #nix-darwin
__Sander__ has quit [Ping timeout: 265 seconds]
periklis has joined #nix-darwin
periklis has quit [Remote host closed the connection]
ryanartecona has joined #nix-darwin
periklis has joined #nix-darwin
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #nix-darwin
periklis has quit [Ping timeout: 264 seconds]
<mpickering> So should I upstream my updated saga formula which builds and works correctly but has this issue with lots of additional deps or would you not want to merge it?
<gchristensen> I wonder what it would take to build a Nix for Mac installer like docker for mac
<LnL> like a non native one?
<gchristensen> a native installer, but for handling all the build users and stuff without prompting a lot
<LnL> or a ui for the launchd service, etc.
<gchristensen> as a bonus it could, indeed, handle a remote linux builder's setup
<LnL> mpickering: what about the comment from the mailing list?
<LnL> or am I thinking of something else
<mpickering> LnL: So the email explains how it works on nixos but not why it doesn't on darwin
<LnL> I'm referring to the reply about libtool/pkgconfig
<mpickering> By layus yes?
<LnL> yeah, but either way sounds like those are not actually new dependencies
<mpickering> So there is a libgdal.la file which contains the dependencies I had to add
<mpickering> in gdal/lib
<mpickering> "Could it be that libtool is not used on darwin?" - I don't know, it appears that it is being used but is broken somehow
<LnL> ah it's not already added conditionally or something
<mpickering> added where sorry?
jrolfs_ has joined #nix-darwin
<mpickering> I added libtool as a buildInput if that's what you meant. Heading to the shops and will see if the build works when I get bac
<LnL> yeah, if it's not there already only adding libtool might be enough
<johnw> LnL: will try
<LnL> it's not in the linux stdenv by default either tho
jrolfs_ has quit [Read error: Connection reset by peer]
jrolfs__ has joined #nix-darwin
<mpickering> Still fails with the same message
<LnL> just add the dependencies then
<mpickering> ok thanks
<mpickering> I might come back to it later but now I have packaged everything which was blocking me
<mpickering> it's time to actually do the project
<johnw> LnL: well, this package is just in perl-packages, like all the others
<johnw> it seems odd to change the LD environment variable there
<johnw> oh, I see
<johnw> some other packages do have that
<johnw> I wonder how I make it part of the regeneration of perl-packages.nix
<LnL> it's because of the cross changes
<LnL> I most builds fallback to CC but with the cross changes we set both explicitly
<LnL> I think*
<johnw> so should I push my change to perl-packages?
<LnL> does it currently work on linux?
<LnL> if so I would make it conditional since it might break cross
<johnw> well, other perl packages have the same setting, so I wonder if it's harmless on Linux
<johnw> I could try it on NixOS
<LnL> it's not a problem for native builds, but it won't work for cross
<johnw> so stdenv.isDarwin it?
<LnL> yeah
<johnw> k
<LnL> with cross CC and LD come from a different package set
jrolfs__ has quit [Ping timeout: 265 seconds]
<LnL> Sonarpulse: ^ right?
<Sonarpulse> LnL johnw: the LD=$CC isn't cross per-se
<Sonarpulse> in preparation for cross, I started defining LD CC etc for all the binutils and the c compiler
<Sonarpulse> but many build systems want to use the cc compiler to call the linker
<LnL> sure not necceceraly
<Sonarpulse> (including ghc)
<Sonarpulse> so they do LD ?= $(C))
<Sonarpulse> so they do LD ?= $(CC)
<Sonarpulse> or similar
<Sonarpulse> but then explicitly defining LD as CC breaks the build
<Sonarpulse> some common perl library for building C code links with the C compiler
<Sonarpulse> so that change just did LD=$CC across the board for perl-packages with the assumption that they either used that library or didn't care
<Sonarpulse> (fwiw better build systems define a LDCC and use that)
<Sonarpulse> (kind of like how we have NIX_LDFLAGS and NIX_CFLAGS_LINK)
<johnw> Sonarpulse: is that change not in nixpkgs-unstable yet?
<Sonarpulse> johnw: it should be, that was like 6 months ago
<johnw> ok, then I will need to modify perl-packages
<johnw> which so far is working
<johnw> still 360 packages yet to build
<Sonarpulse> huh...
<Sonarpulse> cc... ld: unknown option: -mmacosx-version-min=10.10
<johnw> yes, exactly that
<Sonarpulse> i scrolled up
<johnw> and LD=$CC fixes that
<Sonarpulse> did you not find the LD=$CC in perl packages in general?
<johnw> where would I find that?
<johnw> this is the change I've made:
<johnw> without that, I'm getting the ld error
<Sonarpulse> johnw: oh
<Sonarpulse> nevermind there is no across the board thing
<Sonarpulse> maybe that PR was never merged
<johnw> k
<Sonarpulse> git grep 'LD=$CC'
<Sonarpulse> thre's a bunch of random usages in perlPackages
<Sonarpulse> so yeah your fix looks legit
<johnw> cool, thanks for checking
<LnL> yeah, that's what I was talking about
jrolfs__ has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
jrolfs__ has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nix-darwin
<dhess> Anyone have an example default.nix or equivalent that shows how to cross-compile using haskellPackages?
<dhess> GHC is basically totally broken on armv7l now and I'm desperate to stop trying to build it natively.
<dhess> oh sorry wrong channel :(
ryanartecona has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 268 seconds]
jrolfs__ has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 264 seconds]
<gchristensen> puffnfresh: I'm giving a short talk tomorrow about linuxkit.... volunteered by somebody yesterday.
<puffnfresh> gchristensen: yay
<gchristensen> I hate giving talks ^.^ anything you suggest I make sure to cover
jrolfs__ has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
jtojnar has quit [Ping timeout: 260 seconds]
jrolfs__ has quit [Read error: Connection reset by peer]
jrolfs__ has joined #nix-darwin
jrolfs__ has quit [Ping timeout: 256 seconds]