about summary refs log tree commit diff
path: root/pkgs/build-support/build-fhsenv-chroot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/build-fhsenv-chroot/default.nix')
-rw-r--r--pkgs/build-support/build-fhsenv-chroot/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/build-fhsenv-chroot/default.nix b/pkgs/build-support/build-fhsenv-chroot/default.nix
index 6f0adfb4e08c..b1d9630ae8f9 100644
--- a/pkgs/build-support/build-fhsenv-chroot/default.nix
+++ b/pkgs/build-support/build-fhsenv-chroot/default.nix
@@ -2,7 +2,7 @@
 
 let buildFHSEnv = callPackage ./env.nix { }; in
 
-args@{ name, version ? null, runScript ? "bash", extraInstallCommands ? "", meta ? {}, passthru ? {}, ... }:
+args@{ name, version ? null, runScript ? "bash", nativeBuildInputs ? [], extraInstallCommands ? "", meta ? {}, passthru ? {}, ... }:
 
 let
   env = buildFHSEnv (removeAttrs args [ "version" "runScript" "extraInstallCommands" "meta" "passthru" ]);
@@ -28,7 +28,7 @@ let
   nameAndVersion = name + versionStr;
 
 in runCommandLocal nameAndVersion {
-  inherit meta;
+  inherit nativeBuildInputs meta;
 
   passthru = passthru // {
     env = runCommandLocal "${name}-shell-env" {