From 7d77818c9eade1fccb33901eef06f8b2e624086f Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 3 Oct 2021 13:23:39 +0200 Subject: [PATCH] haskellPackages.ghcup: assert that preCheck is still needed This will start to fail when the fix has been released upstream. --- pkgs/development/haskell-modules/configuration-common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 3b2717ea1693..d8c096f1630c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1937,7 +1937,7 @@ EOT # golden files are not shipped with the hackage tarball and hspec-golden-aeson # needs some encouraging to create the missing files after version 0.8.0.0. # See: https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/255 - preCheck = '' + preCheck = assert drv.version == "0.1.17.2"; '' export CREATE_MISSING_GOLDEN=yes '' + (drv.preCheck or ""); });