From 27bb24f65ef70de502cf7878dcfdadb230859920 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Mon, 30 Jun 2025 00:18:02 +0200 Subject: [PATCH] haskellPackages.selda-json: unbreak --- pkgs/development/haskell-modules/configuration-common.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 29627ab88bd76..8f6d6feef86c7 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1099,9 +1099,11 @@ with haskellLib; } sed -i ${name}.cabal \ -e 's/\(bytestring\) .*/\1/w c1' \ - -e 's/\(text\) .*/\1/w c2' + -e 's/\(text\) .*/\1/w c2' \ + -e 's/\(aeson\) .*/\1/w c3' check_sed c1 'bytestring .*' check_sed c2 'text .*' + ${lib.optionalString (name == "selda-json") "check_sed c3 'aeson .*'"} ''; }) super.${name}; in