!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
23 Nov 2025
@bake.monorail:matrix.orgbake.monorailThe downside is that the user needs to copy it there, which AFAIU is typical anyway.11:58:06
@niklaskorz:matrix.orgniklaskorzso having a hardcoded nix store path that is not a dynamic library in a macOS app is pretty rare anyway, even for apps in nixpkgs11:58:49
@bake.monorail:matrix.orgbake.monorailWhat do you mean? If you, say, generate a script it's rather easy to have path hardcoded.11:59:42
@bake.monorail:matrix.orgbake.monorail* What do you mean? If you, say, generate a script it's rather easy to have paths hardcoded.11:59:48
@niklaskorz:matrix.orgniklaskorzfor wrapper scripts? that's a special case I definitely want to handle soon-ish12:00:13
@bake.monorail:matrix.orgbake.monorail So, you do the rpath thing, which is kinda nice. I was thinking it should be the default on Linux as well, but the problem is that you can't use $ORIGIN for the loader (i.e., PT_INTERP). I guess on mac you don't have the same problem since you don't distribute the libc. Correct? 12:01:52
@niklaskorz:matrix.orgniklaskorzIndeed, all macOS apps have to use the system libc12:02:18
@niklaskorz:matrix.orgniklaskorzthat's also why we can't do fully static binaries on macOS12:02:26
@bake.monorail:matrix.orgbake.monorailbtw, I appreciate your effort, but this thing was much more easy to understand if it was written in bash :D12:03:37
@bake.monorail:matrix.orgbake.monorail* btw, I appreciate your effort, but this thing would have been much easier to understand if it was written in bash :D12:03:49
@reckenrode:matrix.orgRandy EckenrodeSo if we can figure out the URL, it might be possible to package it?12:04:10
@bake.monorail:matrix.orgbake.monorailmaybe it's just the fact that I'm a rust noob12:04:15
@niklaskorz:matrix.orgniklaskorzI'm not writing a mach parser in bash ⚰️12:04:17
@bake.monorail:matrix.orgbake.monorailllvm-readobj not enough?12:04:39
@niklaskorz:matrix.orgniklaskorz well for this particularly usecase otool -L would have done the job 12:06:01
@niklaskorz:matrix.orgniklaskorzbut also I wouldn't want to port the recursive copy algorithm in bash12:06:14
@niklaskorz:matrix.orgniklaskorzgenerally not being able to read the bash mess that was nix-bundle-macos is the reason I wrote this in Rust in the first place12:06:40
@niklaskorz:matrix.orgniklaskorz* but also I wouldn't want to port the recursive copy algorithm to bash12:06:53
@niklaskorz:matrix.orgniklaskorz maybe 👀 12:07:56
@niklaskorz:matrix.orgniklaskorzbut it could be that it just re-uses the Xcode login session12:08:06
@niklaskorz:matrix.orgniklaskorzah rip that is directly linking to moltenvk and not using vulkan-loader12:17:50
@niklaskorz:matrix.orgniklaskorzgrafik.png
Download grafik.png
12:26:14
@niklaskorz:matrix.orgniklaskorzhehe, almost12:26:14
@niklaskorz:matrix.orgniklaskorzah well12:26:53
@niklaskorz:matrix.orgniklaskorz
12:25:46.000Z ERROR [tiny_glade::run_game] [frame:0] Device "Apple M3 Pro" init error:
DeviceCreateError(
    UnsupportedExtensions {
        extensions: [
            "VK_KHR_portability_subset",
        ],
    },
)
12:26:56
@reckenrode:matrix.orgRandy Eckenrodelol12:27:11
@reckenrode:matrix.orgRandy EckenrodeKosmicKrisp is fully conformant. It doesn’t implement the portability extension.12:27:32
@reckenrode:matrix.orgRandy Eckenrode * 12:27:42
@niklaskorz:matrix.orgniklaskorzyeahh... I'll have to ask Tom to give me a KosmicKrisp build 😂12:27:52
@niklaskorz:matrix.orgniklaskorzok I'll try something different then, maybe vkquake12:29:21

Show newer messages


Back to Room ListRoom Version: 6