Revision e782f4a589aa38c100ec34f2a390d35247e3653b authored by Anish Tondwalkar on 19 August 2019, 08:43:17 UTC, committed by Anish Tondwalkar on 19 August 2019, 08:43:17 UTC
1 parent fe737ea
shell.nix
{ nixpkgs ? import <nixpkgs> {}, compiler ? "default" }:
let
inherit (nixpkgs) pkgs;
f = import ./default.nix { inherit (pkgs) fetchgitLocal; };
haskellPackages = if compiler == "default"
then pkgs.haskellPackages
else pkgs.haskell.packages.${compiler};
drv = haskellPackages.callPackage f { inherit (pkgs) z3; };
in
if pkgs.lib.inNixShell then drv.env else drv
Computing file changes ...