Merge pull request #170134 from helsinki-systems/feat/systemd-stage-1-also-storepaths

nixos/stage-1-systemd: Also accept packages as store paths
This commit is contained in:
Bernardo Meurer 2022-04-25 14:53:24 -07:00 committed by GitHub
commit 9f26ab61e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,7 +193,7 @@ in {
description = ''
Store paths to copy into the initrd as well.
'';
type = types.listOf types.singleLineStr;
type = with types; listOf (oneOf [ singleLineStr package ]);
default = [];
};