From 2b67819d554a791380f1d8619939366d959ebdf0 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Mon, 15 Jul 2024 21:24:14 -0700 Subject: [PATCH] nixos-test-driver: avoid top-level with in shell.nix --- nixos/lib/test-driver/shell.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/lib/test-driver/shell.nix b/nixos/lib/test-driver/shell.nix index 367bbad556c0..8879b1a0dc4c 100644 --- a/nixos/lib/test-driver/shell.nix +++ b/nixos/lib/test-driver/shell.nix @@ -1,2 +1,4 @@ -with import ../../.. {}; -pkgs.callPackage ./default.nix {} +{ + pkgs ? import ../../.. { }, +}: +pkgs.callPackage ./default.nix { }