diff options
author | Marc Weber <marco-oweber@gmx.de> | 2008-02-03 23:33:54 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2008-02-03 23:33:54 +0000 |
commit | 9a9a078ccf2fd88c29caa473507662efb377c7bb (patch) | |
tree | c29d16248143f5796381e3b3cc43ccc3672150b5 /pkgs/tools/misc/mc | |
parent | 7468189bd34181e9f56a62eaa3a42e35963466ae (diff) | |
download | nixpkgs-9a9a078ccf2fd88c29caa473507662efb377c7bb.tar nixpkgs-9a9a078ccf2fd88c29caa473507662efb377c7bb.tar.gz nixpkgs-9a9a078ccf2fd88c29caa473507662efb377c7bb.tar.bz2 nixpkgs-9a9a078ccf2fd88c29caa473507662efb377c7bb.tar.lz nixpkgs-9a9a078ccf2fd88c29caa473507662efb377c7bb.tar.xz nixpkgs-9a9a078ccf2fd88c29caa473507662efb377c7bb.tar.zst nixpkgs-9a9a078ccf2fd88c29caa473507662efb377c7bb.zip |
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/trunk/; revision=10486
Diffstat (limited to 'pkgs/tools/misc/mc')
-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 5a9e994b4df..78f5259a889 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; |