From 3012179e66b0f78e7cfea3e84fe5e733b79ed807 Mon Sep 17 00:00:00 2001 From: Nabeen Tiwaree Date: Mon, 10 Mar 2025 17:18:28 -0400 Subject: [PATCH] Update pkgs/by-name/is/is-fast/package.nix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: GaƩtan Lepage <33058747+GaetanLepage@users.noreply.github.com> --- pkgs/by-name/is/is-fast/package.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/is/is-fast/package.nix b/pkgs/by-name/is/is-fast/package.nix index 7472fa527beb..50accab58ef5 100644 --- a/pkgs/by-name/is/is-fast/package.nix +++ b/pkgs/by-name/is/is-fast/package.nix @@ -2,20 +2,21 @@ lib, rustPlatform, fetchFromGitHub, + stdenv, pkg-config, openssl, oniguruma, nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "is-fast"; version = "0.1.3"; src = fetchFromGitHub { owner = "Magic-JD"; repo = "is-fast"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-exC9xD0scCa1jYomBCewaLv2kzoxSjHhc75EhEERPR8="; }; @@ -37,8 +38,8 @@ rustPlatform.buildRustPackage rec { }; checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [ - # Error creating config directory: Operation not permitted (os error 1) - # Using writableTmpDirAsHomeHomeHook is not working + # Error creating config directory: Operation not permitted (os error 1) + # Using writableTmpDirAsHomeHomeHook is not working "--skip=generate_config::tests::test_run_creates_config_file" ]; @@ -53,4 +54,4 @@ rustPlatform.buildRustPackage rec { maintainers = with lib.maintainers; [ pwnwriter ]; mainProgram = "is-fast"; }; -} +})