Unverified Commit c101da13 authored by Robert Hensing's avatar Robert Hensing Committed by GitHub
Browse files

Merge pull request #221317 from hercules-ci/cleanup-test-nixops-include-build-deps

nixosTests.nixops.unstable.legacyNetwork: Use system.includeBuildDependencies
parents 3d02414b 816b884b
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -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 ];