File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 4
4
stdenv . mkDerivation rec {
5
5
name = "mc-${ version } " ;
6
6
version = "4.8.19" ;
7
-
7
+
8
8
src = fetchurl {
9
9
url = "http://www.midnight-commander.org/downloads/${ name } .tar.xz" ;
10
10
sha256 = "1pzjq4nfxl2aakxipdjs5hq9n14374ly1l00s40kd2djnnxmd7pb" ;
11
11
} ;
12
-
12
+
13
13
buildInputs = [ pkgconfig perl glib slang zip unzip file gettext libX11 libICE
14
14
libssh2 openssl ] ++ stdenv . lib . optionals ( ! stdenv . isDarwin ) [ e2fsprogs gpm ] ;
15
15
16
16
configureFlags = [ "--enable-vfs-smb" ] ;
17
17
18
+ postFixup = ''
19
+ # remove unwanted build-dependency references
20
+ sed -i -e "s!PKG_CONFIG_PATH='' ${PKG_CONFIG_PATH}!PKG_CONFIG_PATH=$(echo "$PKG_CONFIG_PATH" | sed -e 's/./0/g')!" $out/bin/mc
21
+ '' ;
22
+
18
23
meta = {
19
24
description = "File Manager and User Shell for the GNU Project" ;
20
25
homepage = http://www.midnight-commander.org ;
You can’t perform that action at this time.
3 commit comments
peterhoeg commentedon May 17, 2017
Can't we simply move
pkgconfig
tonativeBuildInputs
and get this for free?Mic92 commentedon May 17, 2017
@peterhoeg how does it help with strings in the binary?
peterhoeg commentedon May 17, 2017
Indeed it does not.