lean4-htt/shell.nix

11 lines
524 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
lean = pkgs.callPackage ./default.nix {};
temci = pkgs.callPackage (builtins.fetchGit { url = https://github.com/parttimenerd/temci.git; rev = "66fa7d1eaeb671be32850009304bca5a270b9646"; }) {};
in pkgs.mkShell rec {
inputsFrom = [ lean ];
buildInputs = with pkgs; [ temci clang_7 ccache ninja jemalloc ];
# TODO: this should not be necessary when leanc starts statically linking binaries
LD_LIBRARY_PATH = "${pkgs.stdenv.lib.makeLibraryPath buildInputs}:$LD_LIBRARY_PATH";
}