diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-18 23:35:29 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-18 23:36:40 +0100 |
commit | 26f704b545838084e334f37d434a648c0c564ffd (patch) | |
tree | 116e9689e8af6d6ee7e7c3d23e63dc7aa2cc8f97 /nixos/modules/installer | |
parent | 76672661b9b8cf731e2cd87984f701937e8df655 (diff) |
treewide: use nativeBuildInputs with runCommand instead of inlining
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/tools/nixos-build-vms/build-vms.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix b/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix index 21a257378a633..6bcf6c99545a6 100644 --- a/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix +++ b/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix @@ -18,8 +18,9 @@ let interactiveDriver = (testing.makeTest { inherit nodes; name = "network"; testScript = "start_all(); join_all();"; }).test.driverInteractive; in - -pkgs.runCommand "nixos-build-vms" { nativeBuildInputs = [ pkgs.makeWrapper ]; } '' + pkgs.runCommandLocal "nixos-build-vms" { + nativeBuildInputs = [ pkgs.makeWrapper ]; + } '' mkdir -p $out/bin ln -s ${interactiveDriver}/bin/nixos-test-driver $out/bin/nixos-test-driver ln -s ${interactiveDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms |