!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
14 Oct 2025
@ivy:faggot.shivyyes but sometimes signing depends on the location of it04:49:11
@ivy:faggot.shivylike if its in /Applications04:49:16
@ivy:faggot.shivythis is my tiny pr to make linking paths work better04:49:31
@ivy:faggot.shivyallowing for finally Application Support04:49:46
@ivy:faggot.shivyimage.png
Download image.png
04:50:46
@ivy:faggot.shivyunfortunate04:50:49
@ivy:faggot.shivyit does work tho04:53:05
@ivy:faggot.shivyunfortunate that changing this causes everything to rebuild04:53:20
@ecco256:matrix.orgErikThey are not picked up by at least Logic Pro when symlinked, so I was going to try recursive hard linking next (cp -l or rsync —link-dest). I only have Logic Pro and GarageBand to test with though I expect they use the same innards. Not sure about signing requirements, I don’t think so?06:24:46
@ivy:faggot.shivyokay so let’s get my pr merged into staging then main along with my darwin pr once that’s done06:29:17
@ivy:faggot.shivythen should work06:29:22
@ivy:faggot.shivyonce my pr is solved a lot of nuances and annoyances with buildEnv on darwin should be solved allowing for copying of them06:29:53
@ecco256:matrix.orgErikAwesome :)06:33:30
@carlossless:matrix.orgcarlossless

I've been experimenting with xcbuildHook and trying package an app, but I am running into segfaults at the beginning of the build: https://gist.github.com/carlossless/56026f1c311eac21a63e3707025971ce.

error: builder for '/nix/store/s5qfwmzdk8cpglwqy31mx6gpqjipwag3-nuage-0.0.9.drv' failed with exit code 139;
       last 23 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/la29fcpii5c33i2adhfig7zjd2f1z3la-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > running xcodebuild: ''
       > warning: object version 54 may be unsupported
       > warning: unhandled Project key packageReferences
       > warning: unhandled BuildFile key productRef
       > warning: unhandled BuildFile key productRef
       > warning: unhandled BuildFile key productRef
       > warning: unhandled BuildFile key productRef
       > warning: unhandled TargetDependency key productRef
       > warning: unhandled TargetDependency key productRef
       > warning: unhandled NativeTarget key packageProductDependencies
       > Build settings from the command line:
       >     OBJROOT=/nix/var/nix/builds/nix-build-nuage-0.0.9.drv-0/source/Intermediates
       >     SYMROOT=/nix/var/nix/builds/nix-build-nuage-0.0.9.drv-0/source/Products
       >
       > /nix/store/rc15xa20xwyaqhlr3nrw2ykhci6by5ay-xcbuild-hook/nix-support/setup-hook: line 1: 30392 Segmentation fault: 11     xcodebuild SYMROOT=$PWD/Products OBJROOT=$PWD/Intermediates "${flagsArray[@]}" build
       For full logs, run 'nix log /nix/store/s5qfwmzdk8cpglwqy31mx6gpqjipwag3-nuage-0.0.9.drv'.

Anything I am missing something or is this (sort of expected) given the limitations of xcbuild in nixpkgs?

08:55:28
@carlossless:matrix.orgcarlosslessThe project contains swiftpm dependencies, which I guess is not being handled here, and I haven't seen any examples in nixpkgs on how to handle them (when they are part of an xcodeproj). I don't know if that has anything to do with the seg fault here though.09:02:36
@reckenrode:matrix.orgRandy EckenrodeAre you able to see in Console.app which process crashed?13:09:39
@reckenrode:matrix.orgRandy EckenrodeIt’s also possible the problem is its trying to download the SwiftPM dependencies, which will fail because network access is disallowed during a build.13:09:46
@reckenrode:matrix.orgRandy EckenrodeIIRC someone else ran into that problem.13:10:06
@winston:winston.shwinston is man-db known to be a flaky build or is this an issue on staging/my machine? On my 4th build now and encountering a different checkPhase fail for the 3rd time 14:41:30
@winston:winston.shwinston what's odd is that I get a full For full logs run nix log ... but it never leaves the checkPhase either 14:42:10
@winston:winston.shwinston ~~what's odd is that I get a full For full logs run nix log ... but it never leaves the checkPhase either~~ nvm that was just nixpkgs-review passing in --keep-going 15:32:08
@winston:winston.shwinstonended up just using an overlay to turn the checkPhase off to get the dep to build15:32:33
@weethet:catgirl.cloudWeetHet

Would using osascript instead of rm fix the issue with macl what do you think?

osascript -e 'tell application "System Events" to delete file "Macintosh HD:Users:weethet:Downloads:example.txt"'
16:04:32
@reckenrode:matrix.orgRandy EckenrodeWhat’s the macl issue?19:48:28
@reckenrode:matrix.orgRandy EckenrodeIs that the problem with xattrs in the store?19:48:46
@carlossless:matrix.orgcarlosslessimage.png
Download image.png
19:56:36
@carlossless:matrix.orgcarlosslessseems like xcbuild itself?19:57:11
@carlossless:matrix.orgcarlosslesscan't find anything else relevant19:58:51
@weethet:catgirl.cloudWeetHetYeah21:22:36
@weethet:catgirl.cloudWeetHetIt seems to occur even when doing sudo nix-collect-garbage for me 21:22:57

Show newer messages


Back to Room ListRoom Version: 6