uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
12
pkgs/development/interpreters/perl/setup-hook-cross.sh
Normal file
12
pkgs/development/interpreters/perl/setup-hook-cross.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
addPerlLibPath () {
|
||||
addToSearchPath PERL5LIB $1/lib/perl5/site_perl/@version@
|
||||
addToSearchPath PERL5LIB $1/lib/perl5/site_perl/cross_perl/@version@
|
||||
# Adding the arch-specific directory is morally incorrect, as
|
||||
# miniperl can't load the native modules there. However, it can
|
||||
# (and sometimes needs to) load and run some of the pure perl
|
||||
# code there, so we add it anyway. When needed, stubs can be put
|
||||
# into $1/lib/perl5/site_perl/cross_perl/@version@
|
||||
addToSearchPath PERL5LIB $1/lib/perl5/site_perl/@version@/@runtimeArch@
|
||||
}
|
||||
|
||||
addEnvHooks "$hostOffset" addPerlLibPath
|
||||
Loading…
Add table
Add a link
Reference in a new issue