nix/packages: fix incramental builds variable
https://doc.rust-lang.org/cargo/reference/config.html
This commit is contained in:
@@ -39,8 +39,6 @@ in
|
|||||||
inherit lockFile;
|
inherit lockFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [cargo rustc];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
makeWrapper
|
makeWrapper
|
||||||
@@ -63,6 +61,8 @@ in
|
|||||||
else [];
|
else [];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
checkInputs = [cargo rustc];
|
||||||
|
|
||||||
copyLibs = true;
|
copyLibs = true;
|
||||||
|
|
||||||
buildAndTestSubdir =
|
buildAndTestSubdir =
|
||||||
@@ -70,7 +70,7 @@ in
|
|||||||
then pname
|
then pname
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
CARGO_BUILD_INCREMENTAL = "false";
|
CARGO_BUILD_INCREMENTAL = 0;
|
||||||
RUST_BACKTRACE = "full";
|
RUST_BACKTRACE = "full";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
@@ -82,7 +82,7 @@ in
|
|||||||
meta = {
|
meta = {
|
||||||
description = "A wayland native, highly customizable runner.";
|
description = "A wayland native, highly customizable runner.";
|
||||||
homepage = "https://github.com/Kirottu/anyrun";
|
homepage = "https://github.com/Kirottu/anyrun";
|
||||||
license = with lib.licenses; [gpl3];
|
license = [lib.licenses.gpl3];
|
||||||
mainProgram = "anyrun";
|
mainProgram = "anyrun";
|
||||||
maintainers = with lib.maintainers; [NotAShelf n3oney];
|
maintainers = with lib.maintainers; [NotAShelf n3oney];
|
||||||
};
|
};
|
||||||
|
@@ -10,6 +10,8 @@
|
|||||||
gtk-layer-shell,
|
gtk-layer-shell,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
librsvg,
|
librsvg,
|
||||||
|
cargo,
|
||||||
|
rustc,
|
||||||
# Generic args
|
# Generic args
|
||||||
name,
|
name,
|
||||||
lockFile,
|
lockFile,
|
||||||
@@ -49,17 +51,22 @@ in
|
|||||||
++ extraInputs;
|
++ extraInputs;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
checkInputs = [
|
||||||
|
cargo
|
||||||
|
rustc
|
||||||
|
];
|
||||||
|
|
||||||
copyLibs = true;
|
copyLibs = true;
|
||||||
cargoBuildFlags = ["-p ${name}"];
|
cargoBuildFlags = ["-p ${name}"];
|
||||||
buildAndTestSubdir = "plugins/${name}";
|
buildAndTestSubdir = "plugins/${name}";
|
||||||
|
|
||||||
CARGO_BUILD_INCREMENTAL = "false";
|
CARGO_BUILD_INCREMENTAL = 0;
|
||||||
RUST_BACKTRACE = "full";
|
RUST_BACKTRACE = "full";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "The ${name} plugin for Anyrun";
|
description = "The ${name} plugin for Anyrun";
|
||||||
homepage = "https://github.com/Kirottu/anyrun";
|
homepage = "https://github.com/Kirottu/anyrun";
|
||||||
license = with lib.licenses; [gpl3];
|
license = [lib.licenses.gpl3];
|
||||||
maintainers = with lib.maintainers; [NotAShelf n3oney];
|
maintainers = with lib.maintainers; [NotAShelf n3oney];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user