about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-03-06 00:25:32 +0100
committerRobert Hensing <robert@roberthensing.nl>2023-03-15 13:37:59 +0100
commit816b884b5c56360ae909f052b908c4825517c59a (patch)
treeafb54c3bf013cb8ce873b1f5202ed0503bac2ba8 /nixos/tests
parentc3b245d54067c7af16d099bd46152717901c78e8 (diff)
nixosTests.nixops.unstable.legacyNetwork: Use system.includeBuildDependencies
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/nixops/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/tests/nixops/default.nix b/nixos/tests/nixops/default.nix
index b77ac24763981..bd00e6143639c 100644
--- a/nixos/tests/nixops/default.nix
+++ b/nixos/tests/nixops/default.nix
@@ -30,12 +30,10 @@ let
         virtualisation.additionalPaths = [
           pkgs.hello
           pkgs.figlet
-
-          # This includes build dependencies all the way down. Not efficient,
-          # but we do need build deps to an *arbitrary* depth, which is hard to
-          # determine.
-          (allDrvOutputs nodes.server.config.system.build.toplevel)
         ];
+
+        # TODO: make this efficient, https://github.com/NixOS/nixpkgs/issues/180529
+        system.includeBuildDependencies = true;
       };
       server = { lib, ... }: {
         imports = [ ./legacy/base-configuration.nix ];