speedup build by only building sub directories (#62)

This commit is contained in:
Benoit Louy
2023-07-06 10:23:23 -04:00
committed by GitHub
parent a5d3f32659
commit 0132984722
2 changed files with 2 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ in
CARGO_BUILD_INCREMENTAL = "false";
RUST_BACKTRACE = "full";
copyLibs = true;
buildAndTestSubdir = if dontBuildPlugins then name else null;
postInstall = ''
wrapProgram $out/bin/anyrun \

View File

@@ -40,6 +40,7 @@ in
RUST_BACKTRACE = "full";
copyLibs = true;
cargoBuildFlags = ["-p ${name}"];
buildAndTestSubdir = "plugins/${name}";
meta = with lib; {
description = "The ${name} plugin for Anyrun";