hide the runtime's GTK3 from nix2flatpak, so it bundles our patched one
This commit is contained in:
parent
fb5e14091e
commit
c9fdda41d1
1 changed files with 7 additions and 0 deletions
|
|
@ -63,6 +63,13 @@
|
|||
})
|
||||
);
|
||||
runtime = "org.gnome.Platform/51";
|
||||
# Hide the runtime's GTK3 from nix2flatpak, so it bundles our patched one
|
||||
runtimeIndex =
|
||||
pkgs.runCommand "runtime-index.json" { nativeBuildInputs = [ pkgs.jq ]; }
|
||||
''
|
||||
jq 'del(.sonames["libgtk-3.so.0", "libgdk-3.so.0", "libgailutil-3.so.0"])' \
|
||||
${inputs.nix2flatpak}/runtimes/org.gnome.Platform/51/runtime-index.json > $out
|
||||
'';
|
||||
permissions = {
|
||||
share = [ "network" ];
|
||||
sockets = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue