Retain private platform source while resolving its context-free Nix flake reference
This commit is contained in:
@@ -81,7 +81,12 @@ let
|
||||
else
|
||||
assert platformSource.repository == root.lock.quixos.repository;
|
||||
assert platformSource.commit == root.lock.quixos.commit;
|
||||
builtins.getFlake "path:${builtins.storePath platformSource.directory}";
|
||||
# getFlake accepts a context-free flake reference. storePath first checks
|
||||
# presence; the resulting flake retains its immutable source as an input.
|
||||
# Dropping string context here does not permit an authored mutable path.
|
||||
builtins.getFlake (
|
||||
builtins.unsafeDiscardStringContext "path:${builtins.storePath platformSource.directory}"
|
||||
);
|
||||
runtimePackages = runtime.packages.${system};
|
||||
resourceClosure =
|
||||
includeBuild: node:
|
||||
|
||||
Reference in New Issue
Block a user