From 492f73b600199a8be8fba58ee01da5a5f7578c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Wed, 23 Jul 2025 11:30:45 +0200 Subject: [PATCH] Fix strictDeps nanos6 Reviewed-by: Rodrigo Arias Mallo --- pkgs/nanos6/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/nanos6/default.nix b/pkgs/nanos6/default.nix index 07066fb..64ee288 100644 --- a/pkgs/nanos6/default.nix +++ b/pkgs/nanos6/default.nix @@ -88,11 +88,19 @@ in dontStrip = enableDebug; separateDebugInfo = true; - buildInputs = [ + nativeBuildInputs = [ autoconf automake libtool pkg-config + + # TODO: papi_version is needed for configure: + # ./configure: line 27378: papi_version: command not found + # This probably breaks cross-compilation + papi + ]; + + buildInputs = [ boost numactl hwloc @@ -104,7 +112,7 @@ in postInstall = '' mkdir -p $out/nix-support echo "export NANOS6_HOME=$out" >> $out/nix-support/setup-hook - ''; + ''; meta = with lib; { homepage = "https://github.com/bsc-pm/nanos6";