mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
perlPackages.WWWMechanizeCGI: Use substituteInPlace, should fix darwin build
This commit is contained in:
parent
6eab450ebd
commit
21cb877e11
@ -9039,7 +9039,10 @@ rec {
|
||||
sha256 = "046jm18liq7rwkdawdh9520cnalkfrk26yqryp7xgw71y65lvq61";
|
||||
};
|
||||
propagatedBuildInputs = [ HTTPRequestAsCGI WWWMechanize ];
|
||||
preConfigure = "sed -i 's|#!/usr/bin/perl|#!${perl}/bin/perl|' t/cgi-bin/script.cgi";
|
||||
preConfigure = ''
|
||||
substituteInPlace t/cgi-bin/script.cgi \
|
||||
--replace '#!/usr/bin/perl' '#!${perl}/bin/perl'
|
||||
'';
|
||||
meta = {
|
||||
maintainers = with maintainers; [ ocharles ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
|
Loading…
Reference in New Issue
Block a user