nixos/top-level: change extraDependencies from package to pathInStore

Allows adding subdirectory flake inputs that aren't top-level store paths.
This commit is contained in:
Naïm Favier 2023-06-12 00:35:39 +02:00
parent 14d3e5685a
commit 0179d9f7e6
No known key found for this signature in database
GPG key ID: 95AFCE8211908325

View file

@ -260,10 +260,10 @@ in
};
system.extraDependencies = mkOption {
type = types.listOf types.package;
type = types.listOf types.pathInStore;
default = [];
description = lib.mdDoc ''
A list of packages that should be included in the system
A list of paths that should be included in the system
closure but generally not visible to users.
This option has also been used for build-time checks, but the