Skip to content

Commit 77d5156

Browse files
committed
More on cross-compiling
1 parent e2c05c9 commit 77d5156

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

flake.lock

+4-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
inputs.nixpkgs.follows = "nixpkgs";
88
};
99
inputs.haskellNix.url = "github:input-output-hk/haskell.nix";
10-
inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
10+
inputs.nixpkgs.follows = "haskellNix/nixpkgs";
1111

1212
outputs = { self, flake-utils, gitignore, haskellNix, nixpkgs }:
1313
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
1414
let
15+
# compiler-nix-name = "ghc966";
1516
compiler-nix-name = "ghc984";
1617

1718
pkgs = import nixpkgs {
@@ -32,8 +33,10 @@
3233
flakeWindows = (pkgs.pkgsCross.mingwW64.haskell-nix.hix.project {
3334
inherit src compiler-nix-name;
3435
evalSystem = system;
35-
projectFileName = "stack.yaml";
36-
modules = [];
36+
projectFileName = "stack-9.8.4.yaml";
37+
modules = [{
38+
reinstallableLibGhc = false;
39+
}];
3740
}).flake {};
3841

3942
in

0 commit comments

Comments
 (0)