!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
28 Mar 2026
@benjaminsparks:chat.alugha.appBen Sparks
nix-store-tests-run> /nix/var/nix/builds/nix-build-nix-store-tests-run.drv-0/b/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 3:  8552 Trace/BPT trap: 5          /nix/store/hxmd8p181a49ris32jzld321dffks592-exec/bin/exec /nix/store/hq3q7d33i4464lsjiyy1y43kfh4cajaq-nix-store-tests-2.35.0pre/bin/nix-store-tests
13:17:58
@lisanna-dettwyler:matrix.orgLisannathanks!20:56:54
@viraptor:tchncs.deviraptorCould someone try to build https://github.com/NixOS/nixpkgs/pull/500850 please? I can't tell if it's my environment that's weird in some way.23:57:41
29 Mar 2026
@eveeifyeve:matrix.orgeveeifyeveCan someone tell me exactly what makeDarwinBundle does?13:38:41
@eveeifyeve:matrix.orgeveeifyeveBecause I am currently in the process of upstreaming bundlers to nixpkgs and there is going to be makeBinaryBundle, makeAppImageBundle, makeDebBundle as apart of the bundle feature in nix.13:40:13
@eveeifyeve:matrix.orgeveeifyeve* Because I am currently in the process of upstreaming bundlers to nixpkgs and there is going to be makeBinaryBundle, makeAppImageBundle, makeDebBundle as apart of the bundle feature in nix. As privately spoken to tomberek.13:40:35
@eveeifyeve:matrix.orgeveeifyeveimage.png
Download image.png
13:41:27
@eveeifyeve:matrix.orgeveeifyeve* Because I am currently in the process of upstreaming bundlers to nixpkgs and there is going to be makeBinaryBundle, makeAppImageBundle, makeDebBundle as apart of the bundle feature in nix. As privately spoken to tomberek about the opinion on it.13:41:43
@eveeifyeve:matrix.orgeveeifyeve* Can someone tell me exactly what makeDarwinBundle does? Because I am trying to figure out if it's useful to nix bundlers.13:42:47
@eveeifyeve:matrix.orgeveeifyeve* Because I am currently in the process of upstreaming bundlers to nixpkgs and there is going to be makeBinaryBundle, makeAppImageBundle, makeDebBundle to start out with as apart of the bundle feature in nix. As privately spoken to tomberek about the opinion on it.14:02:50
@eveeifyeve:matrix.orgeveeifyeve* Because I am currently in the process of upstreaming bundlers to nixpkgs and there is going to be makeBinaryBundle, makeAppImageBundle, makeDebBundle to start out with as apart of the bundle feature in nix packaged in nixpkgs. As privately spoken to tomberek about the opinion on it.14:03:04
@reckenrode:matrix.orgRandy EckenrodeIsn’t there already a stalled PR for packaging Darwin applications from archives? Why would we have a helper per archive format?14:03:30
@reckenrode:matrix.orgRandy Eckenrode

Re: makeDarwinBundle

See: https://github.com/NixOS/nixpkgs/blob/91849ded6ed12d309e6697bea17e0bda5fdc7ad3/pkgs/build-support/make-darwin-bundle/default.nix#L1_L4

given a package with an executable and an icon, make a darwin bundle for

it. This package should be used when generating launchers for native Darwin

applications. If the package contains a .desktop file use

desktopToDarwinBundle instead.

14:05:08
@eveeifyeve:matrix.orgeveeifyeveIdk. I am trying to ask this.14:05:21
@reckenrode:matrix.orgRandy Eckenrode *

Re: makeDarwinBundle

See: https://github.com/NixOS/nixpkgs/blob/91849ded6ed12d309e6697bea17e0bda5fdc7ad3/pkgs/build-support/make-darwin-bundle/default.nix#L1_L4

given a package with an executable and an icon, make a darwin bundle for it. This package should be used when generating launchers for native Darwin applications. If the package contains a .desktop file use desktopToDarwinBundle instead.

14:05:28
@eveeifyeve:matrix.orgeveeifyeve* Idk. I am trying to ask what is this and if it's related14:05:34
@eveeifyeve:matrix.orgeveeifyeveI feel like this should be deprecated in 26.1114:06:14
@eveeifyeve:matrix.orgeveeifyeve* I feel like this should be deprecated in 26.11, do you agree?14:06:25
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/pull/29349814:06:32
@reckenrode:matrix.orgRandy EckenrodeWhy?14:06:38
@eveeifyeve:matrix.orgeveeifyeveNo see of need and there is an alternative.14:07:07
@reckenrode:matrix.orgRandy Eckenrode It’s to create wrapper app bundles for applications that just have a binary and an icon. That’s a distinct use case from generating wrappers for .desktop files. 14:08:25
@eveeifyeve:matrix.orgeveeifyeveCan't you just do that with the install command?14:09:02
@reckenrode:matrix.orgRandy Eckenrode No. This is for applications that ship only a bare $out/bin/<exe>. Not everything that builds and runs on Darwin bothers to create a nice app bundle for it. 14:10:35
@eveeifyeve:matrix.orgeveeifyeveSo is this useful relating to nix bundlers?14:12:30
@reckenrode:matrix.orgRandy EckenrodeThere’s probably an argument that all the ways to make app bundles should use a common set of primitives. I don’t think they do right now.14:12:32
@reckenrode:matrix.orgRandy EckenrodeWhat do bundlers do?14:12:57
@eveeifyeve:matrix.orgeveeifyevebundler is a function over a value (useally a drv) that produces another drv.14:14:10
@eveeifyeve:matrix.orgeveeifyeveSo like hello, produces a docker image.14:14:24
@eveeifyeve:matrix.orgeveeifyeve* So like hello, produces a docker image with hello.14:14:34

Show newer messages


Back to Room ListRoom Version: 6