Skip to content

Commit

Permalink
Track nixpkgs-unstable
Browse files Browse the repository at this point in the history
Use unleash-client-haskell-core-0.10.0.

Refactor Cabal file.
  • Loading branch information
evenbrenden committed Oct 16, 2023
1 parent f1c5106 commit 5ad3c6d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 24 deletions.
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
flake = false;
};
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
unleash-client-haskell-core.url =
"github:finn-no/unleash-client-haskell-core?ref=0.9.0";
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
unleash-client-haskell-core.url = "github:finn-no/unleash-client-haskell-core?ref=0.10.0";
};
outputs =
{ self, nixpkgs, flake-compat, flake-utils, unleash-client-haskell-core }:
Expand Down
18 changes: 9 additions & 9 deletions unleash-client-haskell.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ extra-doc-files: CHANGELOG.md
extra-source-files: README.md

common all
build-depends:
base >=4.7 && <5,
default-extensions:
BlockArguments
DataKinds
Expand Down Expand Up @@ -64,25 +62,27 @@ library
Paths_unleash_client_haskell
hs-source-dirs: src
build-depends:
aeson >= 2.0.3 && < 2.1,
containers >= 0.6.5 && < 0.7,
aeson >= 2.0.3 && < 2.2,
base >= 4.7 && < 5,
containers >= 0.6.4 && < 0.7,
mtl >= 2.2.2 && < 2.3,
text >= 1.2.5 && < 2.1,
time >= 1.9.3 && < 1.13,
http-client-tls >= 0.3.6 && < 0.4,
http-media >= 0.8.0 && < 0.9,
mtl >= 2.2.2 && < 2.3,
servant >= 0.19.1 && < 0.20,
servant-client >= 0.19 && < 0.20,
text >= 1.2.5 && < 1.3,
time >= 1.11.1 && < 1.12,
unleash-client-haskell-core >= 0.9.0 && < 0.10,
unleash-client-haskell-core >= 0.8.7 && < 0.11,

executable example
import: all
main-is: Main.hs
hs-source-dirs: example
build-depends:
unliftio >= 0.2.23 && < 0.3,
base,
mtl,
servant-client,
text,
unleash-client-haskell,
unleash-client-haskell-core,
unliftio >= 0.2.24 && < 0.3,

0 comments on commit 5ad3c6d

Please sign in to comment.