1
1
mirror of https://github.com/srid/rib.git synced 2024-11-22 11:23:02 +03:00

Allow overriding Haskell compiler

This commit is contained in:
Sridhar Ratnakumar 2020-05-11 17:36:50 -04:00
parent d7d98f7569
commit 7d345d8ee0
3 changed files with 7 additions and 6 deletions

View File

@ -1,8 +1,9 @@
# Change Log for rib
## UNRELEASED
## 0.11 (UNRELEASED)
- Removed pandoc-include-code
- default.nix: Allow overriding compiler
## 0.10.0.0

View File

@ -7,7 +7,7 @@ let
ribRoot = gitignoreSource ./.;
in {
pkgs ? import (builtins.fetchTarball "https://github.com/nixos/nixpkgs/archive/${nixpkgsRev}.tar.gz") {}
, compiler ? "default"
, compiler ? pkgs.haskellPackages
, root ? ribRoot
, name ? "rib"
, source-overrides ? {}
@ -19,7 +19,7 @@ let
pipe = pkgs.lib.trivial.pipe;
optionals = pkgs.lib.lists.optionals;
in
pkgs.haskellPackages.developPackage {
compiler.developPackage {
inherit root name;
source-overrides = {
rib = ribRoot;

View File

@ -1,6 +1,6 @@
cabal-version: 2.4
name: rib
version: 0.10.0.0
version: 0.11.0.0
license: BSD-3-Clause
copyright: 2019 Sridhar Ratnakumar
maintainer: srid@srid.ca
@ -32,7 +32,7 @@ common library-common
build-depends:
aeson >=1.4.2 && <1.5,
async,
base-noprelude >=4.7 && <5,
base-noprelude >=4.12 && <4.14,
binary >=0.8.6 && <0.9,
clay >=0.13.3,
cmdargs >=0.10.20 && <0.11,
@ -85,7 +85,7 @@ test-suite rib-test
hs-source-dirs: test
main-is: Spec.hs
build-depends:
base-noprelude >=4.7 && <5,
base-noprelude >=4.12 && <4.14,
relude,
hspec,
QuickCheck