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