From a9e149a125f1050389c96766b2e8c823877f73e9 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 8 Oct 2024 09:27:32 +0200 Subject: [PATCH] Copy specinvoke in spec-cpu-mini --- pkgs/spec-cpu/mini.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/spec-cpu/mini.nix b/pkgs/spec-cpu/mini.nix index 8971a14..b002f59 100644 --- a/pkgs/spec-cpu/mini.nix +++ b/pkgs/spec-cpu/mini.nix @@ -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;