File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -257,12 +257,10 @@ let
257
257
echo >> ./cabal.project
258
258
'' +
259
259
# Add replacement `source-repository-package` blocks pointing to the minimal git repos
260
+ # Using `optional-packages:` to work around https://github.com/haskell/cabal/issues/5444
260
261
( pkgs . lib . strings . concatMapStrings ( f : ''
261
- echo "source-repository-package" >> ./cabal.project
262
- echo " type: git" >> ./cabal.project
263
- echo " location: file://${ f . location } " >> ./cabal.project
264
- echo " subdir: ${ builtins . concatStringsSep " " f . subdirs } " >> ./cabal.project
265
- echo " tag: ${ f . tag } " >> ./cabal.project
262
+ echo "optional-packages:" >> ./cabal.project
263
+ echo " ${ f . location } /${ builtins . concatStringsSep " " f . subdirs } " >> ./cabal.project
266
264
'' ) sourceReposEval
267
265
) ) ;
268
266
# This will be used to replace refernces to the minimal git repos with just the index
You can’t perform that action at this time.
0 commit comments