From 816b884b5c56360ae909f052b908c4825517c59a Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 6 Mar 2023 00:25:32 +0100 Subject: [PATCH] nixosTests.nixops.unstable.legacyNetwork: Use system.includeBuildDependencies --- nixos/tests/nixops/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/tests/nixops/default.nix b/nixos/tests/nixops/default.nix index b77ac2476398..bd00e6143639 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 ];