!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1167 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org189 Servers

Load older messages


SenderMessageTime
8 Jun 2021
@toonn:matrix.orgtoonn I think so. 22:07:22
@toonn:matrix.orgtoonn I'd even go so far as to say none, thought I'm not 100% on that. 22:07:40
@daiderd:matrix.orgLnLguess you could ask whether it's worth to deal with the source releases, which often have missing stuff, given that tbd files are in place now22:11:13
@daiderd:matrix.orgLnLbut for now a good distinction is probably our own CF from swift-corelibs and whatever that thus depends on22:12:22
@daiderd:matrix.orgLnLwe also have our own generated stubs, currently those are used for both header only source releases and frameworks22:16:17
@daiderd:matrix.orgLnLthe later can come from the sdk in the future but I'm not sure about the former22:16:37
@daiderd:matrix.orgLnL emily: I'd be interested to know if building something that requires >=11.0 features works on an older release (eg. building on 10.15, copying the result to 11.0 and running it there) 22:21:22
@daiderd:matrix.orgLnLif that works it means we're decoupled enough from the host system and then I don't see any reason not to expose "future" sdk versions for packages that need it22:24:06
@emilazy:matrix.orgemilyhard to see how it wouldn't at least, it's just extracting the same SDK files into the nix store when all's said and done right? not like we use any system compilers or anything that could choke on the source22:25:19
@emilazy:matrix.orgemilyI don't have access to a macOS <11 machine to test this with though :(22:25:27
@emilazy:matrix.orgemilyI used the macosPackages_11_0_1 thing while trying to get Swift to compile on Darwin22:25:39
@daiderd:matrix.orgLnLwell, we're still linking against a 10.12 Libsystem etc. which I'm not sure would work but in theory yeah we should be isolated enough22:26:44
@daiderd:matrix.orgLnLI have a machine that's still on 10.15 if you have an expression that links against 11.x features I could build it22:27:47
@toonn:matrix.orgtoonn emily: Any headway into that? It's something I've gotten stuck on before. 22:30:56
@emilazy:matrix.orgemilysome, but it's still a pile of hacks that doesn't fully build22:31:42
@emilazy:matrix.orgemilyi had to pull in a lot of newer stuff from SDKs / source releases22:31:55
@emilazy:matrix.orgemilyand ultimately swift doesn't officially support the SDK version NixOS is on so it'd probably be a lot easier with a bump :p22:32:36
@emilazy:matrix.orgemilyI think 10.15 is the lowest they go down to22:32:45
@toonn:matrix.orgtoonn Working on it (bump to 10.13 for now) but all these stdenv builds are harshing the buzz. 22:34:37
9 Jun 2021
@daiderd:matrix.orgLnL toonn: FYI https://hydra.nixos.org/build/145123408#tabs-summary 11:31:20
@toonn:matrix.orgtoonn LnL: Great : ) 16:55:04
@toonn:matrix.orgtoonn Now I wait until this bootstrap-tools is uploaded so I can add a commit and push the LLVM 11 stdenv PR? 16:55:35
@daiderd:matrix.orgLnLoh, it's actually done16:56:53
@daiderd:matrix.orgLnL * oh, it's actually already done16:56:59
@daiderd:matrix.orgLnLyou can make a commit like this for now, I'll upload it to the mirror once everything looks good https://github.com/NixOS/nixpkgs/pull/85151/commits/9989b7dd8cfbda0d097442c78430a76a0195fa7116:58:31
@daiderd:matrix.orgLnLhmm wait, where are the build products...16:59:28
@daiderd:matrix.orgLnL:(17:00:39
@daiderd:matrix.orgLnLlooks fine to me at first glance https://gist.github.com/LnL7/17c67c2da4a01167734e48fccdb294d817:04:23
@toonn:matrix.orgtoonn THat's the same tarball hash I got. 17:04:58
@daiderd:matrix.orgLnLyeah but that hydra-build-products file should result in a list of links on the hydra build like this17:05:32

There are no newer messages yet.


Back to Room ListRoom Version: 6