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 { system.extraDependencies = mkOption {
type = types.listOf types.package; type = types.listOf types.pathInStore;
default = []; default = [];
description = lib.mdDoc '' 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. closure but generally not visible to users.
This option has also been used for build-time checks, but the This option has also been used for build-time checks, but the