diff options
author | Yury G. Kudryashov | 2008-02-10 17:37:10 +0000 |
---|---|---|
committer | Yury G. Kudryashov | 2008-02-10 17:37:10 +0000 |
commit | 703135a4de1565e98f16aaf889500f6d7b10aaa0 (patch) | |
tree | aa63a2750aadf34e8aec85c9010be1aca8229acd /pkgs/tools/misc | |
parent | 591ae36522a0f8906702b635a9014fafcf0191ff (diff) |
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
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/mc/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/tools/misc/mc/default.nix b/pkgs/tools/misc/mc/default.nix index e5cce46bba85..b82ad4cd3e6f 100644 --- a/pkgs/tools/misc/mc/default.nix +++ b/pkgs/tools/misc/mc/default.nix @@ -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; |