1 import ./make-test-python.nix ({ pkgs, ... }:
4 nodes.machine = { pkgs, ... }: {
6 nix-path = [ "nonextra=/etc/value.nix" ];
7 extra-nix-path = [ "extra=/etc/value.nix" ];
9 environment.etc."value.nix".text = "42";
13 machine.wait_for_unit("nix-daemon.socket")
14 # regression test for the workaround for https://github.com/NixOS/nix/issues/9487
15 print(machine.succeed("nix-instantiate --find-file extra"))
16 print(machine.succeed("nix-instantiate --find-file nonextra"))