Skip to content

Commit 1a23326

Browse files
authored
Merge pull request #118 from PrivateStorageio/bump-haskellnix-nixpkgs
Update Haskell.nix and the stack resolver
2 parents b1bd39f + eb7d592 commit 1a23326

File tree

5 files changed

+7
-15
lines changed

5 files changed

+7
-15
lines changed

nix/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let
2121
# haskell.nix provides access to the nixpkgs pins which are used by our CI,
2222
# hence you will be more likely to get cache hits when using these.
2323
# But you can also just use your own, e.g. '<nixpkgs>'.
24-
haskellNix.sources.nixpkgs-2111
24+
haskellNix.sources.nixpkgs-2205
2525
# These arguments passed to nixpkgs, include some patches and also
2626
# the haskell.nix functionality itself as an overlay.
2727
(haskellNix.nixpkgsArgs // { overlays = allOverlays; });

nix/materialized.paymentserver/PaymentServer.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,4 @@
142142
};
143143
};
144144
};
145-
} // rec {
146-
src = (pkgs.lib).mkDefault ./.;
147-
}
145+
} // rec { src = (pkgs.lib).mkDefault ./.; }

nix/materialized.paymentserver/default.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
extras = hackage:
33
{
44
packages = {
5-
"stripe-core" = (((hackage.stripe-core)."2.5.0").revisions).default;
6-
"stripe-haskell" = (((hackage.stripe-haskell)."2.5.0").revisions).default;
7-
"stripe-http-client" = (((hackage.stripe-http-client)."2.5.0").revisions).default;
85
PaymentServer = ./PaymentServer.nix;
96
servant-prometheus = ./.stack-to-nix.cache.0;
107
};
118
};
12-
resolver = "lts-14.2";
9+
resolver = "lts-18.28";
1310
modules = [
1411
({ lib, ... }:
1512
{ packages = {}; })

nix/sources.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"homepage": "https://input-output-hk.github.io/haskell.nix",
66
"owner": "input-output-hk",
77
"repo": "haskell.nix",
8-
"rev": "e95a1f0dacbc64603c31d11e36e4ba1af8f0eb43",
9-
"sha256": "160cf7ha2c5wkbymy3h4skzw1l3x4i8dhj2arvq3bdz92gg1d6cb",
8+
"rev": "4e01f345439c89bc2a5616ceda08a979a01bc15e",
9+
"sha256": "02n3ag3zcig60x93hh9v2vnhyw6qmzr9qg8dpnr4ac4ym8cyifc9",
1010
"type": "tarball",
11-
"url": "https://github.com/input-output-hk/haskell.nix/archive/e95a1f0dacbc64603c31d11e36e4ba1af8f0eb43.tar.gz",
11+
"url": "https://github.com/input-output-hk/haskell.nix/archive/4e01f345439c89bc2a5616ceda08a979a01bc15e.tar.gz",
1212
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
1313
},
1414
"libchallenge_bypass_ristretto_ffi": {

stack.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# resolver: ./custom-snapshot.yaml
1919
# resolver: https://example.com/snapshots/2018-01-01.yaml
20-
resolver: lts-14.2
20+
resolver: lts-18.28
2121

2222
# User packages to be built.
2323
# Various formats can be used as shown in the example below.
@@ -38,9 +38,6 @@ packages:
3838
# using the same syntax as the packages field.
3939
# (e.g., acme-missiles-0.3)
4040
extra-deps:
41-
- "stripe-core-2.5.0"
42-
- "stripe-haskell-2.5.0"
43-
- "stripe-http-client-2.5.0"
4441
- github: "PrivateStorageio/servant-prometheus"
4542
commit: "b9461cbf689b47506b2eee973136706092b74968"
4643
# https://input-output-hk.github.io/haskell.nix/tutorials/source-repository-hashes/#stack

0 commit comments

Comments
 (0)