From 500fab288e37b621b69f8b60df85be03ce762219 Mon Sep 17 00:00:00 2001 From: h4rl Date: Tue, 10 Jun 2025 18:45:24 +0200 Subject: [PATCH] feat(flake): expose unstable by default, i need some help figuring out how to export both packages --- .gitignore | 4 ++-- flake.nix | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 41e3248..d46fb21 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,5 @@ node_modules/ .vs/ .direnv/ .envrc -build/ -result/ +/build/ +/result/ diff --git a/flake.nix b/flake.nix index f2d9182..6e4c9e3 100644 --- a/flake.nix +++ b/flake.nix @@ -103,9 +103,11 @@ # For testing renderers and examples, aswell as tests packages = with pkgs; [ cmake # this is needed for building examples and tests - clang-tools # for clangd and clang-tidy + clang-tools # for clangd and clang-tidy (optional) pkg-config alejandra # for formatting nix + + lld # for wasm ]; buildInputs = with pkgs; [ @@ -157,7 +159,9 @@ suffix = "-master-${date}"; }; - default = self.packages.${system}.stable; + # I have no idea how to expose both unstable and stable at the same time + # so I'm going to just expose the unstable version for now + default = self.packages.${system}.unstable; }); }; }