mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
emacsPackages.age: replace program (#343569)
This commit is contained in:
commit
2a3a53a2fe
@ -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…
Reference in New Issue
Block a user