* "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:
@@ -24,10 +24,10 @@ stdenv.mkDerivation rec {
|
||||
# Install Emacs mode.
|
||||
cd "contrib/xcscope"
|
||||
|
||||
ensureDir "$out/libexec/cscope"
|
||||
mkdir -p "$out/libexec/cscope"
|
||||
cp "cscope-indexer" "$out/libexec/cscope"
|
||||
|
||||
ensureDir "$out/share/emacs/site-lisp"
|
||||
mkdir -p "$out/share/emacs/site-lisp"
|
||||
emacs --batch --eval '(byte-compile-file "xcscope.el")'
|
||||
cp xcscope.el{,c} "$out/share/emacs/site-lisp"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user