nixos/nix-daemon: allow registry paths to be... paths
Currently paths are handled by `types.package`, whose semantics are a bit of a mess. In particular, it converts path values to derivations using `toDerivation`, which will lead to problems when flake `outPath`s become paths in https://github.com/NixOS/nix/pull/6530. This change makes the "incompatible changes" section in the above PR obsolete: `nix.registry.nixpkgs.flake = nixpkgs;` works as expected (the flake is copied to the store).
This commit is contained in:
parent
0d9eed3128
commit
bcb5f0decc
|
@ -414,6 +414,7 @@ in
|
|||
str
|
||||
int
|
||||
bool
|
||||
path
|
||||
package
|
||||
]);
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue