···272272 lib.optionalString stdenv.isLinux ''273273 find . -type f -executable -exec patchelf \274274 --interpreter ${stdenv.cc.bintools.dynamicLinker} {} \;275275+ '' +276276+ # The hadrian install Makefile uses 'xxx' as a temporary placeholder in path277277+ # substitution. Which can break the build if the store path / prefix happens278278+ # to contain this string. This will be fixed with 9.4 bindists.279279+ # https://gitlab.haskell.org/ghc/ghc/-/issues/21402280280+ ''281281+ # Detect hadrian Makefile by checking for the target that has the problem282282+ if grep '^update_package_db' ghc-${version}*/Makefile > /dev/null; then283283+ echo Hadrian bindist, applying workaround for xxx path substitution.284284+ # based on https://gitlab.haskell.org/ghc/ghc/-/commit/dd5fecb0e2990b192d92f4dfd7519ecb33164fad.patch285285+ substituteInPlace ghc-${version}*/Makefile --replace 'xxx' '\0xxx\0'286286+ else287287+ echo Not a hadrian bindist, not applying xxx path workaround.288288+ fi275289 '';276290277291 # fix for `configure: error: Your linker is affected by binutils #16177`
+14
pkgs/development/compilers/ghc/8.10.7-binary.nix
···270270 lib.optionalString stdenv.isLinux ''271271 find . -type f -executable -exec patchelf \272272 --interpreter ${stdenv.cc.bintools.dynamicLinker} {} \;273273+ '' +274274+ # The hadrian install Makefile uses 'xxx' as a temporary placeholder in path275275+ # substitution. Which can break the build if the store path / prefix happens276276+ # to contain this string. This will be fixed with 9.4 bindists.277277+ # https://gitlab.haskell.org/ghc/ghc/-/issues/21402278278+ ''279279+ # Detect hadrian Makefile by checking for the target that has the problem280280+ if grep '^update_package_db' ghc-${version}*/Makefile > /dev/null; then281281+ echo Hadrian bindist, applying workaround for xxx path substitution.282282+ # based on https://gitlab.haskell.org/ghc/ghc/-/commit/dd5fecb0e2990b192d92f4dfd7519ecb33164fad.patch283283+ substituteInPlace ghc-${version}*/Makefile --replace 'xxx' '\0xxx\0'284284+ else285285+ echo Not a hadrian bindist, not applying xxx path workaround.286286+ fi273287 '';274288275289 # fix for `configure: error: Your linker is affected by binutils #16177`
···130130131131 # https://github.com/fpco/inline-c/issues/127 (recommend to upgrade to Nixpkgs GHC >=9.0)132132 inline-c-cpp = (if isDarwin then dontCheck else x: x) super.inline-c-cpp;133133+134134+ # Depends on OneTuple for GHC < 9.0135135+ universe-base = addBuildDepends [ self.OneTuple ] super.universe-base;136136+137137+ # Not possible to build in the main GHC 9.0 package set138138+ # https://github.com/awakesecurity/spectacle/issues/49139139+ spectacle = doDistribute (markUnbroken super.spectacle);133140}
···44, aiohttp55, async-timeout66, lxml77+, pythonOlder78}:89910buildPythonPackage rec {1011 pname = "pytrafikverket";1111- version = "0.1.6.2";1212+ version = "0.2.0.1";1313+ format = "setuptools";1414+1515+ disabled = pythonOlder "3.7";12161317 src = fetchPypi {1418 inherit pname version;1515- sha256 = "0hrjsw53ixgmhsiszdrzzh0wma705nrhq8npzacsyaf43r29zvqy";1919+ hash = "sha256-RsB8b96aCIBM3aABOuuexB5fIo7H1Kq/XsGvV8b7/sA=";1620 };17211822 propagatedBuildInputs = [···27232824 # Project has no tests2925 doCheck = false;3030- pythonImportsCheck = [ "pytrafikverket" ];2626+2727+ pythonImportsCheck = [2828+ "pytrafikverket"2929+ ];31303231 meta = with lib; {3333- description = "Python library to manage Etekcity Devices and Levoit Air Purifier";3232+ description = "Library to get data from the Swedish Transport Administration (Trafikverket) API";3433 homepage = "https://github.com/endor-force/pytrafikverket";3534 license = with licenses; [ mit ];3635 maintainers = with maintainers; [ fab ];
···103103 all movement on the battlefield has ceased).'';104104 maintainers = with maintainers; [ kragniz fpletz ];105105 inherit (fpc.meta) platforms;106106+107107+ # Appears to be some sort of C++ linking error.108108+ # Example: https://hydra.nixos.org/build/174544990/nixlog/6109109+ broken = true;110110+ hydraPlatforms = platforms.none;106111 };107112}