From 514079a2d7eaf269d2080b6cbebf3fad2ea4ec68 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 1 Nov 2014 16:41:19 +0100 Subject: [PATCH] haskell-digestive-functors-aeson: broken by update of 'text' Jailbreaking the package makes the build succeeds, but then the test suite fails: Running 1 test suites... Test suite tests: RUNNING... Tests Pokemon tests Submit pokeForm with valid data: OK Submit pokeForm with invalid data/check error view Failed validation: OK jsonErrors shows correct errors: OK Pokedex tests Valid pokedex with one pokemon: OK Valid pokedex with many pokemon: OK Submit pokedex with a single invalid item Failed validation: OK jsonErrors shows correct errors: FAIL Exception: HUnitFailure "expected: Object (fromList [(\"pokemon\",Array (fromList [Object (fromList [(\"name\",String \"Name cannot be empty\")])]))])\n but got: Object (fromList [(\"pokemon\",Array (fromList [Object (fromList [(\"name\",String \"Name cannot be empty\"),(\"number\",String \"Could not parse number\")])]))])" Submit pokedex with a later invalid item Failed validation: OK jsonErrors shows correct errors: FAIL Exception: HUnitFailure "expected: Object (fromList [(\"pokemon\",Array (fromList [Null,Object (fromList [(\"name\",String \"Name cannot be empty\")])]))])\n but got: Object (fromList [(\"pokemon\",Array (fromList [Object (fromList [(\"number\",String \"Could not parse number\")]),Object (fromList [(\"name\",String \"Name cannot be empty\"),(\"number\",String \"Could not parse number\")])]))])" Top level lists: OK Booleans work: OK --- .../libraries/haskell/digestive-functors-aeson/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/haskell/digestive-functors-aeson/default.nix b/pkgs/development/libraries/haskell/digestive-functors-aeson/default.nix index 1958307e869..5b618b6f1f3 100644 --- a/pkgs/development/libraries/haskell/digestive-functors-aeson/default.nix +++ b/pkgs/development/libraries/haskell/digestive-functors-aeson/default.nix @@ -20,5 +20,6 @@ cabal.mkDerivation (self: { license = self.stdenv.lib.licenses.gpl3; platforms = self.ghc.meta.platforms; maintainers = with self.stdenv.lib.maintainers; [ ocharles ]; + broken = true; }; })