diff --git a/pkgs/development/libraries/haskell/here/default.nix b/pkgs/development/libraries/haskell/here/default.nix
index 2179ad0d85f0..a7a1527cd1d1 100644
--- a/pkgs/development/libraries/haskell/here/default.nix
+++ b/pkgs/development/libraries/haskell/here/default.nix
@@ -1,20 +1,17 @@
 # This file was auto-generated by cabal2nix. Please do NOT edit manually!
-# The file was later edited to add the state patch.
-# https://github.com/np/here/commit/3c16a4e4ce16c08904454972c0d9b43007d1c0cc
 
-{ cabal, haskellSrcMeta, mtl, parsec, fetchpatch }:
+{ cabal, haskellSrcMeta, mtl, parsec }:
 
 cabal.mkDerivation (self: {
   pname = "here";
-  version = "1.2.5";
-  sha256 = "0r7hjsvbx7vshbdhi60955mdfnq6arg5ihfz9f2zyilh4l5cyzwb";
+  version = "1.2.6";
+  sha256 = "1c7b0a5a42ki8ndvc2k35jnsj433f1nv1j40vviasxksm7acbwif";
   buildDepends = [ haskellSrcMeta mtl parsec ];
-  patches = [ (fetchpatch { url = "https://github.com/np/here/commit/3c16a4e4ce16c08904454972c0d9b43007d1c0cc.patch"; sha256 = "1qibwbcpnl1cg35zvvdd2k8nr6bgd36qbla3naim3g08qaapm82h"; }) ];
-  meta = with self.stdenv.lib; {
+  meta = {
     homepage = "https://github.com/tmhedberg/here";
     description = "Here docs & interpolated strings via quasiquotation";
-    license = licenses.bsd3;
+    license = self.stdenv.lib.licenses.bsd3;
     platforms = self.ghc.meta.platforms;
-    maintainers = with maintainers; [ edwtjo ];
+    maintainers = with self.stdenv.lib.maintainers; [ edwtjo ];
   };
 })