2019-12-08 19:28:05 +03:00
|
|
|
let
|
2021-05-06 22:49:09 +03:00
|
|
|
sources = import ./nix/sources.nix {};
|
|
|
|
nixpkgs = import sources.nixpkgs {};
|
2021-05-06 16:05:43 +03:00
|
|
|
pkgs = import ./default.nix;
|
2019-12-08 19:28:05 +03:00
|
|
|
in
|
2021-05-06 16:05:43 +03:00
|
|
|
pkgs.shellFor {
|
2021-05-06 22:49:09 +03:00
|
|
|
buildInputs = with nixpkgs.haskellPackages; [
|
2019-12-11 22:59:17 +03:00
|
|
|
hlint
|
|
|
|
ghcid
|
|
|
|
];
|
2019-12-14 12:26:19 +03:00
|
|
|
|
2021-05-06 22:49:09 +03:00
|
|
|
GRIN_CC = "${nixpkgs.clang_7}/bin/clang";
|
|
|
|
GRIN_OPT = "${nixpkgs.llvm_7}/bin/opt";
|
|
|
|
GRIN_LLC = "${nixpkgs.llvm_7}/bin/llc";
|
2019-12-11 22:59:17 +03:00
|
|
|
}
|