mc: remove unwanted build-dependency references

fixes #25836
This commit is contained in:
Jörg Thalheim 2017-05-17 00:15:07 +01:00
parent ea229a26a3
commit fb19aac85d
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-vfs-smb" ];
postFixup = ''
# remove unwanted build-dependency references
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
'';
meta = {
description = "File Manager and User Shell for the GNU Project";
homepage = http://www.midnight-commander.org;