From 0474cd659afa6bc0cc92d58f0fbbf2d70f3b70c7 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Fri, 6 Feb 2026 22:10:12 +0100 Subject: [PATCH] nixos/test-driver: Use Python's `callPackage` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The original code meant `nix-shell` didn't pass the relevant arguments to `default.nix`: > error: evaluation aborted with the following error message: > 'lib.customisation.callPackageWith: Function called without required > argument "buildPythonApplication" at > […]/nixos/lib/test-driver/default.nix:4' Co-Authored-By: Jacek Galowicz --- nixos/lib/test-driver/shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/lib/test-driver/shell.nix b/nixos/lib/test-driver/shell.nix index 8879b1a0dc4c..9f3e34868be2 100644 --- a/nixos/lib/test-driver/shell.nix +++ b/nixos/lib/test-driver/shell.nix @@ -1,4 +1,4 @@ { pkgs ? import ../../.. { }, }: -pkgs.callPackage ./default.nix { } +pkgs.python3Packages.callPackage ./default.nix { }