git.iko.soy/typeable/nixpkgs
on master help sign in
kernel: Don't patchELF manually

AFAICT this is done by stdenv nowadays: https://github.com/NixOS/nixpkgs/blob/bde82098b88861a27faadc8a69b597510e56d846/pkgs/development/tools/misc/patchelf/setup-hook.sh#L5 https://github.com/NixOS/nixpkgs/blob/bde82098b88861a27faadc8a69b597510e56d846/pkgs/stdenv/generic/setup.sh#L737 Might help /be somehow related to these mysterious errors that seem to occur sometimes (?): http://hydra.nixos.org/build/34131589/nixlog/1/raw

commitb95274cc90b566daf98cf0bb0645438b7ffeb163 authorTuomas Tynkkynen <tuomas@tuxera.com> dateWed 6 Apr 2016, 16:34 (11 years ago) parent59ef7d2
1 file changed−9
pkgs/os-specific/linux/kernel/manual-config.nix−9
pkgs/os-specific/linux/kernel/manual-config.nix−9
@@ -190,15 +190,6 @@ let
190190 $installFlags "''${installFlagsArray[@]}"
191191 '');
192192
193− # !!! This leaves references to gcc in $dev
194− # that we might be able to avoid
195− postFixup = if isModular then ''
196− # !!! Should this be part of stdenv? Also patchELF should take an argument...
197− prefix=$dev
198− patchELF
199− prefix=$out
200− '' else null;
201−
202193 meta = {
203194 description =
204195 "The Linux kernel" +