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