Revision 2d880d1d94777e3f2182a6c88b169db4290926b4 authored by Niki Vazou on 04 June 2019, 14:48:25 UTC, committed by GitHub on 04 June 2019, 14:48:25 UTC
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 ...