Skip to content

Commit

Permalink
emacsPackages.units-mode: replace program
Browse files Browse the repository at this point in the history
  • Loading branch information
nagy committed Sep 10, 2024
1 parent e13336b commit 9343905
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,13 @@ let
'';
});

units-mode = super.units-mode.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace units-mode.el \
--replace-fail 'units-binary-path "units"' 'units-binary-path "${lib.getExe pkgs.units}"'
'';
});

vdiff-magit = super.vdiff-magit.overrideAttrs (attrs: {
nativeBuildInputs =
(attrs.nativeBuildInputs or [ ]) ++ [ pkgs.git ];
Expand Down

0 comments on commit 9343905

Please sign in to comment.