File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 120
120
lib . concatMapAttrs
121
121
( name : option :
122
122
if lib . isOption option then
123
- if lib . isType "output" option || lib . isType "outputOf" option then {
124
- ${ name } = config . ${ name } ;
125
- } else { }
123
+ let typeName = option . type . name or "" ;
124
+ in
125
+ if builtins . elem typeName [ "output" "outputOf" ] then
126
+ { ${ name } = config . ${ name } ; }
127
+ else { }
126
128
else
127
129
let v = build option config . ${ name } ;
128
130
in if v != { } then {
Original file line number Diff line number Diff line change 5
5
set -xeuo pipefail
6
6
7
7
# Install direnv
8
- export PATH=" $( nix build nixpkgs#direnv --print-out-paths --no-out-link ) /bin:$PATH "
8
+ export PATH=" $( nix build nixpkgs#direnv --print-out-paths) /bin:$PATH "
9
9
10
10
export TMPDIR=$( mktemp -d)
11
11
export XDG_CONFIG_HOME=${TMPDIR} /config
You can’t perform that action at this time.
0 commit comments