diff options
author | Domen Kožar <domen@dev.si> | 2022-01-18 15:40:40 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2022-01-18 15:40:40 +0100 |
commit | 6f00dbfe275a0c9c38004532372ec1e74e596468 (patch) | |
tree | 6a1128fdd24e80223cd199e1a2630d6e4462858f /pkgs/development/haskell-modules/patches | |
parent | 41a0b8d86af6bf58debfb06c6508c69797af46f3 (diff) |
hnix: add missing patch
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r-- | pkgs/development/haskell-modules/patches/hnix.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/patches/hnix.patch b/pkgs/development/haskell-modules/patches/hnix.patch new file mode 100644 index 0000000000000..25373db15acc7 --- /dev/null +++ b/pkgs/development/haskell-modules/patches/hnix.patch @@ -0,0 +1,24 @@ +From 06b12ab8a733d4de2a39060ba29c06e4ec1c1187 Mon Sep 17 00:00:00 2001 +From: Anton Latukha <anton.latukha@gmail.com> +Date: Sun, 16 Jan 2022 18:16:50 +0200 +Subject: [PATCH] fix aeson <2 support + +--- + src/Nix/Json.hs | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/Nix/Json.hs b/src/Nix/Json.hs +index 3fe05269..329899e4 100644 +--- a/src/Nix/Json.hs ++++ b/src/Nix/Json.hs +@@ -9,6 +9,8 @@ import qualified Data.Text.Lazy.Encoding as TL + #if MIN_VERSION_aeson(2,0,0) + import qualified Data.Aeson.Key as AKM + import qualified Data.Aeson.KeyMap as AKM ++#else ++import Nix.Expr.Types + #endif + import qualified Data.Vector as V + import Nix.Atoms +-- +2.34.1 |