Summary Files Commits Branches @commit @diff @stats
path: root / overlays / xed-editor / default.nix
diff options
context:
space:
mode:
Commit7391362d84121fc1f464fd36a56c45bac3d8eb98 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-12-19 14:56:13 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-12-19 14:56:13 +0200
Filesa6bce629ac95bb345097f56621988b320ef26788 /overlays/xed-editor/default.nix
nix-7391362d84121fc1f464fd36a56c45bac3d8eb98.tar
nix-7391362d84121fc1f464fd36a56c45bac3d8eb98.tar.gz
nix-7391362d84121fc1f464fd36a56c45bac3d8eb98.zip
Parent17672a499e1480c01572b3aa528e31e872ef4121 (diff)
[overlays] Added xed-editor missing plugin dependencies and library location fix
1 files changed, 16 insertions, 0 deletions
-rw-r--r--overlays/xed-editor/default.nix16
diff --git a/overlays/xed-editor/default.nix b/overlays/xed-editor/default.nix
new file mode 100644
index 0000000..28ef4f9
--- /dev/null
+++ b/overlays/xed-editor/default.nix
@@ -0,0 +1,16 @@
+final: prev: {
+ xed-editor = prev.xed-editor.overrideAttrs (prevAttrs: {
+ buildInputs = prevAttrs.buildInputs ++ (with final; [
+ gobject-introspection
+ python3.pkgs.pygobject3
+ ]);
+
+ patches = [ ./libxed.patch ];
+
+ preFixup = with final; ''
+ gappsWrapperArgs+=(
+ --prefix PYTHONPATH : "${python3.pkgs.pygobject3}/${python3.sitePackages}:$out/lib/xed/plugins/"
+ )
+ '';
+ });
+}