summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/gimp/plugins/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/gimp/plugins/default.nix')
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 3c900ca1eba2..b80d27bfcf9b 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -15,11 +15,11 @@ let
prePhases = "extraLib";
extraLib = ''
installScripts(){
- ensureDir ${targetScriptDir};
+ mkdir -p ${targetScriptDir};
for p in "$@"; do cp "$p" ${targetScriptDir}; done
}
installPlugins(){
- ensureDir ${targetPluginDir};
+ mkdir -p ${targetPluginDir};
for p in "$@"; do cp "$p" ${targetPluginDir}; done
}
'';
@@ -137,7 +137,7 @@ rec {
url = http://registry.gimp.org/files/gimp-lqr-plugin-0.6.1.tar.bz2;
sha256 = "00hklkpcimcbpjly4rjhfipaw096cpy768g9wixglwrsyqhil7l9";
};
- #postInstall = ''ensureDir $out/nix-support; echo "${libLQR}" > "$out/nix-support/propagated-user-env-packages"'';
+ #postInstall = ''mkdir -p $out/nix-support; echo "${libLQR}" > "$out/nix-support/propagated-user-env-packages"'';
installPhase = "installPlugins src/gimp-lqr-plugin";
};
@@ -190,7 +190,7 @@ rec {
};
installPhase = "
installPlugins ufraw-gimp
- ensureDir $out/bin
+ mkdir -p $out/bin
cp ufraw $out/bin
";
};
@@ -209,7 +209,7 @@ rec {
installPhase = "
installPlugins gimplensfun
- ensureDir $out/bin
+ mkdir -p $out/bin
cp gimplensfun $out/bin
";