Copy specinvoke in spec-cpu-mini
This commit is contained in:
parent
c2fcd40bc1
commit
a9e149a125
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
stdenv
|
stdenv
|
||||||
, spec-cpu
|
, spec-cpu
|
||||||
|
, spec-cpu-tools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -48,7 +49,9 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
echo -e "#!$SHELL\necho $out" > $out/bin/spec-cpu-mini
|
echo -e "#!$SHELL\necho $out" > $out/bin/spec-cpu-mini
|
||||||
chmod +x $out/bin/spec-cpu-mini
|
chmod +x $out/bin/spec-cpu-mini
|
||||||
|
cp $(command -v specinvoke) $out/bin
|
||||||
'';
|
'';
|
||||||
|
nativeBuildInputs = [ spec-cpu-tools ];
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user