Skip to content

Commit

Permalink
Update flake to use corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
dotboris committed May 11, 2024
1 parent 8c06f77 commit 3e853c8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (system: let
nodejs = pkgs.nodejs_20;
overlays = [
(final: prev: {
nodePackages = prev.nodePackages.override {
nodejs = nodejs;
nodejs = prev.nodejs_20;
};
})
];
Expand All @@ -23,8 +22,8 @@
formatter = pkgs.alejandra;
devShells.default = pkgs.mkShell {
packages = [
nodejs
pkgs.nodePackages.pnpm
pkgs.nodejs
pkgs.corepack

# for playwright tests
pkgs.xvfb-run
Expand Down

0 comments on commit 3e853c8

Please sign in to comment.