mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 04:26:18 +00:00
feat(flake): expose unstable by default, i need some help figuring out how to export both packages
This commit is contained in:
parent
7af4d9d3f0
commit
500fab288e
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -7,5 +7,5 @@ node_modules/
|
||||||
.vs/
|
.vs/
|
||||||
.direnv/
|
.direnv/
|
||||||
.envrc
|
.envrc
|
||||||
build/
|
/build/
|
||||||
result/
|
/result/
|
||||||
|
|
|
@ -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;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue