diff --git a/flake.nix b/flake.nix index d2219fa8..5d93396f 100644 --- a/flake.nix +++ b/flake.nix @@ -75,7 +75,8 @@ pkgsByName = import ./pkgs/by-name { inherit (pkgs) lib; - inherit callPackage dream2nix pnpm2nix-nzbr pkgs; + inherit (pkgs) mkPnpmPackage; + inherit callPackage dream2nix pkgs; }; explicitPkgs = import ./pkgs { @@ -108,7 +109,10 @@ rawNixosConfigs; eachDefaultSystemOutputs = flake-utils.lib.eachDefaultSystem (system: let - pkgs = importNixpkgs system [rust-overlay.overlays.default]; + pkgs = importNixpkgs system [ + rust-overlay.overlays.default + pnpm2nix-nzbr.overlays.default + ]; treefmtEval = loadTreefmt pkgs; toplevel = name: config: nameValuePair "nixosConfigs/${name}" config.config.system.build.toplevel; in { diff --git a/pkgs/by-name/default.nix b/pkgs/by-name/default.nix index 8cbc9040..6caf1122 100644 --- a/pkgs/by-name/default.nix +++ b/pkgs/by-name/default.nix @@ -2,7 +2,7 @@ lib, callPackage, dream2nix, - pnpm2nix-nzbr, + mkPnpmPackage, pkgs, }: let baseDirectory = ./.;