Skip to content

Commit eaa095a

Browse files
committed
Move iserv-proxy-interpreter overrides into overlays/haskell.nix
1 parent 0fffbb6 commit eaa095a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

overlays/haskell.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,10 +1060,10 @@ final: prev: {
10601060
# We need the proxy for the build system and the interpreter for the target
10611061
inherit (exes final.pkgsBuildBuild) iserv-proxy;
10621062
iserv-proxy-interpreter = (exes final).iserv-proxy-interpreter.override
1063-
(lib.optionalAttrs hostPlatform.isAndroid {
1064-
setupBuildFlags = ["--ghc-option=-optl-static" ] ++ lib.optional hostPlatform.isAarch32 "--ghc-option=-optl-no-pie";
1063+
(final.lib.optionalAttrs final.stdenv.hostPlatform.isAndroid {
1064+
setupBuildFlags = ["--ghc-option=-optl-static" ] ++ final.lib.optional final.stdenv.hostPlatform.isAarch32 "--ghc-option=-optl-no-pie";
10651065
enableDebugRTS = true;
1066-
} // lib.optionalAttrs hostPlatform.isWindows {
1066+
} // final.lib.optionalAttrs final.stdenv.hostPlatform.isWindows {
10671067
setupBuildFlags = ["--ghc-option=-optl-Wl,--disable-dynamicbase,--disable-high-entropy-va,--image-base=0x400000" ];
10681068
enableDebugRTS = true;
10691069
});

overlays/windows.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ final: prev:
5050
inherit (pkgs.pkgsBuildBuild) symlinkJoin;
5151
# iserv-proxy needs to come from the buildPackages, as it needs to run on the
5252
# build host.
53-
inherit (final.haskell-nix.iserv-proxy-exes.${config.compiler.nix-name}) iserv-proxy iserv-proxy-interpreter iserv-prox-interpreter-prof;
53+
inherit (final.haskell-nix.iserv-proxy-exes.${config.compiler.nix-name}) iserv-proxy iserv-proxy-interpreter iserv-proxy-interpreter-prof;
5454
} // {
5555
# we can perform testing of cross compiled test-suites by using wine.
5656
# Therefore let's enable doCrossCheck here!

0 commit comments

Comments
 (0)