cask: Fix cask usage
Without python as a dependency I only get the following error: /usr/bin/env: ‘python’: No such file or directory
This commit is contained in:
parent
859a32bfdb
commit
4f297c2b6f
|
@ -10,10 +10,15 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ emacsPackages.emacs ];
|
||||||
buildInputs = with emacsPackages; [
|
buildInputs = with emacsPackages; [
|
||||||
s f dash ansi ecukes servant ert-runner el-mock
|
s f dash ansi ecukes servant ert-runner el-mock
|
||||||
noflet ert-async shell-split-string git package-build
|
noflet ert-async shell-split-string git package-build
|
||||||
|
] ++ [
|
||||||
|
python
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
emacs --batch -L . -f batch-byte-compile cask.el cask-cli.el
|
emacs --batch -L . -f batch-byte-compile cask.el cask-cli.el
|
||||||
'';
|
'';
|
||||||
|
@ -38,11 +43,9 @@ stdenv.mkDerivation rec {
|
||||||
Cask can also be used to manage dependencies for your local Emacs configuration.
|
Cask can also be used to manage dependencies for your local Emacs configuration.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = https://cask.readthedocs.io/en/latest/index.html;
|
homepage = "https://cask.readthedocs.io/en/latest/index.html";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.flexw ];
|
maintainers = [ maintainers.flexw ];
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ emacsPackages.emacs python ];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue