feat: add dependency derivation to flake output, so it can be pinned
If you write nix build .#deps ,then the result link gets added as a gc root so it doesn't get garbage collected.
This commit is contained in:
parent
e403d93dc2
commit
6fab222d1e
1 changed files with 1 additions and 0 deletions
|
|
@ -119,6 +119,7 @@
|
|||
|
||||
packages = {
|
||||
default = my-crate;
|
||||
deps = cargoArtifacts;
|
||||
} // lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
|
||||
my-crate-llvm-coverage = craneLibLLvmTools.cargoLlvmCov (commonArgs // {
|
||||
inherit cargoArtifacts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue