diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-01-18 19:44:16 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-01-18 19:44:16 +0000 |
commit | 01f48c7fc1b73a544017bb2b0303b8b59d26cafb (patch) | |
tree | e534e3a2aff74ece5085ea8abb1b4ea69147b0ad /pkgs/tools/misc | |
parent | 03fb0e59efd37c9abdc40e101eb8834635a70418 (diff) |
* Fix "most". Not clear how passing "-ncurses" to the linker ever
worked. svn path=/nixpkgs/branches/stdenv-updates/; revision=31641
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/most/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/tools/misc/most/default.nix b/pkgs/tools/misc/most/default.nix index 98e5d5c25af5a..941d805a6ffb2 100644 --- a/pkgs/tools/misc/most/default.nix +++ b/pkgs/tools/misc/most/default.nix @@ -1,22 +1,23 @@ -{stdenv, fetchurl, slang}: +{ stdenv, fetchurl, slang, ncurses }: stdenv.mkDerivation { name = "most-5.0.0"; src = fetchurl { - url = ftp://space.mit.edu/pub/davis/most/most-5.0.0.tar.bz2; - sha256 = "1f5x7rvjg89b5klfqs1gb91jmbnd3fy08d8rwgdvgg0plqkxr7ja"; + url = ftp://space.mit.edu/pub/davis/most/most-5.0.0.tar.bz2; + sha256 = "1f5x7rvjg89b5klfqs1gb91jmbnd3fy08d8rwgdvgg0plqkxr7ja"; }; preConfigure = '' - sed -i -e "s|-ltermcap|-ncurses|" configure + sed -i -e "s|-ltermcap|-lncurses|" configure sed -i autoconf/Makefile.in src/Makefile.in \ -e "s|/bin/cp|cp|" \ -e "s|/bin/rm|rm|" ''; + configureFlags = "--with-slang=${slang}"; - buildInputs = [ slang ]; + buildInputs = [ slang ncurses ]; meta = { description = '' |