https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
11 lines
317 B
Diff
11 lines
317 B
Diff
--- a/extension.js
|
|
+++ b/extension.js
|
|
@@ -23,6 +23,8 @@
|
|
|
|
const Me = imports.misc.extensionUtils.getCurrentExtension();
|
|
|
|
+imports.gi.GIRepository.Repository.prepend_search_path('@gmenu_path@');
|
|
+
|
|
const {GLib, Gio, St} = imports.gi;
|
|
const Constants = Me.imports.constants;
|
|
const Controller = Me.imports.controller;
|