mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 01:40:03 +01:00
4e928702cf
* feat: add nix flake * fix: local_data dir for dev * fix: remove fedimint nix flake parts
20 lines
580 B
Nix
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
|
|
'';
|
|
});
|
|
};
|
|
});
|
|
}
|