* "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:
@@ -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"
|
||||
|
||||
@@ -19,7 +19,7 @@ rec {
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["mkDirs" "installPythonPackage"];
|
||||
mkDirs = a.fullDepEntry(''
|
||||
ensureDir $out/bin $out/lib $out/share $(toPythonPath $out)
|
||||
mkdir -p $out/bin $out/lib $out/share $(toPythonPath $out)
|
||||
export PYTHONPATH=$PYTHONPATH:$(toPythonPath $out)
|
||||
'') ["defEnsureDir" "addInputs"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user