kernel: Don't patchELF manually

AFAICT this is done by stdenv nowadays:

bde82098b8/pkgs/development/tools/misc/patchelf/setup-hook.sh (L5)
bde82098b8/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
This commit is contained in:
Tuomas Tynkkynen 2016-04-06 16:34:02 +03:00
parent 59ef7d25c3
commit b95274cc90

View file

@ -190,15 +190,6 @@ let
$installFlags "''${installFlagsArray[@]}"
'');
# !!! This leaves references to gcc in $dev
# that we might be able to avoid
postFixup = if isModular then ''
# !!! Should this be part of stdenv? Also patchELF should take an argument...
prefix=$dev
patchELF
prefix=$out
'' else null;
meta = {
description =
"The Linux kernel" +