Summary Files Commits Branches @commit @diff @stats
path: root / overlays / gedit / default.nix
blob: 6fb60cc619e9c6e7bfc95a11c70a4899ca29f4f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
final: prev: {
  gedit = prev.gedit.overrideAttrs (prevAttrs: {
    buildInputs = prevAttrs.buildInputs ++ (with final; [
      gobject-introspection
      python3.pkgs.pygobject3
    ]);

    preFixup = with final; ''
      gappsWrapperArgs+=(
        --prefix PYTHONPATH : "${python3.pkgs.pygobject3}/${python3.sitePackages}:$out/lib/libgedit/plugins/"
      )
    '';
  });
}