!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
4 Jun 2021
@daiderd:matrix.orgLnLnot really but using the new bootstrap tarball after everything is ready is a great test to check that everything is in a good state for the next bump21:17:00
@daiderd:matrix.orgLnLas long as nothing breaks it doesn't need to be updated at all21:18:57
@daiderd:matrix.orgLnLon the linux side there was a recent bump in 2019, but before that it was very old :D21:22:47
@toonn:matrix.orgtoonn LnL: I'll have to get to this tomorrow. Seem to have run out of brain juice : ) 21:42:15
5 Jun 2021
@mtvare6:matrix.orgmTvare changed their display name from pr to shade buildscripts rn to mTvare.06:06:46
@qyliss:fairydust.spaceAlyssa RossIs there a kind macOS user around who could build Nix with https://github.com/alyssais/nix/commit/host_os, and let me know 1) if it builds 2) if the output contains the launchd service in Library/LaunchDaemons?10:15:37
@toonn:matrix.orgtoonn AlyssaRoss: `ls result/Library/LaunchDaemons/` -> `org.nixos.nix-daemon.plist` 14:26:28
@qyliss:fairydust.spaceAlyssa Rossthank you!14:26:55
@toonn:matrix.orgtoonn Np. 14:27:49
@toonn:matrix.orgtoonn LnL: Looking into altering the XNU patch. I'm not sure it's how practical that is. The patched file isn't in the resulting bootstrap-tools. I think it's only used when building XNU. 14:43:33
@toonn:matrix.orgtoonn I'll try seeing if diffing the bootstrap-tools provides any hints. 14:44:13
@toonn:matrix.orgtoonn Maybe we can just delay it to after the bootstrap-tools rebuild? Afaict it's a bug but it mustn't have caused much trouble yet. 14:45:19
@toonn:matrix.orgtoonn LnL: Hmm, looking at the Libsystem patch now, the patch was easy to compose but I'm not actually sure how we can use it without causing a stdenv rebuild? Because wouldn't patching bootstrap-tools be done from pkgs/stdenv/darwin/default.nix? And adding patching there would still cause a stdenv rebuild? 15:02:47
@daiderd:matrix.orgLnLby only applying it the Libsystem used in bootstrap-tools instead of darwin.Libsystem15:07:23
@daiderd:matrix.orgLnLhere are some other examples of packages which are customized in the build https://github.com/toonn/nixpkgs/blob/bootstrap-tools-bump/pkgs/stdenv/darwin/make-bootstrap-tools.nix#L20-L3315:07:52
@toonn:matrix.orgtoonn Oh, totally misunderstood >.< 15:08:36
@toonn:matrix.orgtoonn That does make a lot more sense. 15:10:05
@daiderd:matrix.orgLnLit's a bit messy to put overrides there, but this will be temporary to avoid the dependency cycle15:10:10
@daiderd:matrix.orgLnLonce Libsystem proper inherits the changes with the update branch it can be removed again15:12:27
@daiderd:matrix.orgLnLhttps://github.com/toonn/nixpkgs/blob/bootstrap-tools-bump/pkgs/stdenv/darwin/default.nix#L308-L33115:14:03
@daiderd:matrix.orgLnLdoing it here also works, that has the upside of not needing a new bootstrap-tools since the current one is just patched15:15:16
@daiderd:matrix.orgLnLbut you have very little available there so it could be tricky and based on the commits I assume we need a never compiler in bootstrap-tools anyway15:16:14
@daiderd:matrix.orgLnLwell maybe that's not strictly necessary, it might be possible to bootstrap the new defaults with an older compiler but it should probably be updated in both places so needs to happen either way15:19:33
@toonn:matrix.orgtoonn LnL: Ok, so I've just force pushed the changes you asked for, I believe. 18:37:18
6 Jun 2021
@jan.smittie:fabi.devsmittie joined the room.10:46:18
@sternenseemann:systemli.orgsterni (he/him)any one around here I could ping for testing haskell / GHC on aarch64-darwin11:12:11
@sternenseemann:systemli.orgsterni (he/him) * any one around here I could ping for testing haskell / GHC on aarch64-darwin?11:12:16
@sternenseemann:systemli.orgsterni (he/him)We are looking into updating to GHC 8.10.5 currently which supposedly supports aarch64-darwin via the LLVM backend.11:12:40
@jan.smittie:fabi.devsmittieI'm fairly new to nix, but depending on the workload I'm up for it. Is it just installing the nix package?11:15:14
@sternenseemann:systemli.orgsterni (he/him)It would already be helpful if someone could checkout the PR, build GHC and try compiling a package or two, so all variations of running nix-build in a nixpkgs checkout11:16:30

Show newer messages


Back to Room ListRoom Version: 6