Skip to content

Commit

Permalink
make parser dependecy optional
Browse files Browse the repository at this point in the history
  • Loading branch information
turboMaCk committed Dec 28, 2023
1 parent ce9b98f commit 0a68450
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion aeson-combinators.cabal
Expand Up @@ -37,7 +37,6 @@ library
, bytestring
, text
, aeson
, attoparsec-aeson
, scientific
, vector
, unordered-containers
Expand All @@ -49,6 +48,10 @@ library
, unordered-containers
, void
, scientific

if impl(ghc >= 9.8.0)
build-depends:
attoparsec-aeson
hs-source-dirs: lib
default-language: Haskell2010
hs-source-dirs: lib
Expand Down
4 changes: 2 additions & 2 deletions default.nix
Expand Up @@ -15,8 +15,8 @@ let
# cachix use miso-haskell
# see https://github.com/dmjio/miso/blob/e222a66566c0377738791ab563054bbfbe6abd15/README.md#nix
ghcjs = import (builtins.fetchTarball {
url = "https://github.com/dmjio/miso/archive/561ffad.tar.gz";
sha256 = "1wwzckz2qxb873wdkwqmx9gmh0wshcdxi7gjwkba0q51jnkfdi41";
url = "https://github.com/dmjio/miso/archive/843bdc3.tar.gz";
sha256 = "sha256:1fc15jza8i6xz9b32jphi3yb8mfbdb3nd9m1wmzr68saqizbfdc0";
}) {};
in with pkgs; {
ghc = haskellPackages.aeson-combinators;
Expand Down

0 comments on commit 0a68450

Please sign in to comment.