1 import ./make-test-python.nix ({ pkgs, lib, ... }: let
3 customPkgs = pkgs.appendOverlays [ (self: super: {
4 hello = super.hello.overrideAttrs (old: {
10 name = "containers-custom-pkgs";
12 maintainers = with lib.maintainers; [ erikarvstedt ];
15 nodes.machine = { config, ... }: {
17 helloName = (builtins.head config.containers.test.config.system.extraDependencies).name;
19 assertion = helloName == "custom-hello";
20 message = "Unexpected value: ${helloName}";
25 config = { pkgs, config, ... }: {
26 nixpkgs.pkgs = customPkgs;
27 system.extraDependencies = [ pkgs.hello ];
32 # This test only consists of evaluating the test machine