stage-1: Remove doublePatchelf hack

No longer needed with the new patchelf version.

-4
-4
nixos/modules/system/boot/stage-1.nix
··· 31 extraUtils = pkgs.runCommand "extra-utils" 32 { buildInputs = [pkgs.nukeReferences]; 33 allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd 34 - doublePatchelf = pkgs.stdenv.isArm; 35 } 36 '' 37 set +o pipefail ··· 111 if ! test -L $i; then 112 echo "patching $i..." 113 patchelf --set-interpreter $out/lib/ld*.so.? --set-rpath $out/lib $i || true 114 - if [ -n "$doublePatchelf" ]; then 115 - patchelf --set-interpreter $out/lib/ld*.so.? --set-rpath $out/lib $i || true 116 - fi 117 fi 118 done 119
··· 31 extraUtils = pkgs.runCommand "extra-utils" 32 { buildInputs = [pkgs.nukeReferences]; 33 allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd 34 } 35 '' 36 set +o pipefail ··· 110 if ! test -L $i; then 111 echo "patching $i..." 112 patchelf --set-interpreter $out/lib/ld*.so.? --set-rpath $out/lib $i || true 113 fi 114 done 115