mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 04:34:46 +00:00
perl: support structuredAttrs in generic builder
Tested perlPackages.GSSAPI with and without __structuredAttrs.
This commit is contained in:
parent
1bcca7d66b
commit
581aebcdad
@ -23,7 +23,10 @@ preConfigure() {
|
||||
fi
|
||||
done
|
||||
|
||||
perl Makefile.PL PREFIX=$out INSTALLDIRS=site $makeMakerFlags PERL=$(type -P perl) FULLPERL=\"$fullperl/bin/perl\"
|
||||
local flagsArray=()
|
||||
concatTo flagsArray makeMakerFlags
|
||||
|
||||
perl Makefile.PL PREFIX=$out INSTALLDIRS=site "${flagsArray[@]}" PERL=$(type -P perl) FULLPERL=\"$fullperl/bin/perl\"
|
||||
}
|
||||
|
||||
if test -n "$perlPreHook"; then
|
||||
|
Loading…
Reference in New Issue
Block a user