diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-08-30 22:41:25 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-08-30 22:41:28 +0530 |
| commit | fecebfd39809f862e098805219b15c50588bb81a (patch) | |
| tree | f600ad9667ab4d087113fad0f6898d61ade97cfc /flake.nix | |
| parent | 326474823ca31ad8ae424dd1d991c0330f2b3db4 (diff) | |
| download | art-playground-openrndr-fecebfd39809f862e098805219b15c50588bb81a.tar.gz art-playground-openrndr-fecebfd39809f862e098805219b15c50588bb81a.zip | |
Development setup + toggling recording
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 33 |
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; + }; + } + ); + }; +} |
