grin/shell.nix

16 lines
356 B
Nix
Raw Permalink Normal View History

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;
in
2021-05-06 16:05:43 +03:00
pkgs.shellFor {
2021-05-06 22:49:09 +03:00
buildInputs = with nixpkgs.haskellPackages; [
hlint
ghcid
];
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";
}