From 44db9c3ace8c0044a53bde609bf7dc9cf3e71b38 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 5 Sep 2025 07:47:53 -0500 Subject: [PATCH] lux-cli: 0.15.1 -> 0.17.0 (#438110) lux-lua: add perl to nativeBuildInputs Upstream commit: nvim-neorocks/lux@32603c7#diff-0f31c68216d617b465827b69d5b5cd4c2c0c4489008cd14ee0e88b9887d15295R44 > I think the nix builder is trying to build everything it finds in the Cargo.lock file, regardless of whether it's needed or not. So for now, let's leave perl in the nativeBuildInputs. --- pkgs/by-name/lu/lux-cli/package.nix | 8 +++++--- pkgs/development/lua-modules/lux-lua.nix | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/lu/lux-cli/package.nix b/pkgs/by-name/lu/lux-cli/package.nix index c5b2babef5eb..c8114afc03cb 100644 --- a/pkgs/by-name/lu/lux-cli/package.nix +++ b/pkgs/by-name/lu/lux-cli/package.nix @@ -10,6 +10,7 @@ makeWrapper, nix, openssl, + perl, pkg-config, rustPlatform, versionCheckHook, @@ -17,18 +18,18 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "lux-cli"; - version = "0.15.1"; + version = "0.17.0"; src = fetchFromGitHub { owner = "nvim-neorocks"; repo = "lux"; tag = "v${finalAttrs.version}"; - hash = "sha256-1u0zDGUytuMhqe7NOJeXd1DKch8P7FT02MYgMkX3eMc="; + hash = "sha256-jVKCjAYeWjy2jDOHEb6vu4ZNTXrSETgUt6NIE++trPE="; }; buildAndTestSubdir = "lux-cli"; - cargoHash = "sha256-C84VZfpMua1RrFhTFhWfY2xZAPDtNllkAbdHljlYdZs="; + cargoHash = "sha256-Kv8wYxPGainwayru9pWBplg2PNcC86ZTAmDp9M4G1bQ="; nativeInstallCheckInputs = [ versionCheckHook @@ -40,6 +41,7 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ installShellFiles makeWrapper + perl pkg-config ]; diff --git a/pkgs/development/lua-modules/lux-lua.nix b/pkgs/development/lua-modules/lux-lua.nix index ec9b6a49f518..1759e6672597 100644 --- a/pkgs/development/lua-modules/lux-lua.nix +++ b/pkgs/development/lua-modules/lux-lua.nix @@ -9,6 +9,7 @@ lux-cli, nix, openssl, + perl, pkg-config, rustPlatform, }: @@ -31,6 +32,7 @@ rustPlatform.buildRustPackage rec { cargoHash = lux-cli.cargoHash; nativeBuildInputs = [ + perl pkg-config ];