···13 };
14 buildInputs = [ python ];
15 installPhase = ''
16- ensureDir $out/bin
17 # Make it work for kernels 3.x, not so different than 2.6
18 sed -i 's/2\.6/4.0/' system_health.py
19 cp system_health.py $out/bin
···13 };
14 buildInputs = [ python ];
15 installPhase = ''
16+ mkdir -p $out/bin
17 # Make it work for kernels 3.x, not so different than 2.6
18 sed -i 's/2\.6/4.0/' system_health.py
19 cp system_health.py $out/bin
···250251 ./Setup copy
252253- ensureDir $out/bin # necessary to get it added to PATH
254255 local confDir=$out/lib/ghc-${ghc.ghc.version}/package.conf.d
256 local installedPkgConf=$confDir/${self.fname}.installedconf
257 local pkgConf=$confDir/${self.fname}.conf
258- ensureDir $confDir
259 ./Setup register --gen-pkg-config=$pkgConf
260 if test -f $pkgConf; then
261 echo '[]' > $installedPkgConf
···250251 ./Setup copy
252253+ mkdir -p $out/bin # necessary to get it added to PATH
254255 local confDir=$out/lib/ghc-${ghc.ghc.version}/package.conf.d
256 local installedPkgConf=$confDir/${self.fname}.installedconf
257 local pkgConf=$confDir/${self.fname}.conf
258+ mkdir -p $confDir
259 ./Setup register --gen-pkg-config=$pkgConf
260 if test -f $pkgConf; then
261 echo '[]' > $installedPkgConf
···65 exit 1
66 fi
6768- ensureDir $out/share/hoogle/doc
69 export HOOGLE_DOC_PATH=$out/share/hoogle/doc
7071 cd $out/share/hoogle
···65 exit 1
66 fi
6768+ mkdir -p $out/share/hoogle/doc
69 export HOOGLE_DOC_PATH=$out/share/hoogle/doc
7071 cd $out/share/hoogle
+1-1
pkgs/development/mobile/androidenv/androidsdk.nix
···178179 # Create wrappers to the most important tools and platform tools so that we can run them if the SDK is in our PATH
180181- ensureDir $out/bin
182183 for i in $out/libexec/android-sdk-*/tools/*
184 do
···178179 # Create wrappers to the most important tools and platform tools so that we can run them if the SDK is in our PATH
180181+ mkdir -p $out/bin
182183 for i in $out/libexec/android-sdk-*/tools/*
184 do
···2021 installPhase = ''
22 kernelVersion=${kernel.modDirVersion}
23- ensureDir $out/lib/modules/$kernelVersion/misc
24 cp frandom.ko $out/lib/modules/$kernelVersion/misc
2526- ensureDir $out/lib/udev/rules.d
27 tee $out/lib/udev/rules.d/10-frandom.rules <<-EOF
28 #
29 # These are the rules for the frandom devices. In theory, we could let
···2021 installPhase = ''
22 kernelVersion=${kernel.modDirVersion}
23+ mkdir -p $out/lib/modules/$kernelVersion/misc
24 cp frandom.ko $out/lib/modules/$kernelVersion/misc
2526+ mkdir -p $out/lib/udev/rules.d
27 tee $out/lib/udev/rules.d/10-frandom.rules <<-EOF
28 #
29 # These are the rules for the frandom devices. In theory, we could let
···910 builder = writeScript "builder.sh" ''
11 . ${stdenv}/setup
12- ensureDir $out/share/dictd/
13 cd $out/share/dictd
1415 for i in ${wordnet}/dict/data.*; do
···910 builder = writeScript "builder.sh" ''
11 . ${stdenv}/setup
12+ mkdir -p $out/share/dictd/
13 cd $out/share/dictd
1415 for i in ${wordnet}/dict/data.*; do
+1-1
pkgs/servers/http/thttpd/default.nix
···14 '';
1516 preInstall = ''
17- ensureDir "$out/man/man1"
18 sed -i -e 's/-o bin -g bin *//' Makefile
19 sed -i -e '/chgrp/d' extras/Makefile
20 '';
···14 '';
1516 preInstall = ''
17+ mkdir -p "$out/man/man1"
18 sed -i -e 's/-o bin -g bin *//' Makefile
19 sed -i -e '/chgrp/d' extras/Makefile
20 '';
···116117 buildCommand = ''
118 set -x
119- ensureDir $out/bin $out/lib $out/libexec
120121 # Copy what we need of Glibc.
122 cp -d ${glibc}/lib/ld-*.so* $out/lib
···116117 buildCommand = ''
118 set -x
119+ mkdir -p $out/bin $out/lib $out/libexec
120121 # Copy what we need of Glibc.
122 cp -d ${glibc}/lib/ld-*.so* $out/lib
···25 # This must be done in preConfigure because the build process removes
26 # helper from the source directory during the build.
27 preConfigure = ''
28- ensureDir $out/sbin
29 cp -a mount.unionfs $out/sbin/mount.unionfs-fuse
30 substituteInPlace $out/sbin/mount.unionfs-fuse --replace mount.fuse ${fuse}/sbin/mount.fuse
31 substituteInPlace $out/sbin/mount.unionfs-fuse --replace unionfs $out/bin/unionfs
···25 # This must be done in preConfigure because the build process removes
26 # helper from the source directory during the build.
27 preConfigure = ''
28+ mkdir -p $out/sbin
29 cp -a mount.unionfs $out/sbin/mount.unionfs-fuse
30 substituteInPlace $out/sbin/mount.unionfs-fuse --replace mount.fuse ${fuse}/sbin/mount.fuse
31 substituteInPlace $out/sbin/mount.unionfs-fuse --replace unionfs $out/bin/unionfs