Unverified Commit 0474cd65 authored by Victor Engmark's avatar Victor Engmark
Browse files

nixos/test-driver: Use Python's `callPackage`



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: default avatarJacek Galowicz <jacek@galowicz.de>
parent a4728e95
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
{
  pkgs ? import ../../.. { },
}:
pkgs.callPackage ./default.nix { }
pkgs.python3Packages.callPackage ./default.nix { }