diff options
Diffstat (limited to 'pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix')
-rw-r--r-- | pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix b/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix index 67931a07dd40..4eeb3b0f169c 100644 --- a/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix +++ b/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix @@ -12,6 +12,7 @@ , targetPkgs ? pkgs: [] , multiPkgs ? pkgs: [] , multiArch ? false # Whether to include 32bit packages +, nativeBuildInputs ? [] , extraBuildCommands ? "" , extraBuildCommandsMulti ? "" , extraOutputsToInstall ? [] @@ -34,7 +35,7 @@ # /lib will link to /lib32 let - inherit (stdenv) is64bit; + inherit (stdenv.hostPlatform) is64bit; name = if (args ? pname && args ? version) then "${args.pname}-${args.version}" @@ -257,6 +258,7 @@ let ''; in runCommandLocal "${name}-fhs" { + inherit nativeBuildInputs; passthru = { inherit args baseTargetPaths targetPaths baseMultiPaths ldconfig isMultiBuild; }; |