diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix index 06524b3b729..10d353422f8 100644 --- a/pkgs/build-support/vm/default.nix +++ b/pkgs/build-support/vm/default.nix @@ -458,6 +458,8 @@ rec { ''; installPhase = '' + eval "$preInstall" + ensureDir $out/$outDir find /usr/src -name "*.rpm" -exec cp {} $out/$outDir \; @@ -466,6 +468,8 @@ rec { rpm -qip $i stopNest done + + eval "$postInstall" ''; # */ } // attrs));