Skip to content

Commit

Permalink
Merge pull request #7 from rainlanguage/2024-05-04-flake
Browse files Browse the repository at this point in the history
flake
  • Loading branch information
thedavidmeister authored May 6, 2024
2 parents d123999 + c958637 commit 02894af
Show file tree
Hide file tree
Showing 3 changed files with 323 additions and 1 deletion.
300 changes: 300 additions & 0 deletions flake.lock

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

22 changes: 22 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
inputs = {
flake-utils.url = "github:numtide/flake-utils";
rainix.url = "github:rainprotocol/rainix";
};

outputs = { self, flake-utils, rainix }:

flake-utils.lib.eachDefaultSystem (system:
let
pkgs = rainix.pkgs.${system};
in {
# For `nix develop`:
devShell = pkgs.mkShell {
nativeBuildInputs = [
rainix.node-build-inputs.${system}
pkgs.nodePackages.pnpm
];
};
}
);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"packageManager": "[email protected]",
"engines": {
"node": ">=20.x",
"pnpm": "8.15.3"
"pnpm": ">=8.15.3"
},
"pnpm": {
"overrides": {
Expand Down

0 comments on commit 02894af

Please sign in to comment.