on iko/ghcjs-patch-master help sign in
don't try to set enableRelocatableStaticLibs = false on aarch32 as that parameter is no longer recognized and it's already disabled by the compiler/ghc/default.nix default for enableRelocatedStaticLibs (#911)
7f4442fRoss MacLeod
@@ -3,8 +3,6 @@ final: prev: with prev;
3 let
3 let
4 ghcPkgOverrides = {
4 ghcPkgOverrides = {
5 enableIntegerSimple = false;
5 enableIntegerSimple = false;
6− } // lib.optionalAttrs final.stdenv.hostPlatform.isAarch32 {
7− enableRelocatableStaticLibs = false;
8 };
6 };
9 ghcDrvOverrides = drv: {
7 ghcDrvOverrides = drv: {
10 hardeningDisable = (drv.hardeningDisable or []) ++ [ "stackprotector" "format" ] ++ lib.optionals prev.stdenv.hostPlatform.isAarch32 [ "pic" "pie" ];
8 hardeningDisable = (drv.hardeningDisable or []) ++ [ "stackprotector" "format" ] ++ lib.optionals prev.stdenv.hostPlatform.isAarch32 [ "pic" "pie" ];