diff options
author | Linnea Gräf <nea@nea.moe> | 2025-05-01 21:46:32 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-05-01 21:46:42 +0200 |
commit | 00e37dc840f7dd9b4ec8d2aa7c17bebad08a2696 (patch) | |
tree | acd21a461b53b9e2990c9a313cc74efcee6b0c40 /flake.nix | |
parent | 0c60aa3278a9297e143ee4ad998c01b6ef2337b1 (diff) | |
download | LocalTransactionLedger-master.tar.gz LocalTransactionLedger-master.tar.bz2 LocalTransactionLedger-master.zip |
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..c508abe --- /dev/null +++ b/flake.nix @@ -0,0 +1,30 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { + self, + nixpkgs, + flake-utils, + ... + }: + flake-utils.lib.eachDefaultSystem (system: let + overlays = []; + pkgs = import nixpkgs {inherit system overlays;}; + deps = [ + pkgs.jdk8 + pkgs.jdk21 + pkgs.nodejs_22 + pkgs.nodePackages.pnpm + + ]; + in + with pkgs; { + devShells.default = mkShell { + buildInputs = deps; + }; + formatter = alejandra; + }); +}
\ No newline at end of file |