Add speclaunch to spec mini

This commit is contained in:
Rodrigo Arias 2024-10-09 15:53:57 +02:00
parent 3bcc4255db
commit cb7b813389

View File

@ -3,6 +3,7 @@
, spec-cpu , spec-cpu
, spec-cpu-tools , spec-cpu-tools
, specinvoke , specinvoke
, speclaunch
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -51,6 +52,7 @@ stdenv.mkDerivation rec {
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 ${specinvoke}/bin/specinvoke $out/bin cp ${specinvoke}/bin/specinvoke $out/bin
cp ${speclaunch}/bin/speclaunch $out/bin
''; '';
enableParallelBuilding = false; enableParallelBuilding = false;
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];