!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
29 Mar 2026
@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
@eveeifyeve:matrix.orgeveeifyeveWhich is based on the nix bundle command, which it's intended usecase is to make anything work outside of the store.14:15:14
@eveeifyeve:matrix.orgeveeifyeve* Which is based on the nix bundle command, which it's intended usecase is to make anything work outside of the store/without nix.14:15:24
@reckenrode:matrix.orgRandy Eckenrode What is the user-facing output of, e.g., makeBinaryBundle? 14:15:26
@reckenrode:matrix.orgRandy EckenrodeAh, there it is. What’s the expected level of support?14:16:07
@eveeifyeve:matrix.orgeveeifyeveI am not too sure, I would assume none.14:16:46
@eveeifyeve:matrix.orgeveeifyeve* I am not too sure, I would assume none outside of the store/without nix.14:17:04
@reckenrode:matrix.orgRandy EckenrodeWhy does this need to be upstreamed (vs. remaining in a third party repo that can iterate more quickly and not be tied to nixpkgs releases)?14:17:16

Show newer messages


Back to Room ListRoom Version: 6