mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +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
|
||||
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 {
|
||||
inherit (self.melpaPackages) powerline;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue