-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
205 changed files
with
2,583 additions
and
1,557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
nixos/modules/services/desktops/gnome/chrome-gnome-shell.nix
This file was deleted.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
nixos/modules/services/desktops/gnome/gnome-browser-connector.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ config, lib, pkgs, ... }: | ||
|
||
let | ||
inherit (lib) mdDoc mkEnableOption mkIf mkRenamedOptionModule teams; | ||
in | ||
|
||
{ | ||
meta = { | ||
maintainers = teams.gnome.members; | ||
}; | ||
|
||
imports = [ | ||
# Added 2021-05-07 | ||
(mkRenamedOptionModule | ||
[ "services" "gnome3" "chrome-gnome-shell" "enable" ] | ||
[ "services" "gnome" "gnome-browser-connector" "enable" ] | ||
) | ||
# Added 2022-07-25 | ||
(mkRenamedOptionModule | ||
[ "services" "gnome" "chrome-gnome-shell" "enable" ] | ||
[ "services" "gnome" "gnome-browser-connector" "enable" ] | ||
) | ||
]; | ||
|
||
options = { | ||
services.gnome.gnome-browser-connector.enable = mkEnableOption (mdDoc '' | ||
Native host connector for the GNOME Shell browser extension, a DBus service | ||
allowing to install GNOME Shell extensions from a web browser. | ||
''); | ||
}; | ||
|
||
config = mkIf config.services.gnome.gnome-browser-connector.enable { | ||
environment.etc = { | ||
"chromium/native-messaging-hosts/org.gnome.browser_connector.json".source = "${pkgs.gnome-browser-connector}/etc/chromium/native-messaging-hosts/org.gnome.browser_connector.json"; | ||
"opt/chrome/native-messaging-hosts/org.gnome.browser_connector.json".source = "${pkgs.gnome-browser-connector}/etc/opt/chrome/native-messaging-hosts/org.gnome.browser_connector.json"; | ||
# Legacy paths. | ||
"chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.gnome-browser-connector}/etc/chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"; | ||
"opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.gnome-browser-connector}/etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"; | ||
}; | ||
|
||
environment.systemPackages = [ pkgs.gnome-browser-connector ]; | ||
|
||
services.dbus.packages = [ pkgs.gnome-browser-connector ]; | ||
|
||
nixpkgs.config.firefox.enableGnomeExtensions = true; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
pkgs/applications/editors/gnome-builder/fix-finding-test-typelibs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/meson.build b/src/meson.build | ||
index c9a44e418..cd9e466d6 100644 | ||
--- a/src/meson.build | ||
+++ b/src/meson.build | ||
@@ -35,7 +35,7 @@ foreach test_typelib_dep: test_typelib_deps | ||
test_gi_typelib_path += [join_paths(test_typelib_dep.get_variable('libdir'), 'girepository-1.0')] | ||
endforeach | ||
test_env = [ | ||
- 'GI_TYPELIB_PATH=@0@'.format(':'.join(test_gi_typelib_path)), | ||
+ 'GI_TYPELIB_PATH=@0@:@1@'.format(':'.join(test_gi_typelib_path), run_command('sh', ['-c', 'echo "$GI_TYPELIB_PATH"']).stdout().strip()), | ||
'G_TEST_SRCDIR=@0@/tests'.format(meson.current_source_dir()), | ||
'G_TEST_BUILDDIR=@0@/tests'.format(meson.current_build_dir()), | ||
'G_DEBUG=gc-friendly', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7a94322
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vcunat, you pushed a commit directly to master/release branch
instead of going through a Pull Request.
That's highly discouraged beyond the few exceptions listed
on #118661