Update flake
This commit is contained in:
parent
ee07fd48d0
commit
b99d98ae43
2 changed files with 29 additions and 23 deletions
|
|
@ -33,7 +33,12 @@
|
|||
# MY_CUSTOM_VAR = "some value";
|
||||
};
|
||||
|
||||
craneLibLLvmTools = craneLib.overrideToolchain fenixPkgs.complete;
|
||||
craneLibLLvmTools = craneLib.overrideToolchain
|
||||
(fenixPkgs.complete.withComponents [
|
||||
"cargo"
|
||||
"llvm-tools"
|
||||
"rustc"
|
||||
]);
|
||||
|
||||
# Build *just* the cargo dependencies, so we can reuse
|
||||
# all of that work (e.g. via cachix) when running in CI
|
||||
|
|
@ -92,7 +97,8 @@
|
|||
|
||||
packages = {
|
||||
default = crate;
|
||||
llvm-coverage = craneLibLLvmTools.cargoLlvmCov (commonArgs // {
|
||||
} // pkgs.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