diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,11 @@
 
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
 
-## 0.3.3.0 - 2022-05-21
+## 0.3.3.1 - 2022-07-21
+
+ - Nix 2.10 support
+
+## 0.3.3.0 - 2022-06-21
 
 ### Added
 
diff --git a/hercules-ci-cnix-store.cabal b/hercules-ci-cnix-store.cabal
--- a/hercules-ci-cnix-store.cabal
+++ b/hercules-ci-cnix-store.cabal
@@ -1,7 +1,7 @@
 cabal-version: 2.4
 
 name:           hercules-ci-cnix-store
-version:        0.3.3.0
+version:        0.3.3.1
 synopsis:       Haskell bindings for Nix's libstore
 category:       Nix
 homepage:       https://docs.hercules-ci.com
@@ -76,8 +76,8 @@
   include-dirs:
       include
   pkgconfig-depends:
-      nix-store >= 2.4 && < 2.10
-    , nix-main >= 2.4 && < 2.10
+      nix-store >= 2.4 && < 2.11
+    , nix-main >= 2.4 && < 2.11
   install-includes:
       hercules-ci-cnix/store.hxx
   hs-source-dirs: src
diff --git a/src/Hercules/CNix/Store.hs b/src/Hercules/CNix/Store.hs
--- a/src/Hercules/CNix/Store.hs
+++ b/src/Hercules/CNix/Store.hs
@@ -4,6 +4,9 @@
 {-# LANGUAGE QuasiQuotes #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE TemplateHaskell #-}
+#ifdef __GHCIDE__
+# define NIX_IS_AT_LEAST(mm,m,p) 1
+#endif
 
 module Hercules.CNix.Store
   ( module Hercules.CNix.Store,
