about summary refs log tree commit diff
path: root/pkgs/development/python-modules/generic/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-01-18 20:16:00 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-01-18 20:16:00 +0000
commitc556a6ea46e71e1907d78b71fab36df30297b3ad (patch)
tree91a51d04a39ab4db1fb5182b56ce63cf9d9779b9 /pkgs/development/python-modules/generic/default.nix
parentf7159c195a623c311829c38c40ef010ac6e943f7 (diff)
* "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
  function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
Diffstat (limited to 'pkgs/development/python-modules/generic/default.nix')
-rw-r--r--pkgs/development/python-modules/generic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix
index 46149177320d9..4e0b610023167 100644
--- a/pkgs/development/python-modules/generic/default.nix
+++ b/pkgs/development/python-modules/generic/default.nix
@@ -50,7 +50,7 @@ python.stdenv.mkDerivation (attrs // {
   # XXX: Should we run `easy_install --always-unzip'?  It doesn't seem
   # to have a noticeable impact on small scripts.
   installPhase = ''
-    ensureDir "$out/lib/${python.libPrefix}/site-packages"
+    mkdir -p "$out/lib/${python.libPrefix}/site-packages"
 
     echo "installing \`${name}' with \`easy_install'..."
     export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH"