mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 00:27:49 +03:00
heroic: apply upstream adtraction fallback
2.13 moved to using sponsored links for GOG, which silently fail to load if the system is using DNS-level ad-blocking. Upstream just merged a fallback to the regular GOG domain, which applies cleanly to the current stable release.
This commit is contained in:
parent
7b9f4b6feb
commit
2c79eeeb83
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, fetchYarnDeps
|
||||
, yarn
|
||||
, prefetch-yarn-deps
|
||||
@ -45,6 +46,11 @@ in stdenv.mkDerivation rec {
|
||||
./remove-drm-support.patch
|
||||
# Make Heroic create Steam shortcuts (to non-steam games) with the correct path to heroic.
|
||||
./fix-non-steam-shortcuts.patch
|
||||
(fetchpatch {
|
||||
name = "adtraction-fallback.patch";
|
||||
url = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/pull/3575.patch";
|
||||
hash = "sha256-XhYYLQf/oSX3uK+0KzfnAb49iaGwhl9W64Tg2Fqi8Gg=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user