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:
parent
59ef7d25c3
commit
b95274cc90
@ -190,15 +190,6 @@ let
|
|||||||
$installFlags "''${installFlagsArray[@]}"
|
$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 = {
|
meta = {
|
||||||
description =
|
description =
|
||||||
"The Linux kernel" +
|
"The Linux kernel" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user