From 81fc6d3abd8768efe2f47098d0e7bb7782820d0a Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Sun, 21 Jan 2024 11:14:44 +0100 Subject: flake --- flake.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..6052738 --- /dev/null +++ b/flake.nix @@ -0,0 +1,16 @@ +{ + outputs = { + self, + nixpkgs, + }: let + pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + packages.x86_64-linux.default = pkgs.stdenv.mkDerivation { + name = "raytracing"; + src = ./.; + nativeBuildInputs = [ + pkgs.zig_0_10.hook + ]; + }; + }; +} -- cgit v1.2.3