* "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
This commit is contained in:
@@ -30,7 +30,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||
|
||||
# !!! cut&paste from rpm-build.nix
|
||||
postHook = ''
|
||||
ensureDir $out/nix-support
|
||||
mkdir -p $out/nix-support
|
||||
cat "$diskImage"/nix-support/full-name > $out/nix-support/full-name
|
||||
|
||||
# If `src' is the result of a call to `makeSourceTarball', then it
|
||||
@@ -67,7 +67,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||
--provides="${concatStringsSep "," debProvides}" \
|
||||
make install
|
||||
|
||||
ensureDir $out/debs
|
||||
mkdir -p $out/debs
|
||||
find . -name "*.deb" -exec cp {} $out/debs \;
|
||||
|
||||
[ "$(echo $out/debs/*.deb)" != "" ]
|
||||
|
||||
Reference in New Issue
Block a user