$ nix bundle --bundler github:NixOS/bundlers nixpkgs#hello
error: Package ‘nix-user-chroot-2c52b5f’ in /nix/store/1rc10ydlf4c2aphrg2z2dxaaikbggba0-source/default.nix:49 is not supported on ‘x86_64-darwin’, refusing to evaluate.
a) For `nixos-rebuild` you can set
{ nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.
b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)
reading the upstream documentation for the tool this was based upon, it seems this is expected, just not documented here?
similarly, toDockerImage succeeds, but packs a mach-o binary into into a docker image: (nixpkgs#pkgsCross.musl64.hello works as expected)
x86_64-darwin
andaarch64-darwin
are listed as "supportedSystems", but the following error is returned:https://github.com/NixOS/bundlers/blob/b11f6a6b4d96ad424dc927fa211d1a1ac50179ef/flake.nix#L15
reading the upstream documentation for the tool this was based upon, it seems this is expected, just not documented here?
similarly,
toDockerImage
succeeds, but packs a mach-o binary into into a docker image: (nixpkgs#pkgsCross.musl64.hello
works as expected)this will be made moot if #2 is fixed.