summaryrefslogtreecommitdiff
path: root/2026/examples/example_raylib/nix/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '2026/examples/example_raylib/nix/flake.nix')
-rw-r--r--2026/examples/example_raylib/nix/flake.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/2026/examples/example_raylib/nix/flake.nix b/2026/examples/example_raylib/nix/flake.nix
new file mode 100644
index 0000000..d51dd3a
--- /dev/null
+++ b/2026/examples/example_raylib/nix/flake.nix
@@ -0,0 +1,17 @@
+{
+ inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+ };
+
+ outputs = { self, nixpkgs, ... }@inputs:
+ let
+ system = "x86_64-linux";
+ pkgs = nixpkgs.legacyPackages.${system};
+ in {
+ devShells.x86_64-linux.default = pkgs.mkShell {
+ buildInputs = [
+ pkgs.emscripten
+ ];
+ };
+ };
+}