tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
chipsec: use elfutils instead of abandoned libelf
philiptaron.tngl.sh
2 years ago
03cb76ec
67e2bc03
+3
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
chipsec
default.nix
+3
-2
pkgs/tools/security/chipsec/default.nix
···
2
2
, stdenv
3
3
, fetchFromGitHub
4
4
, kernel ? null
5
5
-
, libelf
5
5
+
, elfutils
6
6
, nasm
7
7
, python3
8
8
, withDriver ? false
···
26
26
KSRC = lib.optionalString withDriver "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
27
27
28
28
nativeBuildInputs = [
29
29
-
libelf
30
29
nasm
30
30
+
] ++ lib.optionals (lib.meta.availableOn stdenv.buildPlatform elfutils) [
31
31
+
elfutils
31
32
] ++ lib.optionals withDriver kernel.moduleBuildDependencies;
32
33
33
34
nativeCheckInputs = with python3.pkgs; [