1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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 ]; }; }; }