From ec90d55ff3bc330759d3bfbfc254985e08c96b1f Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Tue, 20 Jan 2026 13:15:25 +0100 Subject: [PATCH] lib: pass `stdenv` to `qemu-common` not `pkgs` --- lib/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index bcab0ff..3e5476c 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -6,8 +6,13 @@ qemu-common ? import , }: let - # qemu-common is a function that takes { lib, pkgs } and returns QEMU utilities - qemu-common-lib = pkgs: qemu-common { inherit lib pkgs; }; + # qemu-common is a function that takes { lib, stdenv } and returns QEMU utilities + qemu-common-lib = + pkgs: + qemu-common { + inherit lib; + inherit (pkgs) stdenv; + }; outputs = import ../default.nix { inherit lib diskoLib; }; diskoLib = {