tests.trivial-builders.references: Only run where supported

This commit is contained in:
Robert Hensing 2023-07-26 14:26:43 +02:00
parent 89bdfd4687
commit a6aabd9d28

View File

@ -11,7 +11,7 @@
*/
{ callPackage, lib }:
{ callPackage, lib, stdenv }:
let
inherit (lib) recurseIntoAttrs;
in
@ -19,7 +19,11 @@ recurseIntoAttrs {
concat = callPackage ./concat-test.nix {};
linkFarm = callPackage ./link-farm.nix {};
overriding = callPackage ../test-overriding.nix {};
references = callPackage ./references.nix {};
references =
# VM test not supported beyond linux yet
if stdenv.hostPlatform.isLinux
then callPackage ./references.nix {}
else null;
writeCBin = callPackage ./writeCBin.nix {};
writeScriptBin = callPackage ./writeScriptBin.nix {};
writeShellScript = callPackage ./write-shell-script.nix {};