mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
emacsPackages.age: replace program
This commit is contained in:
parent
757af60317
commit
8027f6cfd5
1 changed files with 7 additions and 0 deletions
|
@ -133,6 +133,13 @@ let
|
||||||
# Expects bash to be at /bin/bash
|
# Expects bash to be at /bin/bash
|
||||||
ac-rtags = fix-rtags super.ac-rtags;
|
ac-rtags = fix-rtags super.ac-rtags;
|
||||||
|
|
||||||
|
age = super.age.overrideAttrs (attrs: {
|
||||||
|
postPatch = attrs.postPatch or "" + ''
|
||||||
|
substituteInPlace age.el \
|
||||||
|
--replace-fail 'age-program (executable-find "age")' 'age-program "${lib.getExe pkgs.age}"'
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
airline-themes = super.airline-themes.override {
|
airline-themes = super.airline-themes.override {
|
||||||
inherit (self.melpaPackages) powerline;
|
inherit (self.melpaPackages) powerline;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue