-
-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathflake.nix
More file actions
19 lines (19 loc) · 580 Bytes
/
flake.nix
File metadata and controls
19 lines (19 loc) · 580 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, fedimint }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in {
devShells = fmLib.devShells // {
default = fmLib.devShells.default.overrideAttrs (prev: {
nativeBuildInputs = [ pkgs.nodejs ] ++ prev.nativeBuildInputs;
shellHook = ''
npm install
'';
});
};
});
}