From f4881d9ae1f9a7bb42172fee8240b3d586613ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1r=C3=A1ndi=20Tam=C3=A1s?= Date: Mon, 23 Oct 2023 14:41:33 +0200 Subject: [PATCH] [OPS-1467] Fix missing pkgs in user-level-services.nix Problem: in one of the consumers of user-level-servics.nix we bumped into a problem where a hand-crafted pkgs was used. As we didn't pass to the nixpkgs.lib.nixosSystem the incoming pkgs, the consumer didn't work as expected. Solution: pass pkgs to nixpkgs.lib.nixosSystem too --- lib/systemd/user-level-services.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/systemd/user-level-services.nix b/lib/systemd/user-level-services.nix index faa1c11..eb0be41 100644 --- a/lib/systemd/user-level-services.nix +++ b/lib/systemd/user-level-services.nix @@ -3,7 +3,7 @@ , pkgs ? nixpkgs.legacyPackages.${system}, ... }: let mkVM = moduleConfig: serviceConfig: nixpkgs.lib.nixosSystem { - inherit system; + inherit system pkgs; modules = [ ({ ... }: { imports = [ moduleConfig.module ];