File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ in rec {
42
42
"ghc8105" = "3.4.1" ;
43
43
"ghc8106" = "3.4.1" ;
44
44
"ghc8107" = "3.4.1" ;
45
+ "ghc928" = "3.6.1" ;
45
46
} . ${ compiler-nix-name } or "latest" ;
46
47
} ;
47
48
} // pkgs . lib . optionalAttrs ( ghcFromTo "9.2" "9.6" ) {
Original file line number Diff line number Diff line change @@ -793,6 +793,19 @@ stdenv.mkDerivation (rec {
793
793
then ''
794
794
mkdir $out
795
795
cp -r _build/stage1/bin $out
796
+ ${
797
+ # These are needed when building the reinstallable lib ghc
798
+ if targetPlatform . isMusl
799
+ then ''
800
+ cp _build/stageBoot/bin/genprimopcode $out/bin
801
+ cp _build/stageBoot/bin/deriveConstants $out/bin
802
+ '' else ''
803
+ cp _build/stageBoot/bin/${ targetPrefix } genprimopcode $out/bin
804
+ ln -s $out/bin/${ targetPrefix } genprimopcode $out/bin/genprimopcode
805
+ cp _build/stageBoot/bin/${ targetPrefix } deriveConstants $out/bin
806
+ ln -s $out/bin/${ targetPrefix } deriveConstants $out/bin/deriveConstants
807
+ ''
808
+ }
796
809
cp -r _build/stage1/lib $out
797
810
mkdir $doc
798
811
cp -r _build/stage1/share $doc
You can’t perform that action at this time.
0 commit comments