mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
Making cscope cross build (avoiding emacs in it)
svn path=/nixpkgs/branches/stdenv-updates/; revision=23127
This commit is contained in:
parent
f9692a7f40
commit
e97ad11560
@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = "--with-ncurses=${ncurses}";
|
||||
|
||||
buildInputs = [ ncurses pkgconfig emacs ];
|
||||
buildInputs = [ ncurses emacs ];
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
postInstall = ''
|
||||
# Install Emacs mode.
|
||||
@ -31,6 +32,11 @@ stdenv.mkDerivation rec {
|
||||
cp xcscope.el{,c} "$out/share/emacs/site-lisp"
|
||||
'';
|
||||
|
||||
crossAttrs = {
|
||||
postInstall = "";
|
||||
propagatedBuildInputs = [ ncurses.hostDrv ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Cscope, a developer's tool for browsing source code";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user