Skip to content

Commit

Permalink
Update flake
Browse files Browse the repository at this point in the history
  • Loading branch information
StarLederer committed Feb 21, 2023
1 parent 6246a42 commit e726599
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@

inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/22.11";
};

outputs = { self, flake-utils, nixpkgs }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
pnpm = pkgs.nodePackages.pnpm.override {
nodejs = pkgs.nodejs-18_x;
};
in {
devShell = pkgs.mkShell rec {
nativeBuildInputs = with pkgs; [
nodejs-18_x.pkgs.pnpm
pnpm
];
};
}
Expand Down

0 comments on commit e726599

Please sign in to comment.