From d1f67c929ae7397b7ae241bb59932113b5f9e4c1 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 25 Sep 2026 11:37:45 +0200 Subject: refactor: avoid stringification for npinned pkgs --- nixos/profiles/workstation/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index cb720be..e6fc7e1 100644 --- a/nixos/profiles/workstation/default.nix +++ b/nixos/profiles/workstation/default.nix @@ -3,7 +3,7 @@ let cfg = config.workstation; sources = import ; - cmd50 = pkgs.callPackage "${sources.my-cmd50}" {}; + cmd50 = pkgs.callPackage (sources.my-cmd50 { inherit pkgs; }) {}; in { options.workstation = { @@ -69,7 +69,7 @@ in environment.systemPackages = with pkgs; [ npins - (callPackage "${sources.agenix}/pkgs/agenix.nix" {}) + (callPackage ((sources.agenix { inherit pkgs; }) + "/pkgs/agenix.nix") {}) (callPackage (sources.my-vdf { inherit pkgs; }) {}) nixfmt -- cgit v1.3.1