mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
Don't use ensureDir
This commit is contained in:
parent
7f410ef923
commit
4f7289eec9
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
mkdir -p $out/bin
|
||||
cp bin/* $out/bin
|
||||
'';
|
||||
|
||||
|
@ -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/
|
||||
'';
|
||||
|
||||
|
@ -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
|
||||
'';
|
||||
|
@ -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
|
||||
'';
|
||||
|
||||
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preBuild = ''
|
||||
export INSTALL_ROOT=$out
|
||||
ensureDir test-home
|
||||
mkdir -p test-home
|
||||
export HOME=$PWD/test-home
|
||||
'';
|
||||
|
||||
|
@ -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/
|
||||
'';
|
||||
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
mkdir -p $out/bin
|
||||
mv etcdctl $out/bin
|
||||
'';
|
||||
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
mkdir -p $out/bin
|
||||
mv gocode $out/bin
|
||||
'';
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
@ -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
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
mkdir -p $out/bin
|
||||
mv etcd $out/bin/etcd
|
||||
'';
|
||||
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
mkdir -p $out/bin
|
||||
mv fleet $out/bin
|
||||
'';
|
||||
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
mkdir -p $out/bin
|
||||
mv build/* $out/bin
|
||||
'';
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user