···1313 };
1414 buildInputs = [ python ];
1515 installPhase = ''
1616- ensureDir $out/bin
1616+ mkdir -p $out/bin
1717 # Make it work for kernels 3.x, not so different than 2.6
1818 sed -i 's/2\.6/4.0/' system_health.py
1919 cp system_health.py $out/bin
···250250251251 ./Setup copy
252252253253- ensureDir $out/bin # necessary to get it added to PATH
253253+ mkdir -p $out/bin # necessary to get it added to PATH
254254255255 local confDir=$out/lib/ghc-${ghc.ghc.version}/package.conf.d
256256 local installedPkgConf=$confDir/${self.fname}.installedconf
257257 local pkgConf=$confDir/${self.fname}.conf
258258- ensureDir $confDir
258258+ mkdir -p $confDir
259259 ./Setup register --gen-pkg-config=$pkgConf
260260 if test -f $pkgConf; then
261261 echo '[]' > $installedPkgConf
···6565 exit 1
6666 fi
67676868- ensureDir $out/share/hoogle/doc
6868+ mkdir -p $out/share/hoogle/doc
6969 export HOOGLE_DOC_PATH=$out/share/hoogle/doc
70707171 cd $out/share/hoogle
+1-1
pkgs/development/mobile/androidenv/androidsdk.nix
···178178179179 # Create wrappers to the most important tools and platform tools so that we can run them if the SDK is in our PATH
180180181181- ensureDir $out/bin
181181+ mkdir -p $out/bin
182182183183 for i in $out/libexec/android-sdk-*/tools/*
184184 do
···20202121 installPhase = ''
2222 kernelVersion=${kernel.modDirVersion}
2323- ensureDir $out/lib/modules/$kernelVersion/misc
2323+ mkdir -p $out/lib/modules/$kernelVersion/misc
2424 cp frandom.ko $out/lib/modules/$kernelVersion/misc
25252626- ensureDir $out/lib/udev/rules.d
2626+ mkdir -p $out/lib/udev/rules.d
2727 tee $out/lib/udev/rules.d/10-frandom.rules <<-EOF
2828 #
2929 # These are the rules for the frandom devices. In theory, we could let
···991010 builder = writeScript "builder.sh" ''
1111 . ${stdenv}/setup
1212- ensureDir $out/share/dictd/
1212+ mkdir -p $out/share/dictd/
1313 cd $out/share/dictd
14141515 for i in ${wordnet}/dict/data.*; do
+1-1
pkgs/servers/http/thttpd/default.nix
···1414 '';
15151616 preInstall = ''
1717- ensureDir "$out/man/man1"
1717+ mkdir -p "$out/man/man1"
1818 sed -i -e 's/-o bin -g bin *//' Makefile
1919 sed -i -e '/chgrp/d' extras/Makefile
2020 '';
···2525 # This must be done in preConfigure because the build process removes
2626 # helper from the source directory during the build.
2727 preConfigure = ''
2828- ensureDir $out/sbin
2828+ mkdir -p $out/sbin
2929 cp -a mount.unionfs $out/sbin/mount.unionfs-fuse
3030 substituteInPlace $out/sbin/mount.unionfs-fuse --replace mount.fuse ${fuse}/sbin/mount.fuse
3131 substituteInPlace $out/sbin/mount.unionfs-fuse --replace unionfs $out/bin/unionfs