mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Fixing the doublePatchelf in initrd; it should be for all ARM.
This commit is contained in:
parent
5eb6e7a21e
commit
39ccd50896
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ let
|
||||||
extraUtils = pkgs.runCommand "extra-utils"
|
extraUtils = pkgs.runCommand "extra-utils"
|
||||||
{ buildInputs = [pkgs.nukeReferences];
|
{ buildInputs = [pkgs.nukeReferences];
|
||||||
allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd
|
allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd
|
||||||
doublePatchelf = (pkgs.stdenv.system == "armv5tel-linux");
|
doublePatchelf = pkgs.stdenv.isArm;
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
mkdir -p $out/bin $out/lib
|
mkdir -p $out/bin $out/lib
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue