summary refs log tree commit diff
path: root/nixos/tests/without-nix.nix
blob: 2fc00b04144f9cfb319356341af011788a9bf171 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import ./make-test-python.nix ({ lib, ... }: {
  name = "without-nix";
  meta = with lib.maintainers; {
    maintainers = [ ericson2314 ];
  };

  nixpkgs.overlays = [
    (self: super: {
      nix = throw "don't want to use this";
    })
  ];

  nodes.machine = { ... }: {
    nix.enable = false;
  };

  testScript = ''
    start_all()

    machine.succeed("which which")
    machine.fail("which nix")
  '';
})