deer: simpler perl patch

This commit is contained in:
Jörg Thalheim 2017-08-31 07:05:18 +01:00
parent 6b05ff00e9
commit 6d988e5e56

View File

@ -14,9 +14,8 @@ in stdenv.mkDerivation {
};
prePatch = ''
sed -i '157s/perl/'\
"$(echo ${perl}/bin/perl | sed 's/\//\\\//g')"'/' \
deer
substituteInPlace deer \
--replace " perl " " ${perl}/bin/perl "
'';
patches = [ ./realpath.patch ];