Skip to content

Commit

Permalink
Bump dependencies for ghc-8.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
imalsogreg committed Mar 8, 2020
1 parent 5ed9016 commit b24f46c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.8.5.0
-----

Bump dependencies for ghc-8.8.2


0.8.4.1
-----

Expand Down
12 changes: 9 additions & 3 deletions pkgs.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{ nixpkgs ? null }:
let
overlay = pself: pkgs:
let
Expand All @@ -19,8 +20,10 @@ let
# haskellPackages = pkgs.haskell.packages.ghc822.override {
haskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
#hspec-snap = dontCheck (self.callPackage ./pkgs/hspec-snap.nix {});
hspec-snap = self.callCabal2nix "hspec-snap" hspec-snap-src {};
# hspec-snap = dontCheck (self.callPackage ./pkgs/hspec-snap.nix {});
# hspec-snap = self.callCabal2nix "hspec-snap" hspec-snap-src {};
# hspec-snap = self.callHackage "hspec-snap" "1.0.2.0" {};
# hspec-snap = self.callPackage ../hspec-snap {};
# hspec-snap = doJailbreak super.hspec-snap;
lens = dontCheck super.lens;
map-syntax = dontCheck super.map-syntax;
Expand All @@ -40,4 +43,7 @@ let
};
};
};
in import ./nixpkgs.nix { overlays = [overlay]; }
in import (if isNull nixpkgs
then ./nixpkgs.nix
else nixpkgs
) { overlays = [overlay]; }
6 changes: 4 additions & 2 deletions release.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ compiler ? "default" }:
{ compiler ? "default"
, nixpkgs ? null
}:
let
pkgs = import ./pkgs.nix;
pkgs = import ./pkgs.nix { inherit nixpkgs; };
haskellPackages = if compiler == "default"
then pkgs.haskellPackages
else pkgs.haskell.packages.${compiler};
Expand Down
6 changes: 3 additions & 3 deletions servant-snap.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: servant-snap
version: 0.8.4.1
version: 0.8.5
synopsis: A family of combinators for defining webservices APIs and serving them
description:
Interpret a Servant API as a Snap server, using any Snaplets you like.
Expand Down Expand Up @@ -44,15 +44,15 @@ library
Servant.Server.Internal.SnapShims
Servant.Utils.StaticFiles
build-depends:
base >= 4.7 && < 4.13
base >= 4.7 && < 4.14
, aeson >= 0.7 && < 1.5
, attoparsec >= 0.12 && < 0.14
, base64-bytestring >= 1.0 && < 1.1
, bytestring >= 0.10 && < 0.11
, case-insensitive >= 1.2 && < 1.3
, containers >= 0.5 && < 0.7
, filepath >= 1 && < 1.5
, http-media >= 0.7.1.2 && < 0.8
, http-media >= 0.7.1.2 && < 0.9
, http-types >= 0.8 && < 0.13
, http-api-data >= 0.2 && < 0.5
, io-streams >= 1.3 && < 1.6
Expand Down
6 changes: 4 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{ compiler ? "default" }:
{ compiler ? "default"
, nixpkgs ? null
}:
let
rel = import ./release.nix { compiler = compiler; };
rel = import ./release.nix { inherit compiler nixpkgs; };
in
rel.servant-snap.env

0 comments on commit b24f46c

Please sign in to comment.