Skip to content

Commit

Permalink
nixos/top-level: change extraDependencies from package to pathInStore
Browse files Browse the repository at this point in the history
Allows adding subdirectory flake inputs that aren't top-level store paths.

(cherry picked from commit 0179d9f)
  • Loading branch information
ncfavier authored and github-actions[bot] committed Jun 27, 2023
1 parent 93d6fab commit 15b1013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/system/activation/top-level.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15b1013

Please sign in to comment.