mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
feat: Support store subpaths in partitions.<name>.extraInputsFlake
This commit is contained in:
parent
567b938d64
commit
20c0c789f7
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ let
|
|||
p = options.extraInputsFlake.value;
|
||||
flake =
|
||||
if builtins.typeOf p == "path"
|
||||
|| (builtins.typeOf p == "string" && lib.strings.hasPrefix "${builtins.storeDir}/" p)
|
||||
then get-flake p
|
||||
else builtins.getFlake p;
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue