mirror of
https://github.com/grin-compiler/grin.git
synced 2024-09-11 07:25:28 +03:00
Always use same compiler in shell.nix and default.nix
This commit is contained in:
parent
835678650c
commit
0784573cac
@ -1,8 +1,8 @@
|
||||
{ pkgs ? import nix/pkgs.nix }:
|
||||
{ compiler ? "ghc865", pkgs ? import nix/pkgs.nix }:
|
||||
|
||||
let
|
||||
hlib = pkgs.haskell.lib;
|
||||
hpkg = pkgs.haskell.packages.ghc865;
|
||||
hpkg = pkgs.haskell.packages."${compiler}";
|
||||
llvm-hs = import ./nix/llvm-hs.nix;
|
||||
in
|
||||
|
||||
|
@ -1,7 +1,11 @@
|
||||
{ pkgs ? import nix/pkgs.nix }:
|
||||
|
||||
let grin = import ./. { inherit pkgs; };
|
||||
in pkgs.haskell.packages.ghc865.shellFor {
|
||||
let
|
||||
compiler = "ghc865";
|
||||
grin = import ./. { inherit compiler pkgs; };
|
||||
in
|
||||
|
||||
pkgs.haskell.packages."${compiler}".shellFor {
|
||||
withHoogle = true;
|
||||
packages = p: [ grin ];
|
||||
inherit (grin.env) nativeBuildInputs;
|
||||
|
Loading…
Reference in New Issue
Block a user