about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorYueh-Shun Li <shamrocklee@posteo.net>2023-12-09 13:08:10 +0800
committerGitHub <noreply@github.com>2023-12-09 13:08:10 +0800
commit7950a226f6580beddf86b4b1bca808e0dc053946 (patch)
tree0fe49eabf34e526e06a1e630befeb83e8094d094 /pkgs/build-support
parent9fba2b0fd747924afdeb8c645ea317a226c443e7 (diff)
tests.trivial-builders.references: specify as empty set instead of null on non-Linux
Please Nix CI (OfBorg) with empty set instead of null on non-linux platforms,
where NixOS tests are not supported.

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/trivial-builders/test/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/trivial-builders/test/default.nix b/pkgs/build-support/trivial-builders/test/default.nix
index 2b96426268e1f..59dbba3f18410 100644
--- a/pkgs/build-support/trivial-builders/test/default.nix
+++ b/pkgs/build-support/trivial-builders/test/default.nix
@@ -24,7 +24,7 @@ recurseIntoAttrs {
   references =
     if stdenv.hostPlatform.isLinux
     then references
-    else null;
+    else {};
   writeCBin = callPackage ./writeCBin.nix {};
   writeShellApplication = callPackage ./writeShellApplication.nix {};
   writeScriptBin = callPackage ./writeScriptBin.nix {};