···9393 };9494 });95959696- buildGateway = { pname, version, src, license, description, wmClass, ... }:9696+ buildGateway = { pname, version, src, license, description, wmClass, product, ... }:9797 (mkJetBrainsProduct {9898- inherit pname version src wmClass jdk;9999- product = "Gateway";9898+ inherit pname version src wmClass jdk product;9999+ productShort = "Gateway";100100 meta = with lib; {101101 homepage = "https://www.jetbrains.com/remote-development/gateway/";102102 inherit description license platforms;···127127 }).overrideAttrs (attrs: {128128 postFixup = (attrs.postFixup or "") + lib.optionalString stdenv.isLinux ''129129 interp="$(cat $NIX_CC/nix-support/dynamic-linker)"130130- patchelf --set-interpreter $interp $out/goland*/plugins/go/lib/dlv/linux/dlv130130+ patchelf --set-interpreter $interp $out/goland*/plugins/go-plugin/lib/dlv/linux/dlv131131132132- chmod +x $out/goland*/plugins/go/lib/dlv/linux/dlv132132+ chmod +x $out/goland*/plugins/go-plugin/lib/dlv/linux/dlv133133134134 # fortify source breaks build since delve compiles with -O0135135 wrapProgram $out/bin/goland \···328328329329 gateway = buildGateway rec {330330 pname = "gateway";331331+ product = "JetBrains Gateway";331332 version = products.gateway.version;332333 description = "Your single entry point to all remote development environments";333334 license = lib.licenses.unfree;
+1-1
pkgs/applications/editors/jetbrains/update.py
···6464 build = latest_build(channel)6565 new_version = build["@version"]6666 new_build_number = build["@fullNumber"]6767- if "EAP" not in channel["@name"]:6767+ if all(x not in channel["@name"] for x in ["EAP", "Gateway"]):6868 version_or_build_number = new_version6969 else:7070 version_or_build_number = new_build_number
···11{22- "commit": "78541d36393ac3dd0ffa32b4a9af15fecdefb5d1",33- "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/78541d36393ac3dd0ffa32b4a9af15fecdefb5d1.tar.gz",44- "sha256": "1qwjkjlz9sw1jnsarin6803vj68bfm3iyysfwxaifga5w4dsrqcs",55- "msg": "Update from Hackage at 2022-12-30T22:03:31Z"22+ "commit": "9f677e1d2267621375d22e3f6c1a25246678be4c",33+ "url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/9f677e1d2267621375d22e3f6c1a25246678be4c.tar.gz",44+ "sha256": "0y2mbj8dwfgdz5pzdq682clab10xgnqlrfv1najx53yy5jf63pcv",55+ "msg": "Update from Hackage at 2023-01-06T18:29:38Z"66}
+2
pkgs/development/compilers/ghc/common-hadrian.nix
···353353 '';354354355355 ${if targetPlatform.isGhcjs then "configureScript" else null} = "emconfigure ./configure";356356+ # GHC currently ships an edited config.sub so ghcjs is accepted which we can not rollback357357+ ${if targetPlatform.isGhcjs then "dontUpdateAutotoolsGnuConfigScripts" else null} = true;356358357359 # TODO(@Ericson2314): Always pass "--target" and always prefix.358360 configurePlatforms = [ "build" "host" ]
···6666 # > https://github.com/roelvandijk/numerals6767 numerals = doJailbreak (dontCheck super.numerals);68686969- # Too stricut upper bound on time7070- # https://github.com/acw/rate-limit/issues/97171- rate-limit = doJailbreak super.rate-limit;7272-7369 # This test keeps being aborted because it runs too quietly for too long7470 Lazy-Pbkdf2 = if pkgs.stdenv.isi686 then dontCheck super.Lazy-Pbkdf2 else super.Lazy-Pbkdf2;7571···474478 # https://github.com/kkardzis/curlhs/issues/6475479 curlhs = dontCheck super.curlhs;476480477477- # Too strict upper bounds on bytestring & time478478- # https://github.com/barrucadu/irc-conduit/issues/35479479- irc-conduit = doJailbreak super.irc-conduit;480480- # https://github.com/barrucadu/irc-client/issues/77481481- irc-client = doJailbreak super.irc-client;482482-483481 # https://github.com/hvr/token-bucket/issues/3484482 token-bucket = dontCheck super.token-bucket;485483···644654 }) newer;645655646656 # * The standard libraries are compiled separately.647647- # * We need multiple patches from master to fix compilation with657657+ # * We need a patch from master to fix compilation with648658 # updated dependencies (haskeline and megaparsec) which can be649649- # removed when the next idris release (1.3.4 probably) comes650650- # around.659659+ # removed when the next idris release comes around.651660 idris = self.generateOptparseApplicativeCompletions [ "idris" ]652652- (doJailbreak (dontCheck super.idris));661661+ (appendPatch (fetchpatch {662662+ name = "idris-libffi-0.2.patch";663663+ url = "https://github.com/idris-lang/Idris-dev/commit/6d6017f906c5aa95594dba0fd75e7a512f87883a.patch";664664+ hash = "sha256-wyLjqCyLh5quHMOwLM5/XjlhylVC7UuahAM79D8+uls=";665665+ }) (doJailbreak (dontCheck super.idris)));653666654667 # Too strict bound on hspec655668 # https://github.com/lspitzner/multistate/issues/9#issuecomment-1367853016···13501357 haskell-language-server = (lib.pipe super.haskell-language-server [13511358 dontCheck13521359 (disableCabalFlag "stan") # Sorry stan is totally unmaintained and terrible to get to run. It only works on ghc 8.8 or 8.10 anyways …13531353- (assert super.hls-call-hierarchy-plugin.version == "1.1.0.0"; disableCabalFlag "callHierarchy") # Disabled temporarily: https://github.com/haskell/haskell-language-server/pull/343113541360 ]).overrideScope (lself: lsuper: {13551355- hls-call-hierarchy-plugin = null;13561361 # For most ghc versions, we overrideScope Cabal in the configuration-ghc-???.nix,13571362 # because some packages, like ormolu, need a newer Cabal version.13581363 # ghc-paths is special because it depends on Cabal for building···19681977 "--skip" "/toJsonSerializer/should generate valid JSON/"19691978 ] ++ drv.testFlags or [];19701979 }) super.hschema-aeson;19711971- # https://github.com/ssadler/aeson-quick/issues/319721972- aeson-quick = overrideCabal (drv: {19731973- testFlags = [19741974- "-p" "!/asLens.set/&&!/complex.set/&&!/multipleKeys.set/"19751975- ] ++ drv.testFlags or [];19761976- }) super.aeson-quick;19771980 # https://github.com/minio/minio-hs/issues/16519781981 minio-hs = overrideCabal (drv: {19791982 testFlags = [···20952110 # https://github.com/zellige/hs-geojson/issues/2920962111 geojson = dontCheck super.geojson;2097211220982098- # Support network >= 3.1.220992099- # https://github.com/erebe/wstunnel/pull/10721002100- wstunnel = appendPatch (fetchpatch {21012101- url = "https://github.com/erebe/wstunnel/pull/107/commits/47c1f62bdec1dbe77088d9e3ceb6d872f922ce34.patch";21022102- sha256 = "sha256-fW5bVbAGQxU/gd9zqgVNclwKraBtUjkKDek7L0c4+O0=";21032103- }) super.wstunnel;21132113+ # Test suite doesn't compile21142114+ # https://github.com/erebe/wstunnel/issues/14521152115+ wstunnel = dontCheck super.wstunnel;2104211621052117 # Test data missing from sdist21062118 # https://github.com/ngless-toolkit/ngless/issues/152
···1111in12121313{ pname1414-, dontStrip ? (ghc.isGhcjs or false)1414+# Note that ghc.isGhcjs != stdenv.hostPlatform.isGhcjs.1515+# ghc.isGhcjs implies that we are using ghcjs, a project separate from GHC.1616+# (mere) stdenv.hostPlatform.isGhcjs means that we are using GHC's JavaScript1717+# backend. The latter is a normal cross compilation backend and needs little1818+# special accomodation.1919+, dontStrip ? (ghc.isGhcjs or false || stdenv.hostPlatform.isGhcjs)1520, version, revision ? null1621, sha256 ? null1722, src ? fetchurl { url = "mirror://hackage/${pname}-${version}.tar.gz"; inherit sha256; }···176171 # Pass the "wrong" C compiler rather than none at all so packages that just177172 # use the C preproccessor still work, see178173 # https://github.com/haskell/cabal/issues/6466 for details.179179- "--with-gcc=${(if stdenv.hasCC then stdenv else buildPackages.stdenv).cc.targetPrefix}cc"174174+ "--with-gcc=${if stdenv.hasCC then "$CC" else "$CC_FOR_BUILD"}"180175 ] ++ optionals stdenv.hasCC [181176 "--with-ld=${stdenv.cc.bintools.targetPrefix}ld"182177 "--with-ar=${stdenv.cc.bintools.targetPrefix}ar"···251246 allPkgconfigDepends = pkg-configDepends ++ libraryPkgconfigDepends ++ executablePkgconfigDepends ++252247 optionals doCheck testPkgconfigDepends ++ optionals doBenchmark benchmarkPkgconfigDepends;253248254254- depsBuildBuild = [ nativeGhc ];249249+ depsBuildBuild = [ nativeGhc ]250250+ # CC_FOR_BUILD may be necessary if we have no C preprocessor for the host251251+ # platform. See crossCabalFlags above for more details.252252+ ++ lib.optionals (!stdenv.hasCC) [ buildPackages.stdenv.cc ];255253 collectedToolDepends =256254 buildTools ++ libraryToolDepends ++ executableToolDepends ++257255 optionals doCheck testToolDepends ++···324316 inherit src;325317326318 inherit depsBuildBuild nativeBuildInputs;327327- buildInputs = otherBuildInputs ++ optionals (!isLibrary) propagatedBuildInputs;319319+ buildInputs = otherBuildInputs ++ optionals (!isLibrary) propagatedBuildInputs320320+ # For patchShebangsAuto in fixupPhase321321+ ++ optionals stdenv.hostPlatform.isGhcjs [ nodejs ];328322 propagatedBuildInputs = optionals isLibrary propagatedBuildInputs;329323330324 LANG = "en_US.UTF-8"; # GHC needs the locale configured during the Haddock phase.
···351351 license = lib.licenses.psfl;352352 platforms = lib.platforms.all;353353 maintainers = with lib.maintainers; [ fridh thiagokokada ];354354- # Higher priority than Python 3.x so that `/bin/python` points to `/bin/python2`355355- # in case both 2 and 3 are installed.356356- priority = -100;354354+ knownVulnerabilities = [355355+ "Python 2.7 has reached its end of life after 2020-01-01. See https://www.python.org/doc/sunset-python-2/."356356+ # Quote: That means that we will not improve it anymore after that day,357357+ # even if someone finds a security problem in it. You should upgrade to358358+ # Python 3 as soon as you can. [..] So, in 2008, we announced that we359359+ # would sunset Python 2 in 2015, and asked people to upgrade before360360+ # then. Some did, but many did not. So, in 2014, we extended that361361+ # sunset till 2020.362362+ ];357363 };358364 } // crossCompileEnv)
···345345 ;346346 };347347 };348348+349349+ pkgsCross.ghcjs.haskellPackages = {350350+ inherit (packagePlatforms pkgs.pkgsCross.ghcjs.haskellPackages)351351+ ghc352352+ hello353353+ ;354354+ };348355 })349356 (versionedCompilerJobs {350357 # Packages which should be checked on more than the