Skip to content

Commit 97c6241

Browse files
Try #620:
2 parents 3356114 + baefab6 commit 97c6241

File tree

12 files changed

+1945
-15
lines changed

12 files changed

+1945
-15
lines changed

compiler/ghc/default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# build-tools
99
, bootPkgs
10-
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx
10+
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx, numactl
1111
, autoreconfHook
1212
, bash
1313

@@ -116,7 +116,8 @@ let
116116
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
117117
++ [targetLibffi]
118118
++ stdenv.lib.optional (!enableIntegerSimple) gmp
119-
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
119+
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
120+
++ stdenv.lib.optional platform.isLinux numactl;
120121

121122
toolsForTarget =
122123
if hostPlatform == buildPlatform then

compiler/old-ghc-nix/old-ghc-nix.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"url": "https://github.com/angerman/old-ghc-nix",
3-
"rev": "bf640c1a3f55203bb7492a366c6492ff3c211332",
4-
"date": "2020-02-27T19:53:36+08:00",
5-
"sha256": "050g06911rpmvn66y5lmnszswz17flw3b979imdchc2apji6a1sm",
3+
"rev": "2a41a09127f6dc7a6384823d1acd51ba257f95bd",
4+
"date": "2020-06-03T12:50:09+08:00",
5+
"sha256": "1cp6aksb6ldgjb5zyqikyjrjij79n9z7wd86migph0wp19vmszkf",
66
"fetchSubmodules": false
77
}

materialized/dummy-ghc/ghc-8.8.3-aarch64-linux/ghc-pkg/dump-global

Lines changed: 1591 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/dummy-ghc/ghc-8.8.3-aarch64-linux/ghc-pkg/version

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/dummy-ghc/ghc-8.8.3-aarch64-linux/ghc/info

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/dummy-ghc/ghc-8.8.3-aarch64-linux/ghc/numeric-version

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/dummy-ghc/ghc-8.8.3-aarch64-linux/ghc/supported-languages

Lines changed: 247 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix-tools/regenerate.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ in
5454
# "stm" "terminfo"
5555
];
5656
}];
57-
}).nix-tools.components.exes.plan-to-nix; in
57+
}).nix-tools.components.exes.plan-to-nix;
58+
bootstrap = if pkgs.targetPlatform.isAarch64
59+
then haskell-nix.bootstrap.compiler.ghc882
60+
else haskell-nix.bootstrap.compiler.ghc844;
61+
in
5862
with builtins;
5963
with stdenv.lib;
6064
writeShellScriptBin "update-nix-tools" ''

0 commit comments

Comments
 (0)