Created
July 7, 2017 09:57
-
-
Save nc6/1a62763714e199b093006da258409939 to your computer and use it in GitHub Desktop.
numhask build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.nixpkgs/config.nix | |
{ pkgs }: | |
{ | |
allowUnfree = true; | |
packageOverrides = self: rec { | |
haskellPackages = self.haskellPackages.override { | |
overrides = hsSelf: hsSuper: { | |
numhask = hsSelf.callPackage /home/nc/proj/numhask {}; | |
}; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ mkDerivation, adjunctions, base, distributive, doctest, HUnit | |
, protolude, QuickCheck, singletons, stdenv, tasty, tasty-hunit | |
, tasty-quickcheck, vector | |
}: | |
mkDerivation { | |
pname = "numhask"; | |
version = "0.0.4"; | |
src = ./.; | |
doCheck = false; | |
libraryHaskellDepends = [ | |
adjunctions base distributive protolude QuickCheck singletons | |
vector | |
]; | |
testHaskellDepends = [ | |
base doctest HUnit QuickCheck tasty tasty-hunit tasty-quickcheck | |
]; | |
homepage = "https://github.com/tonyday567/numhask"; | |
description = "A numeric prelude"; | |
license = stdenv.lib.licenses.bsd3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment