mirror of
https://codeberg.org/icewind/mill-scale.git
synced 2026-06-03 09:54:19 +02:00
set PKG_CONFIG_PATH for semver-checks and miri
All checks were successful
CI / checks (push) Successful in 14s
All checks were successful
CI / checks (push) Successful in 14s
This commit is contained in:
parent
dac3b74a89
commit
a50219c7ee
1 changed files with 4 additions and 3 deletions
|
|
@ -10,9 +10,10 @@
|
|||
...
|
||||
}: let
|
||||
inherit (builtins) elem readFile pathExists match any concatLists;
|
||||
inherit (lib) getExe map mkDefault mkIf mkMerge mkOption warnIf optionalAttrs types optionalString genAttrs hasInfix makeBinPath;
|
||||
inherit (lib) getExe map mkDefault mkIf mkMerge mkOption warnIf optionalAttrs types optionalString genAttrs hasInfix makeBinPath makeSearchPathOutput;
|
||||
inherit (lib.fileset) fileFilter toSource unions;
|
||||
inherit (flakelight.types) fileset function optFunctionTo;
|
||||
makePkgConfigPath = makeSearchPathOutput "dev" "lib/pkgconfig";
|
||||
|
||||
filteredSrc = toSource {
|
||||
root = src;
|
||||
|
|
@ -381,14 +382,14 @@ in
|
|||
name = "cargo-miri";
|
||||
runtimeInputs = [miriRustToolchain] ++ deps;
|
||||
text = ''
|
||||
cargo miri "$@"
|
||||
PKG_CONFIG_PATH=${makePkgConfigPath deps} cargo miri "$@"
|
||||
'';
|
||||
};
|
||||
semver-checks-wrapped = writeShellApplication {
|
||||
name = "cargo-semver-checks";
|
||||
runtimeInputs = [cargo-semver-checks rustToolchain] ++ deps;
|
||||
text = ''
|
||||
cargo-semver-checks "$@"
|
||||
PKG_CONFIG_PATH=${makePkgConfigPath deps} cargo-semver-checks "$@"
|
||||
'';
|
||||
};
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue