1
0
Fork 0
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:
Daiderd Jordan 2017-10-07 10:17:45 +02:00
parent afdcebc111
commit af0579f4a1
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 3 additions and 2 deletions

View file

@ -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;
};

View file

@ -41,7 +41,8 @@ let
set -e
${config.test}
echo ok | tee $out >&2
echo ok >&2
touch $out
'';
out = config.system.build.toplevel;