diff options
Diffstat (limited to 'pkgs/build-support/build-fhs-chrootenv/default.nix')
-rw-r--r-- | pkgs/build-support/build-fhs-chrootenv/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/build-fhs-chrootenv/default.nix b/pkgs/build-support/build-fhs-chrootenv/default.nix index 461f4762aba6..dfce8edcb23d 100644 --- a/pkgs/build-support/build-fhs-chrootenv/default.nix +++ b/pkgs/build-support/build-fhs-chrootenv/default.nix @@ -1,4 +1,4 @@ -{ stdenv } : { env } : +{ stdenv } : { env, extraInstallCommands ? "" } : let # References to shell scripts that set up or tear down the environment @@ -43,5 +43,6 @@ in stdenv.mkDerivation { -e "s|@name@|${name}|g" \ ${destroySh} > destroy-${name}-chrootenv chmod +x destroy-${name}-chrootenv + ${extraInstallCommands} ''; } |