Summary Files Commits Branches @commit @diff @stats
path: root / overlays / xed-editor / default.nix
blob: ed5f6dc12381c8fa0ac98fc10ddae8d7b8ccaa72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
final: prev: {
  xed-editor-fixed = 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/"
      )
    '';
  });
}