aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-08-30 22:41:25 +0530
committerAkshay Nair <phenax5@gmail.com>2026-08-30 22:41:28 +0530
commitfb97d03b63468968045c8c53e143fe814efa9929 (patch)
tree7120bdc0157fa9340a073fb417de31f53a68b9f6 /flake.nix
parentf1f31ac3c1ae12ff6928e3e4a68a913ff82df81f (diff)
downloadart-playground-openrndr-fb97d03b63468968045c8c53e143fe814efa9929.tar.gz
art-playground-openrndr-fb97d03b63468968045c8c53e143fe814efa9929.zip
Development setup + toggling recording
Diffstat (limited to '')
-rw-r--r--flake.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..c216c0d
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,33 @@
+{
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs?ref=nixpkgs-unstable";
+ };
+
+ outputs =
+ { self, nixpkgs }:
+ let
+ forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
+ in
+ {
+ devShells = forAllSystems (
+ system:
+ let
+ pkgs = import nixpkgs { inherit system; };
+ in
+ {
+ default = pkgs.mkShell rec {
+ buildInputs = with pkgs; [
+ jdk21
+ libGL
+ kotlin
+ kotlin-language-server
+ kotlin-interactive-shell
+ just
+ ];
+
+ LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
+ };
+ }
+ );
+ };
+}