File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 147
147
drv = runCommand "${ componentName } -${ ghc . name } -env" {
148
148
preferLocalBuild = true ;
149
149
passthru = {
150
- inherit targetPrefix ;
150
+ inherit script targetPrefix ;
151
151
inherit ( ghc ) version meta ;
152
152
} ;
153
153
propagatedBuildInputs = configFiles . libDeps ;
Original file line number Diff line number Diff line change 204
204
drv = runCommand "${ ghc . targetPrefix } ${ fullName } -config" {
205
205
nativeBuildInputs = [ ghc ] ;
206
206
propagatedBuildInputs = libDeps ;
207
+ passthru = {
208
+ inherit ( ghc ) targetPrefix ;
209
+ inherit script libDeps ghcCommand ghcCommandCaps libDir packageCfgDir component ;
210
+ } ;
207
211
} ( ''
208
212
mkdir -p $out
209
213
configFiles=$out
Original file line number Diff line number Diff line change 182
182
183
183
passthru = ( mkDrvArgs . passthru or { } ) // {
184
184
ghc = ghcEnv . drv ;
185
- inherit configFiles ;
185
+ configFiles . drv ;
186
186
} ;
187
187
} // lib . optionalAttrs exactDeps {
188
- CABAL_CONFIG = "${ configFiles } /cabal.config" ;
188
+ CABAL_CONFIG = "${ configFiles . drv } /cabal.config" ;
189
189
} )
You can’t perform that action at this time.
0 commit comments