mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
buildVimPlugin: deprecate addRtp
it has been doing nothing for a few years now. I doubt it's being used anywhere outside nixpkgs. Will remove it after release
This commit is contained in:
parent
06dfe20171
commit
37575b3022
@ -4,12 +4,8 @@
|
||||
, toVimPlugin
|
||||
}:
|
||||
|
||||
rec {
|
||||
addRtp = drv:
|
||||
drv // {
|
||||
rtp = lib.warn "`rtp` attribute is deprecated, use `outPath` instead." drv.outPath;
|
||||
overrideAttrs = f: addRtp (drv.overrideAttrs f);
|
||||
};
|
||||
{
|
||||
addRtp = drv: lib.warn "`addRtp` is deprecated, does nothing." drv;
|
||||
|
||||
buildVimPlugin =
|
||||
{ name ? "${attrs.pname}-${attrs.version}"
|
||||
@ -45,6 +41,6 @@ rec {
|
||||
} // meta;
|
||||
});
|
||||
in
|
||||
addRtp (toVimPlugin drv);
|
||||
toVimPlugin drv;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user