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

Allows adding subdirectory flake inputs that aren't top-level store paths.

(cherry picked from commit 0179d9f7e6)
This commit is contained in:
Naïm Favier
2023-06-12 00:35:39 +02:00
committed by github-actions[bot]
parent 93d6fab25c
commit 15b10135e6

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