Skip to content

Commit

Permalink
try adding pnpm2nix-nzbr overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchae committed Mar 2, 2024
1 parent fdd1ed8 commit e817544
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
callPackage,
dream2nix,
pnpm2nix-nzbr,
mkPnpmPackage,
pkgs,
}: let
baseDirectory = ./.;
Expand Down

0 comments on commit e817544

Please sign in to comment.