git-annex: patch unpure /usr/bin/perl path in mdwn2man script

svn path=/nixpkgs/trunk/; revision=26476
This commit is contained in:
Peter Simons 2011-03-23 21:05:01 +00:00
parent fd81655bfb
commit 4e6bc23b70

View file

@ -15,7 +15,10 @@ stdenv.mkDerivation {
buildInputs = [ghc libuuid rsync findutils curl perl MissingH utf8String QuickCheck2
pcreLight];
preConfigure = "makeFlagsArray=( PREFIX=$out )";
preConfigure = ''
makeFlagsArray=( PREFIX=$out )
sed -i -e 's|#!/usr/bin/perl|#!${perl}/bin/perl|' mdwn2man
'';
meta = {
description = "Manage files with git, without checking the file contents into git";