Skip to content

Instantly share code, notes, and snippets.

@dhess
Created November 9, 2017 02:29
Show Gist options
  • Save dhess/23cbf44a208e206348fb7b6d9e540a37 to your computer and use it in GitHub Desktop.
Save dhess/23cbf44a208e206348fb7b6d9e540a37 to your computer and use it in GitHub Desktop.
@@ -159,7 +164,11 @@ in rec {
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-7.10.x.nix { };
};
ghc802 = callPackage ../development/haskell-modules {
- ghc = compiler.ghc802;
+ ghc = if stdenv.system == "armv7l-linux" || stdenv.system == "aarch64-linux"
+ then
+ compiler.ghc802Arm
+ else
+ compiler.ghc802;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.0.x.nix { };
};
ghc821 = callPackage ../development/haskell-modules {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment