mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 11:10:03 +00:00
emacsPackages.units-mode: replace program (#341097)
This commit is contained in:
commit
72239d5c1a
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue