We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24b137 commit 20957f9Copy full SHA for 20957f9
compiler/ghc/default.nix
@@ -462,7 +462,7 @@ stdenv.mkDerivation (rec {
462
checkTarget = "test";
463
464
hardeningDisable = [ "format" ]
465
- ++ lib.optional stdenv.targetPlatform.isAarch32 "pic"
+ ++ lib.optional (stdenv.targetPlatform.isAarch32 || enableRelocatedStaticLibs) "pic"
466
++ lib.optional stdenv.targetPlatform.isMusl "pie";
467
468
postInstall = lib.optionalString (enableNUMA && targetPlatform.isLinux) ''
0 commit comments