Revision 163b81570ce2e07a5466ac0b578b0b95419f1117 authored by mkolosick on 16 November 2019, 17:37:16 UTC, committed by mkolosick on 16 November 2019, 17:37:16 UTC
1 parent d4c6f6f
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 ...