summaryrefslogtreecommitdiff
path: root/2026/examples/example_raylib/nix
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-06-18 16:15:46 -0400
committerLLLL Colonq <llll@colonq>2026-06-18 16:15:46 -0400
commitc9fc2ca532c5219a087924ece1e38be19c25f006 (patch)
tree7c9d8e32617fab6e6179fe70893a3027714ea4e7 /2026/examples/example_raylib/nix
parent068f3b9dc0522b03af534479cfa300a720ae86fa (diff)
Update
Diffstat (limited to '2026/examples/example_raylib/nix')
-rw-r--r--2026/examples/example_raylib/nix/flake.lock27
-rw-r--r--2026/examples/example_raylib/nix/flake.nix17
2 files changed, 44 insertions, 0 deletions
diff --git a/2026/examples/example_raylib/nix/flake.lock b/2026/examples/example_raylib/nix/flake.lock
new file mode 100644
index 0000000..7461ca0
--- /dev/null
+++ b/2026/examples/example_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/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
+ ];
+ };
+ };
+}