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:
parent
d7d98f7569
commit
7d345d8ee0
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user