Skip to content

Commit

Permalink
Add ghc of nixpkgs to haskell-nix
Browse files Browse the repository at this point in the history
  • Loading branch information
junjihashimoto committed May 27, 2023
1 parent 8b2e2f0 commit 5527ffb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@
dev-tools = final: prev: {
haskell-nix = prev.haskell-nix // {
custom-tools = prev.haskell-nix.custom-tools // (prev.callPackage ./nix/haskell-language-server {});
compiler.ghc924 = prev.haskell.compiler.ghc924 // {
isHaskellNixCompiler = true;
useLLVM = false;
};
compiler.ghc8107 = prev.haskell.compiler.ghc8107 // {
isHaskellNixCompiler = true;
useLLVM = false;
};
};
};

Expand Down Expand Up @@ -103,7 +111,7 @@
legacyPkgs = haskell-nix.legacyPackages.${system}.appendOverlays overlays;
};

in { inherit (hasktorch) overlays; } // (eachSystem [ "x86_64-linux" "x86_64-darwin" ] (system:
in { inherit (hasktorch) overlays; } // (eachSystem [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ] (system:
let
mk-pkgset = generic-pkgset system;

Expand Down

0 comments on commit 5527ffb

Please sign in to comment.