We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So, I tried to see if I could cross compile a package I made (not yet merged). I found the strange error
error: attribute 'runtimeShell' missing at /nix/store/2mkfc16s5pw8xbzrgbvnm9643mph50c3-nixos-21.11pre304909.d0044b0e7d5/nixos/pkgs/top-level/all-packages.nix:621:79: 620| 621| makeWrapper = makeSetupHook { deps = [ dieHook ]; substitutions = { shell = targetPackages.runtimeShell; }; } | ^ 622| ../build-support/setup-hooks/make-wrapper.sh; (use '--show-trace' to show detailed location information)
This seems to affect every package that use makeWrapper
Steps to reproduce the behavior:
nix-build "<nixpkgs>" --arg crossSystem "{ config = \"x86_64-pc-linux-gnu\"; }" -A asciidoctor
The build succeed or fail due to a package not being compatible with cross-compilation
It seemed to work in the past : #120726
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m" - system: `"x86_64-linux"` - host os: `Linux 5.12.17, NixOS, 21.11.20210720.578dd8d (Porcupine)` - multi-user?: `yes` - sandbox: `yes` - version: `nix-env (Nix) 2.4pre20210601_5985b8b` - channels(root): `"nixos-21.11pre304909.d0044b0e7d5"` - channels(marius): `"home-manager, mariusnur, mlpnur, nur, ricenur"` - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Maintainer information:
# a list of nixpkgs attributes affected by the problem attribute: makeWrapper # a list of nixos modules affected by the problem module:
The text was updated successfully, but these errors were encountered:
This is actually a duplicate of #116504
In particular, it says :
"Moving makeWrapper to nativeBuildInput might help for this." (and it did)
Sorry, something went wrong.
No branches or pull requests
Describe the bug
So, I tried to see if I could cross compile a package I made (not yet merged). I found the strange error
This seems to affect every package that use makeWrapper
Steps To Reproduce
Steps to reproduce the behavior:
nix-build "<nixpkgs>" --arg crossSystem "{ config = \"x86_64-pc-linux-gnu\"; }" -A asciidoctor
Expected behavior
The build succeed or fail due to a package not being compatible with cross-compilation
Additional information
It seemed to work in the past : #120726
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: