diff --git a/test/compilers/clang-openmp-ld.nix b/test/compilers/clang-openmp-ld.nix index 593706a9..1b9f0bb2 100644 --- a/test/compilers/clang-openmp-ld.nix +++ b/test/compilers/clang-openmp-ld.nix @@ -23,9 +23,8 @@ in stdenv.mkDerivation { dontUnpack = true; dontConfigure = true; - # nOS-V requires access to /sys/devices to request NUMA information. It will - # fail to run otherwise, so we disable the sandbox for this test. - __noChroot = true; + # nOS-V requires access to /sys/devices to request NUMA information + requiredSystemFeatures = [ "sys-devices" ]; buildInputs = [ openmp ]; diff --git a/test/compilers/clang-openmp-nosv.nix b/test/compilers/clang-openmp-nosv.nix index 237e4666..67b8189d 100644 --- a/test/compilers/clang-openmp-nosv.nix +++ b/test/compilers/clang-openmp-nosv.nix @@ -36,9 +36,8 @@ in stdenv.mkDerivation { dontUnpack = true; dontConfigure = true; - # nOS-V requires access to /sys/devices to request NUMA information. It will - # fail to run otherwise, so we disable the sandbox for this test. - __noChroot = true; + # nOS-V requires access to /sys/devices to request NUMA information + requiredSystemFeatures = [ "sys-devices" ]; buildInputs = [ nosv ]; diff --git a/test/compilers/clang-openmp.nix b/test/compilers/clang-openmp.nix index 42044c75..e0833c09 100644 --- a/test/compilers/clang-openmp.nix +++ b/test/compilers/clang-openmp.nix @@ -24,9 +24,8 @@ in stdenv.mkDerivation { dontUnpack = true; dontConfigure = true; - # nOS-V requires access to /sys/devices to request NUMA information. It will - # fail to run otherwise, so we disable the sandbox for this test. - __noChroot = true; + # nOS-V requires access to /sys/devices to request NUMA information + requiredSystemFeatures = [ "sys-devices" ]; buildPhase = '' set -x diff --git a/test/compilers/ompss2.nix b/test/compilers/ompss2.nix index 9ce3728f..60d68f32 100644 --- a/test/compilers/ompss2.nix +++ b/test/compilers/ompss2.nix @@ -25,9 +25,10 @@ stdenv.mkDerivation rec { hardeningDisable = [ "all" ]; #NIX_DEBUG = 1; buildInputs = [ ]; #strace gdb; - # NODES requires access to /sys/devices to request NUMA information. It will - # fail to run otherwise, so we disable the sandbox for this test. - __noChroot = true; + + # NODES requires access to /sys/devices to request NUMA information + requiredSystemFeatures = [ "sys-devices" ]; + buildPhase = '' set -x #$CC -v