about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/unionfs-fuse
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-30 14:56:10 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-30 14:56:10 +0200
commit40f7b0f9df5a35d56d4f44fc02067f49d104a191 (patch)
tree618348fbe292e1308c9f3c703f3b02c16ebe0b1c /pkgs/tools/filesystems/unionfs-fuse
parent47075812ce0ca06e647ca8d2ab439dce060055a2 (diff)
Another attempt to eradicate ensureDir
See c556a6ea46e71e1907d78b71fab36df30297b3ad.
Diffstat (limited to 'pkgs/tools/filesystems/unionfs-fuse')
-rw-r--r--pkgs/tools/filesystems/unionfs-fuse/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/unionfs-fuse/default.nix b/pkgs/tools/filesystems/unionfs-fuse/default.nix
index bff5aaf242ba9..23340f88376b2 100644
--- a/pkgs/tools/filesystems/unionfs-fuse/default.nix
+++ b/pkgs/tools/filesystems/unionfs-fuse/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
   # This must be done in preConfigure because the build process removes
   # helper from the source directory during the build.
   preConfigure = ''
-    ensureDir $out/sbin
+    mkdir -p $out/sbin
     cp -a mount.unionfs $out/sbin/mount.unionfs-fuse
     substituteInPlace $out/sbin/mount.unionfs-fuse --replace mount.fuse ${fuse}/sbin/mount.fuse
     substituteInPlace $out/sbin/mount.unionfs-fuse --replace unionfs $out/bin/unionfs