diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-02-05 09:34:39 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-02-05 09:34:39 +0000 |
commit | c583b8389bcd6f155a0b33a48adacc6e80a02535 (patch) | |
tree | 46d4cbe310648bfa6458e39d61187810daacc2ce /pkgs/tools/misc/mc | |
parent | 9f2711c674beff2b67e86ff8fa9f19f670256cfc (diff) | |
download | nixlib-c583b8389bcd6f155a0b33a48adacc6e80a02535.tar nixlib-c583b8389bcd6f155a0b33a48adacc6e80a02535.tar.gz nixlib-c583b8389bcd6f155a0b33a48adacc6e80a02535.tar.bz2 nixlib-c583b8389bcd6f155a0b33a48adacc6e80a02535.tar.lz nixlib-c583b8389bcd6f155a0b33a48adacc6e80a02535.tar.xz nixlib-c583b8389bcd6f155a0b33a48adacc6e80a02535.tar.zst nixlib-c583b8389bcd6f155a0b33a48adacc6e80a02535.zip |
* Remove a time-dependent impurity from mc which was caused by
touching all the source files. Depending on whether files were touched in the same second things would either be rebuilt (which would fail) or not. Maybe this breaks unzip support, not tested. svn path=/nixpkgs/trunk/; revision=10500
Diffstat (limited to 'pkgs/tools/misc/mc')
-rw-r--r-- | pkgs/tools/misc/mc/default.nix | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/tools/misc/mc/default.nix b/pkgs/tools/misc/mc/default.nix index 78f5259a8898..8f03756a2d3b 100644 --- a/pkgs/tools/misc/mc/default.nix +++ b/pkgs/tools/misc/mc/default.nix @@ -8,16 +8,13 @@ stdenv.mkDerivation rec { }; 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; - "; + makeFlags = "UNZIP=unzip"; + postInstall = '' + find $out -iname "*.pl" | xargs shebangfix; + ''; meta = { - description = "File Manager and User Shell for the GNU Project"; - homepage = http://www.ibiblio.org/mc; + description = "File Manager and User Shell for the GNU Project"; + homepage = http://www.ibiblio.org/mc; }; } |