Trying to use the example from the front page / README.md:
$ ./nix-bundle.sh hello /bin/hello
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'arx'
whose name attribute is located at /nix/store/z455k4pqp0wxszp4y09by73n55wzsm9i-nixpkgs-source/pkgs/stdenv/generic/make-derivation.nix:541:13
… while evaluating attribute 'buildCommand' of derivation 'arx'
at /home/bf/inbox/nix-bundle/default.nix:37:7:
36| };
37| buildCommand = ''
| ^
38| # tmpdir has a additional `/` in the beginning to work around `QualifiedPath` checking for `|/|./|../|`
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: Package ‘bytestring-nums-0.3.6’ in /nix/store/z455k4pqp0wxszp4y09by73n55wzsm9i-nixpkgs-source/pkgs/development/haskell-modules/hackage-packages.nix:122068 is marked as broken, refusing to evaluate.
a) To temporarily allow broken packages, you can use an environment variable
for a single invocation of the nix tools.
$ export NIXPKGS_ALLOW_BROKEN=1
Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
then pass `--impure` in order to allow use of environment variables.
b) For `nixos-rebuild` you can set
{ nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
error: path '/home/bf/nix-bundle' is not in the Nix store
./nix-bundle.sh failed. Exiting.
This is on NixOS 25.11.
Maybe nix-bundle should pin its build time dependencies (if that's what causing the problem here) from a well known / good nixpkgs version, seeing as nixpkgs is so unstable...
Trying to use the example from the front page / README.md:
This is on NixOS 25.11.
Maybe nix-bundle should pin its build time dependencies (if that's what causing the problem here) from a well known / good nixpkgs version, seeing as nixpkgs is so unstable...