diff --git a/pkgs/spec-cpu/mini.nix b/pkgs/spec-cpu/mini.nix index 674e682..251a210 100644 --- a/pkgs/spec-cpu/mini.nix +++ b/pkgs/spec-cpu/mini.nix @@ -32,6 +32,9 @@ stdenv.mkDerivation rec { for bench in $benchList; do cp -a ${spec-cpu}/benchspec/CPU/$bench $out/benchspec/CPU/ done + mkdir -p $out/bin + echo -e "#!$SHELL\necho $out" > $out/bin/spec-cpu-mini + chmod +x $out/bin/spec-cpu-mini ''; enableParallelBuilding = false; hardeningDisable = [ "all" ];