mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
lapce: fix no argument hash for pluginFromRegistry (#7062)
The `hash` argument was mistakenly removed during dead code cleanup in #6985. This argument is required by `fetchPluginTarballFromRegistry`, so `pluginFromRegistry` must pass it through. To avoid future removals by `deadnix`, `pluginFromRegistry` now explicitly takes and forwards the `hash` argument.
This commit is contained in:
parent
ec8205c3d7
commit
a99bddfe53
1 changed files with 10 additions and 2 deletions
|
|
@ -173,11 +173,19 @@ let
|
|||
author,
|
||||
name,
|
||||
version,
|
||||
}@args:
|
||||
hash,
|
||||
}:
|
||||
pkgs.stdenvNoCC.mkDerivation {
|
||||
pname = "lapce-plugin-${author}-${name}";
|
||||
inherit version;
|
||||
src = fetchPluginTarballFromRegistry args;
|
||||
src = fetchPluginTarballFromRegistry {
|
||||
inherit
|
||||
author
|
||||
name
|
||||
version
|
||||
hash
|
||||
;
|
||||
};
|
||||
nativeBuildInputs = [ pkgs.zstd ];
|
||||
phases = [ "installPhase" ];
|
||||
installPhase = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue