fix(storeDir) Use the builtin nix store location indicator

Minor fixes in the variable filtering function with nix packages.
This commit is contained in:
Skryta Istota 2025-11-30 11:44:23 +01:00
parent 58a0db7861
commit f84edb7760
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ in rec {
filterJobVariables = shouldContain: job:
concatMapAttrs (
name: value:
optionalAttrs ((hasInfix "/nix/store/" value) == shouldContain) {
optionalAttrs ((hasInfix builtins.storeDir value) == shouldContain) {
${name} = value;
}
)