3
0
Fork 0
forked from mirrors/nixpkgs

Don't use ensureDir

This commit is contained in:
Eelco Dolstra 2014-07-22 11:01:32 +02:00
parent 7f410ef923
commit 4f7289eec9
16 changed files with 27 additions and 27 deletions

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
cp bin/* $out/bin
'';

View file

@ -17,15 +17,15 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
rsync -av bin/* $out/bin/
ensureDir $out/share/emacs/site-lisp/twelf/
mkdir -p $out/share/emacs/site-lisp/twelf/
rsync -av emacs/ $out/share/emacs/site-lisp/twelf/
ensureDir $out/share/twelf/examples
mkdir -p $out/share/twelf/examples
rsync -av examples/ $out/share/twelf/examples/
ensureDir $out/share/twelf/vim
mkdir -p $out/share/twelf/vim
rsync -av vim/ $out/share/twelf/vim/
'';

View file

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ go ];
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
export GOPATH=$src
go build -v -o $out/bin/gox github.com/mitchellh/gox
'';

View file

@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
};
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
cp -p src/runtime/sbcl $out/bin
ensureDir $out/share/sbcl
mkdir -p $out/share/sbcl
cp -p output/sbcl.core $out/share/sbcl
'';

View file

@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
preBuild = ''
export INSTALL_ROOT=$out
ensureDir test-home
mkdir -p test-home
export HOME=$PWD/test-home
'';

View file

@ -22,10 +22,10 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
rsync -av bin/ $out/bin/
ensureDir $out/lib
mkdir -p $out/lib
rsync -av lib/ $out/lib/
'';

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
mv etcdctl $out/bin
'';

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
mv gocode $out/bin
'';

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
XC_ARCH=$(go env GOARCH)
XC_OS=$(go env GOOS)
ensureDir $out/bin
mkdir -p $out/bin
cd $src/src/github.com/mitchellh/packer
gox \

View file

@ -406,7 +406,7 @@ in rec
};
unpackPhase = ":";
installPhase = ''
ensureDir $out/share/vim-plugins/vim-a
mkdir -p $out/share/vim-plugins/vim-a
cp ${src} $out/share/vim-plugins/vim-a/a.vim
'';
};

View file

@ -9,8 +9,8 @@ in stdenv.mkDerivation {
};
preBuild = ''
ensureDir $out/bin
ensureDir $out/share/man/man1
mkdir -p $out/bin
mkdir -p $out/share/man/man1
substituteInPlace Makefile \
--replace /usr $out

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
mv etcd $out/bin/etcd
'';

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
mv fleet $out/bin
'';

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
mv build/* $out/bin
'';

View file

@ -15,11 +15,11 @@ stdenv.mkDerivation rec {
dontPatchShebangs = true;
installPhase = ''
ensureDir $out/bin
ensureDir $out/vendor
ensureDir $out/lib
ensureDir $out/locales
ensureDir $out/patterns
mkdir -p $out/bin
mkdir -p $out/vendor
mkdir -p $out/lib
mkdir -p $out/locales
mkdir -p $out/patterns
cp -a bin $out
cp -a vendor $out
cp -a lib $out

View file

@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
propagatedUserEnvPkgs = [ djvulibre ghostscript ];
installPhase = ''
ensureDir $out/bin
mkdir -p $out/bin
cp -p djvu2pdf $out/bin
ensureDir $out/man/man1
mkdir -p $out/man/man1
cp -p djvu2pdf.1.gz $out/man/man1
'';