From 13f794243c03854cd4730cfd3155af5dd692fa57 Mon Sep 17 00:00:00 2001 From: tusharad Date: Thu, 7 Nov 2024 15:32:01 +0530 Subject: [PATCH] Fixed stack nightly compilation fail --- src/Ollama.hs | 1 + stack.yaml | 6 +++--- stack.yaml.lock | 9 ++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Ollama.hs b/src/Ollama.hs index 2c86daf..6570afd 100644 --- a/src/Ollama.hs +++ b/src/Ollama.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE DuplicateRecordFields #-} {- | #Ollama-Haskell# This library lets you run LlMs from within Haskell projects. Inspired by `ollama-python`. diff --git a/stack.yaml b/stack.yaml index 70e9ca8..f5a856f 100644 --- a/stack.yaml +++ b/stack.yaml @@ -9,7 +9,7 @@ # to be used for project dependencies. For example: # # snapshot: lts-22.28 -# snapshot: nightly-2024-07-05 +snapshot: nightly-2024-07-05 # snapshot: ghc-9.6.6 # # The location of a snapshot can be provided as a file or url. Stack assumes @@ -17,8 +17,8 @@ # # snapshot: ./custom-snapshot.yaml # snapshot: https://example.com/snapshots/2024-01-01.yaml -snapshot: - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/40.yaml +#snapshot: +# url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly-2024-11-07 # User packages to be built. # Various formats can be used as shown in the example below. diff --git a/stack.yaml.lock b/stack.yaml.lock index 479b299..c53f49b 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -6,8 +6,7 @@ packages: [] snapshots: - completed: - sha256: 521009bd88879b6993fab5ea5abe1ee2a539dfd8ec2dfc7c57017a8eaee1e78b - size: 720262 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/40.yaml - original: - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/40.yaml + sha256: 5534407e1313da2872e0d76a8fe893a1f60b51366672249704cc17b1f3cc65cc + size: 651868 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2024/7/5.yaml + original: nightly-2024-07-05