Add hwloc test with sys-devices feature

Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
2025-10-07 17:32:01 +02:00
parent 98d17b19d3
commit 64e2c39582
2 changed files with 3 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
stdenv.mkDerivation {
name = "hwloc-test";
requiredSystemFeatures = [ "sys-devices" ];
src = ./.;
@@ -14,7 +15,7 @@ stdenv.mkDerivation {
buildPhase = ''
ls -l /sys
gcc -lhwloc hwloc.c -o hwloc
strace ./hwloc
strace ./hwloc > $out
'';
}