File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
development/haskell-modules Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6565 }
6666 ''
6767 mkdir -p $out/bin
68- makeWrapper ${ lib . getBin Agda } /bin/agda $out/bin/agda \
68+ makeWrapper ${ lib . getExe Agda } $out/bin/agda \
6969 ${ lib . optionalString ( ghc != null ) ''--add-flags "--with-compiler=${ ghc } /bin/ghc"'' } \
7070 --add-flags "--library-file=${ library-file } "
71- ln -s ${ lib . getBin Agda } /bin/ agda-mode $out/bin/agda-mode
71+ ln -s ${ lib . getExe' Agda " agda-mode" } $out/bin/agda-mode
7272 '' ;
7373
7474 withPackages = arg : if isAttrs arg then withPackages' arg else withPackages' { pkgs = arg ; } ;
Original file line number Diff line number Diff line change @@ -1362,6 +1362,8 @@ builtins.intersectAttrs super {
13621362 # very useful.
13631363 # Flag added in Agda 2.6.4.1, was always enabled before
13641364 ( enableCabalFlag "debug" )
1365+ # Set the main program
1366+ ( overrideCabal { mainProgram = "agda" ; } )
13651367 # Split outputs to reduce closure size
13661368 enableSeparateBinOutput
13671369 ] ;
You can’t perform that action at this time.
0 commit comments