diff options
| author | Leo Goetz <dev@leogtz.de> | 2026-05-08 15:48:37 +0200 |
|---|---|---|
| committer | Leo Goetz <dev@leogtz.de> | 2026-05-08 15:48:37 +0200 |
| commit | c3cb0ca317a52a740bf9625ca9df43f5c2306548 (patch) | |
| tree | aa8877dc2d651f16d23a629c4054043cae8be156 /flake.nix | |
inital commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..6f00a99 --- /dev/null +++ b/flake.nix @@ -0,0 +1,28 @@ +{ + description = "DepHelp Project Flake"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + }; + + outputs = + { nixpkgs, ... }: + let + forAllSystems = + func: + nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-darwin" ] ( + system: func nixpkgs.legacyPackages.${system} + ); + in + { + packages = forAllSystems (pkgs: { + default = pkgs.buildNpmPackage { + pname = "dephelp"; + src = ./.; + name = "dephelp"; + npmDepsHash = "sha256-+njuNvCXnZrqrw2WEg+TZiIwKZ6Y3UY+lV5u1KSAvO8="; + version = "0.0.1"; + }; + }); + }; +} |
