cov-build: use autoPatchelfHook
This commit is contained in:
parent
967fb8ef7b
commit
3759827bdf
1 changed files with 24 additions and 7 deletions
|
@ -1,11 +1,16 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
|
||||||
|
, autoPatchelfHook
|
||||||
|
|
||||||
|
, alsa-lib
|
||||||
|
, libxcrypt-legacy
|
||||||
|
, lttng-ust_2_12
|
||||||
|
, xorg
|
||||||
|
, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
message = ''
|
|
||||||
Register an account at https://scan.coverity.com, download the
|
|
||||||
build tools, and add it to the nix store with nix-prefetch-url
|
|
||||||
'';
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cov-build";
|
pname = "cov-build";
|
||||||
version = "2022.12.2";
|
version = "2022.12.2";
|
||||||
|
@ -23,6 +28,18 @@ stdenv.mkDerivation rec {
|
||||||
}
|
}
|
||||||
else throw "Unsupported platform '${stdenv.hostPlatform.system}'";
|
else throw "Unsupported platform '${stdenv.hostPlatform.system}'";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsa-lib
|
||||||
|
libxcrypt-legacy
|
||||||
|
lttng-ust_2_12
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXrender
|
||||||
|
xorg.libXtst
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
Loading…
Reference in a new issue