Skip to content

Commit 0e9f49f

Browse files
committed
graphite: patch cef-rs to stop checking for exact cef version
Otherwise we could never update cef-binary.
1 parent d2526b3 commit 0e9f49f

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

pkgs/by-name/gr/graphite/package.nix

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,6 @@ let
8282
mv ./include $out/
8383
8484
cat ./CREDITS.html | ${xz}/bin/xz -9 -e -c > $out/CREDITS.html.xz
85-
86-
echo '${
87-
builtins.toJSON {
88-
type = "minimal";
89-
name = builtins.baseNameOf finalAttrs.src.url;
90-
sha1 = "";
91-
}
92-
}' > $out/archive.json
9385
'';
9486
});
9587
in
@@ -130,6 +122,11 @@ stdenv.mkDerivation (finalAttrs: {
130122
mkdir branding
131123
cp -r ${branding}/* branding
132124
cp $src/.branding branding/.branding
125+
126+
substituteInPlace $cargoDepsCopy/*/cef-dll-sys-*/build.rs \
127+
--replace-fail \
128+
'download_cef::check_archive_json(&env::var("CARGO_PKG_VERSION")?, &cef_path)?;' \
129+
""
133130
'';
134131

135132
postConfigure = ''

0 commit comments

Comments
 (0)