···4343 # TODO: How to actually fix this?4444 # Seems to work fine and produce the right files.4545 touch ghc/includes/ghcautoconf.h4646+ mkdir -p ghc/compiler/vectorise4747+ mkdir -p ghc/utils/haddock/haddock-library/vendor46484749 patchShebangs .4850 ./utils/makePackages.sh copy
···7676 haddock-library = dontHaddock (dontCheck self.haddock-library_1_5_0_1);7777 }));78787979+ # cabal2nix doesn't list this because of a conditional on the GHC version.8080+ aeson = addBuildDepend super.aeson self.contravariant;8181+7982}
···11+diff --git a/Database/Beam/Sqlite/Connection.hs b/Database/Beam/Sqlite/Connection.hs22+index f034b272..4e459ea3 10064433+--- a/Database/Beam/Sqlite/Connection.hs44++++ b/Database/Beam/Sqlite/Connection.hs55+@@ -37,6 +37,7 @@ import Database.SQLite.Simple.Types (Null)66+77+ import Control.Exception (bracket_, onException, mask)88+ import Control.Monad (forM_, replicateM_)99++import Control.Monad.Fail (MonadFail)1010+ import Control.Monad.Free.Church1111+ import Control.Monad.IO.Class (MonadIO(..))1212+ import Control.Monad.Identity (Identity)1313+@@ -143,7 +144,7 @@ newtype SqliteM a1414+ { runSqliteM :: ReaderT (String -> IO (), Connection) IO a1515+ -- ^ Run an IO action with access to a SQLite connection and a debug logging1616+ -- function, called or each query submitted on the connection.1717+- } deriving (Monad, Functor, Applicative, MonadIO)1818++ } deriving (Monad, Functor, Applicative, MonadIO, MonadFail)1919+2020+ newtype BeamSqliteParams = BeamSqliteParams [SQLData]2121+ instance ToRow BeamSqliteParams where
+1
pkgs/development/interpreters/racket/default.nix
···101101 license = licenses.lgpl3;102102 maintainers = with maintainers; [ kkallio henrytill vrthra ];103103 platforms = [ "x86_64-darwin" "x86_64-linux" ];104104+ broken = stdenv.isDarwin; # No support yet for setting FFI lookup path104105 };105106}
+1
pkgs/development/interpreters/racket/minimal.nix
···1515 and the pkg library are still bundled.1616 '';1717 platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];1818+ broken = false; # Minimal build does not require working FFI1819 };1920})
···11-{ lib, buildPythonPackage, fetchPypi, numpy, scipy, six }:11+{ lib, buildPythonPackage, fetchPypi, numpy, six, scipy, pillow, pytest, Keras }:2233buildPythonPackage rec {44 pname = "Keras_Preprocessing";55- version = "1.0.5";55+ version = "1.0.8";6677 src = fetchPypi {88 inherit pname version;99- sha256 = "ef2e482c4336fcf7180244d06f4374939099daa3183816e82aee7755af35b754";99+ sha256 = "6e669aa713727f0bc08f756616f64e0dfa75d822226cfc0dcf33297ab05cef7d";1010 };11111212- # Cyclic dependency: keras-preprocessing requires keras, which requires keras-preprocessing1313- postPatch = ''1414- sed -i "s/keras>=[^']*//" setup.py1212+ propagatedBuildInputs = [1313+ # required1414+ numpy six1515+ # optional1616+ scipy pillow1717+ ];1818+1919+ checkInputs = [2020+ pytest Keras2121+ ];2222+2323+ checkPhase = ''2424+ py.test tests/1525 '';16261717- # No tests in PyPI tarball2727+ # Cyclic dependency: keras-preprocessing's tests require Keras, which requires keras-preprocessing1828 doCheck = false;1919-2020- propagatedBuildInputs = [ numpy scipy six ];21292230 meta = with lib; {2331 description = "Easy data preprocessing and data augmentation for deep learning models";
-8
pkgs/development/python-modules/keras/default.nix
···2525 keras-applications keras-preprocessing2626 ];27272828- # Keras 2.2.2 expects older versions of keras_applications2929- # and keras_preprocessing. These substitutions can be removed3030- # for for the next Keras release.3131- postPatch = ''3232- substituteInPlace setup.py --replace "keras_applications==1.0.4" "keras_applications==1.0.5"3333- substituteInPlace setup.py --replace "keras_preprocessing==1.0.2" "keras_preprocessing==1.0.3"3434- '';3535-3628 # Couldn't get tests working3729 doCheck = false;3830