feat(flake): expose unstable by default, i need some help figuring out how to export both packages

This commit is contained in:
h4rl 2025-06-10 18:45:24 +02:00
parent 7af4d9d3f0
commit 500fab288e
No known key found for this signature in database
GPG key ID: B69EFF282C4538F4
2 changed files with 8 additions and 4 deletions

4
.gitignore vendored
View file

@ -7,5 +7,5 @@ node_modules/
.vs/ .vs/
.direnv/ .direnv/
.envrc .envrc
build/ /build/
result/ /result/

View file

@ -103,9 +103,11 @@
# For testing renderers and examples, aswell as tests # For testing renderers and examples, aswell as tests
packages = with pkgs; [ packages = with pkgs; [
cmake # this is needed for building examples and tests 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 pkg-config
alejandra # for formatting nix alejandra # for formatting nix
lld # for wasm
]; ];
buildInputs = with pkgs; [ buildInputs = with pkgs; [
@ -157,7 +159,9 @@
suffix = "-master-${date}"; 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;
}); });
}; };
} }