mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
system-path: fix type
This commit is contained in:
parent
afdcebc111
commit
af0579f4a1
2 changed files with 3 additions and 2 deletions
|
@ -33,7 +33,7 @@ in {
|
|||
};
|
||||
|
||||
environment.systemPath = mkOption {
|
||||
type = types.listOf types.str;
|
||||
type = types.listOf (types.either types.path types.str);
|
||||
description = "The set of paths that are added to PATH.";
|
||||
apply = x: if isList x then makeDrvBinPath x else x;
|
||||
};
|
||||
|
|
|
@ -41,7 +41,8 @@ let
|
|||
set -e
|
||||
|
||||
${config.test}
|
||||
echo ok | tee $out >&2
|
||||
echo ok >&2
|
||||
touch $out
|
||||
'';
|
||||
|
||||
out = config.system.build.toplevel;
|
||||
|
|
Loading…
Reference in a new issue