mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 10:10:06 +01:00
fix(storeDir) Use the builtin nix store location indicator
Minor fixes in the variable filtering function with nix packages.
This commit is contained in:
parent
58a0db7861
commit
f84edb7760
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue