summaryrefslogtreecommitdiff
path: root/2026/examples/raylib/nix
diff options
context:
space:
mode:
Diffstat (limited to '2026/examples/raylib/nix')
-rw-r--r--2026/examples/raylib/nix/flake.lock27
-rw-r--r--2026/examples/raylib/nix/flake.nix17
2 files changed, 44 insertions, 0 deletions
diff --git a/2026/examples/raylib/nix/flake.lock b/2026/examples/raylib/nix/flake.lock
new file mode 100644
index 0000000..7461ca0
--- /dev/null
+++ b/2026/examples/raylib/nix/flake.lock
@@ -0,0 +1,27 @@
+{
+ "nodes": {
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1779694939,
+ "narHash": "sha256-Ly4j75O8ICaSQx3uxPnwk2x7PMF0XQvn5r0c3yBA7FI=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "f9d8b65950353691ab56561e7c73d2e1063d810b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "nixpkgs": "nixpkgs"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/2026/examples/raylib/nix/flake.nix b/2026/examples/raylib/nix/flake.nix
new file mode 100644
index 0000000..d51dd3a
--- /dev/null
+++ b/2026/examples/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
+ ];
+ };
+ };
+}