diff options
Diffstat (limited to 'pkgs/tools/graphics/pdfread/default.nix')
-rw-r--r-- | pkgs/tools/graphics/pdfread/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/graphics/pdfread/default.nix b/pkgs/tools/graphics/pdfread/default.nix index 1fc14445bbdb..fd26174f197a 100644 --- a/pkgs/tools/graphics/pdfread/default.nix +++ b/pkgs/tools/graphics/pdfread/default.nix @@ -27,13 +27,13 @@ stdenv.mkDerivation { ''; installPhase = '' - ensureDir $out/bin + mkdir -p $out/bin cp pdfread.py $out/bin chmod +x $out/bin/pdfread.py LIBSUFFIX=lib/${python.libPrefix}/site-packages/ PYDIR=$out/$LIBSUFFIX - ensureDir $PYDIR + mkdir -p $PYDIR cp -R *.py pylrs $PYDIR wrapProgram $out/bin/pdfread.py --prefix PYTHONPATH : $PYTHONPATH:${pil}/$LIBSUFFIX/PIL:$PYDIR \ |