Skip to content

Commit de7a027

Browse files
authored
Disable cross-compilation by default on hix flake template (#1625)
1 parent 0f2bd4e commit de7a027

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

hix/init/nix/hix.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
# name = "project-name";
33
compiler-nix-name = "ghc8107"; # Version of GHC to use
44

5-
crossPlatforms = p: pkgs.lib.optionals pkgs.stdenv.hostPlatform.isx86_64 ([
6-
p.mingwW64
7-
p.ghcjs
8-
] ++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isLinux [
9-
p.musl64
10-
]);
5+
# Cross compilation support:
6+
# crossPlatforms = p: pkgs.lib.optionals pkgs.stdenv.hostPlatform.isx86_64 ([
7+
# p.mingwW64
8+
# p.ghcjs
9+
# ] ++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isLinux [
10+
# p.musl64
11+
# ]);
1112

1213
# Tools to include in the development shell
1314
shell.tools.cabal = "latest";

0 commit comments

Comments
 (0)