Revision eba25900eb2fc826d3a49a455d5b790eac780d3b authored by Anish Tondwalkar on 20 October 2019, 06:45:26 UTC, committed by Anish Tondwalkar on 20 October 2019, 06:45:26 UTC
1 parent e025d35
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 ...