From 8d268277af7ef5f28a49ff17c17b1ddb2d857b0d Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Thu, 26 Aug 2021 16:56:38 -0400 Subject: [PATCH] examples/testing/qemu-cryptsetup: Provide `pkgs` correctly to eval-with-configuration.nix --- examples/testing/qemu-cryptsetup/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/testing/qemu-cryptsetup/default.nix b/examples/testing/qemu-cryptsetup/default.nix index cd313383..63331e11 100644 --- a/examples/testing/qemu-cryptsetup/default.nix +++ b/examples/testing/qemu-cryptsetup/default.nix @@ -1,4 +1,6 @@ -{ pkgs ? null }@args: +{ pkgs ? (import ../../../pkgs.nix {}) +}@args': +let args = args' // { inherit pkgs; }; in let system-build = import ../../../lib/eval-with-configuration.nix (args // {