Skip to content

Commit

Permalink
move fetch-pnpm-deps to callPackage's scope
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchae committed Apr 11, 2024
1 parent 768352f commit 356ade9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,14 @@
mapAttrs dirToTest testDirs;

callPackage = pkgs.newScope (
allPackages // {inherit callPackage nixosTests;}
allPackages
// {inherit callPackage nixosTests;}
// {inherit (callPackage ./pkgs/build-support/node/fetch-pnpm-deps { }) fetchPnpmDeps pnpmConfigHook;}
);

pkgsByName = import ./pkgs/by-name {
inherit (pkgs) lib;
inherit callPackage dream2nix pkgs;
inherit (callPackage ./pkgs/build-support/node/fetch-pnpm-deps { }) fetchPnpmDeps pnpmConfigHook;
};

explicitPkgs = import ./pkgs {
Expand Down

0 comments on commit 356ade9

Please sign in to comment.