thunderhub/flake.nix
Kody Low 4e928702cf
feat: add nix flake (#584)
* feat: add nix flake

* fix: local_data dir for dev

* fix: remove fedimint nix flake parts
2023-11-30 18:25:49 +01:00

20 lines
580 B
Nix

{
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
'';
});
};
});
}