summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 00000000..2cf1c096
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,32 @@
+{
+ description = "OpenCut Classic development shell";
+
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+
+ outputs =
+ { nixpkgs, ... }:
+ let
+ systems = [
+ "x86_64-linux"
+ "aarch64-linux"
+ "aarch64-darwin"
+ ];
+ forEachSystem = nixpkgs.lib.genAttrs systems;
+ in
+ {
+ devShells = forEachSystem (
+ system:
+ let
+ pkgs = import nixpkgs { inherit system; };
+ in
+ {
+ default = pkgs.mkShell {
+ packages = with pkgs; [
+ bun
+ nodejs
+ ];
+ };
+ }
+ );
+ };
+}