diff --git a/flake.lock b/flake.lock index 5a83c94bf46376c73c24b4b94db65cba2977a780..bb3243dcbb547bc9f78a80331606ada081410718 100644 --- a/flake.lock +++ b/flake.lock @@ -179,6 +179,22 @@ "type": "github" } }, + "hedgehog-golden": { + "flake": false, + "locked": { + "lastModified": 1661504720, + "narHash": "sha256-bsQhvyY22Rgg8fEsVlQMAXN7Kps3QWntnAucuP8F16Y=", + "owner": "maybe-hedgehog-later", + "repo": "hedgehog-golden", + "rev": "4ab2906b3f0be5e31ee5a8585e45d43392694246", + "type": "github" + }, + "original": { + "owner": "maybe-hedgehog-later", + "repo": "hedgehog-golden", + "type": "github" + } + }, "lint-utils": { "inputs": { "flake-utils": "flake-utils_2", @@ -276,6 +292,7 @@ "flake-parts": "flake-parts", "flake-utils": "flake-utils", "haskell-flake": "haskell-flake", + "hedgehog-golden": "hedgehog-golden", "lint-utils": "lint-utils", "memory": "memory", "nixpkgs": "nixpkgs_2", diff --git a/flake.nix b/flake.nix index 259658feccc08cb9e9809c681f8a7764033850d8..0839a3d37b38a54cdd1a32b8482d7402382af5ab 100644 --- a/flake.nix +++ b/flake.nix @@ -32,6 +32,10 @@ flake-parts.inputs.nixpkgs.follows = "nixpkgs"; lint-utils.url = "git+https://gitlab.homotopic.tech/nix/lint-utils"; haskell-flake.url = "github:srid/haskell-flake"; + hedgehog-golden = { + url = "github:maybe-hedgehog-later/hedgehog-golden"; + flake = false; + }; memory = { url = "github:parsonsmatt/hs-memory/0f760c8ba0b7d5aacf04a7294e87e5e4fff53f40"; flake = false; diff --git a/overlay.nix b/overlay.nix index cc0b724e1d62a4b05bd9f0b4ff9480a19f13fe73..ae492a6e80d20a6c71bee45c300ba10fc4a6f380 100644 --- a/overlay.nix +++ b/overlay.nix @@ -146,6 +146,8 @@ final: prev: with pkgs.haskell.lib; { hedgehog = dontHaddock (prev.callHackage "hedgehog" "1.2" { }); + hedgehog-golden = dontHaddock (prev.callCabal2nix "hedgehog-golden" inputs.hedgehog-golden { }); + hourglass = dontCheck (prev.callHackage "hourglass" "0.2.12" { }); hslua-aeson = doJailbreak (prev.callHackage "hslua-aeson" "2.2.1" { }); @@ -333,5 +335,7 @@ final: prev: with pkgs.haskell.lib; { warp-tls = dontCheck (prev.callHackage "warp-tls" "3.3.3" { }); witherable = dontCheck (prev.callHackage "witherable" "0.4.2" { }); + + with-utf8 = doJailbreak (prev.callHackage "with-utf8" "1.0.2.3" { }); }