Nix on macOS | 1144 Members | |
| “There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org | 181 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Oct 2025 | ||
| im gonna see if i can patch buildEnv to be able to link subpaths | 00:45:20 | |
| Erik: do you know if they can be symlinked and signed? | 00:45:38 | |
| * Erik: do you know if they can be symlinked and/or need to be signed? | 00:45:57 | |
| with spaces | 00:46:50 | |
| because currently, it does not | 00:46:59 | |
| but changing buildEnv forces llvm to rebuild.... | 00:47:28 | |
| i was gonna ask this earlier today. i suspect that they can't (shouldn't?) be symlinked since they're app bundles and things | 03:18:25 | |
| ghats what i assumed as well | 03:29:23 | |
| but sometimes u can symlink app bundles a | 03:29:30 | |
| as long as u dont edit them | 03:29:36 | |
| and dontFixup | 03:29:50 | |
| aren't those orthogonal concerns? | 04:03:32 | |
like the editing/dontFixup is to not break signatures | 04:14:18 | |
| but symlinking or not impacts whether apps run from the store, have the right number of open instances, can find other tools in the app bundle, etc. | 04:14:48 | |
| https://github.com/NixOS/nixpkgs/pull/451864 | 04:48:54 | |
| yes but sometimes signing depends on the location of it | 04:49:11 | |
| like if its in /Applications | 04:49:16 | |
| this is my tiny pr to make linking paths work better | 04:49:31 | |
| allowing for finally Application Support | 04:49:46 | |
Download image.png | 04:50:46 | |
| unfortunate | 04:50:49 | |
| it does work tho | 04:53:05 | |
| unfortunate that changing this causes everything to rebuild | 04:53:20 | |
| They 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 | |
| okay so let’s get my pr merged into staging then main along with my darwin pr once that’s done | 06:29:17 | |
| then should work | 06:29:22 | |
| once my pr is solved a lot of nuances and annoyances with buildEnv on darwin should be solved allowing for copying of them | 06:29:53 | |
| Awesome :) | 06:33:30 | |
| 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.
Anything I am missing something or is this (sort of expected) given the limitations of xcbuild in nixpkgs? | 08:55:28 | |
| The 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 | |