Don't know wether you want to build perl and zip because of mc.. But one of mc's features is beeing able to unpack on the fly. You can do that now (.zip)
svn path=/nixpkgs/branches/stdenv-updates/; revision=10579
This commit is contained in:
parent
591ae36522
commit
703135a4de
|
@ -6,8 +6,15 @@ stdenv.mkDerivation rec {
|
|||
url = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/${name}.tar.gz";
|
||||
sha256 = "0zly25mwdn84s0wqx9mzyqi177mm828716nv1n6a4a5cm8yv0sh8";
|
||||
};
|
||||
buildInputs = [pkgconfig glib ncurses libX11];
|
||||
buildInputs = [pkgconfig glib ncurses libX11 shebangfix perl zip];
|
||||
configureFlags = "--with-screen=ncurses";
|
||||
# small hacks to support zip
|
||||
postUnpack = "
|
||||
sed -i 's=/usr/bin/==g' `find -type f`
|
||||
";
|
||||
postInstall = "
|
||||
find \$out -iname \"*.pl\" | xargs shebangfix;
|
||||
";
|
||||
meta = {
|
||||
description = "File Manager and User Shell for the GNU Project";
|
||||
homepage = http://www.ibiblio.org/mc;
|
||||
|
|
|
@ -632,7 +632,7 @@ rec {
|
|||
};
|
||||
|
||||
mc = import ../tools/misc/mc {
|
||||
inherit fetchurl stdenv pkgconfig ncurses;
|
||||
inherit fetchurl stdenv pkgconfig ncurses shebangfix perl zip;
|
||||
inherit (gtkLibs) glib;
|
||||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue