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)
Co-authored-by: Ross MacLeod <ross@vitalbio.com>
commit7f4442f492908f26bcc83228c655e0f9fee6587f
authorRoss MacLeod <Dridus@users.noreply.github.com>
dateTue 10 Nov 2020, 03:18 (6 years ago)
parent24fadac
overlays/ghc.nix−2
@@ -3,8 +3,6 @@ final: prev: with prev;
33 let
44 ghcPkgOverrides = {
55 enableIntegerSimple = false;
6− } // lib.optionalAttrs final.stdenv.hostPlatform.isAarch32 {
7− enableRelocatableStaticLibs = false;
86 };
97 ghcDrvOverrides = drv: {
108 hardeningDisable = (drv.hardeningDisable or []) ++ [ "stackprotector" "format" ] ++ lib.optionals prev.stdenv.hostPlatform.isAarch32 [ "pic" "pie" ];