From c58c844b364a776b3251c1725afa597c1e199a96 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sun, 23 Apr 2023 10:49:07 -0400 Subject: [PATCH] nix-init: 0.2.1 -> 0.2.2 Diff: https://github.com/nix-community/nix-init/compare/v0.2.1...v0.2.2 Changelog: https://github.com/nix-community/nix-init/blob/v0.2.2/CHANGELOG.md --- pkgs/tools/nix/nix-init/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/nix/nix-init/default.nix b/pkgs/tools/nix/nix-init/default.nix index 2b207ce03cb6..83ddb84163b0 100644 --- a/pkgs/tools/nix/nix-init/default.nix +++ b/pkgs/tools/nix/nix-init/default.nix @@ -4,7 +4,7 @@ , fetchFromGitHub , curl , installShellFiles -, makeWrapper +, makeBinaryWrapper , pkg-config , bzip2 , libgit2_1_5 @@ -26,21 +26,21 @@ in rustPlatform.buildRustPackage rec { pname = "nix-init"; - version = "0.2.1"; + version = "0.2.2"; src = fetchFromGitHub { owner = "nix-community"; repo = "nix-init"; rev = "v${version}"; - hash = "sha256-SvoKw0Ep8NGknu+6qd6xW6hfH261kFD6DjZhPXQpzs0="; + hash = "sha256-eiPUJj87PU4EgMQRJ4Yv5d/y94j5AklbP1sVNXNSNPs="; }; - cargoHash = "sha256-lm4Y/ZTRMiBp3ECKnHZBvwM8Qso+rilT3BDxzfcnpHQ="; + cargoHash = "sha256-OKHW5q8bvJiwJAAEr9AHEWoDCwDKr6ACxsFRtJOTNis="; nativeBuildInputs = [ curl installShellFiles - makeWrapper + makeBinaryWrapper pkg-config ]; @@ -82,8 +82,10 @@ rustPlatform.buildRustPackage rec { installShellCompletion artifacts/nix-init.{bash,fish} --zsh artifacts/_nix-init ''; - GEN_ARTIFACTS = "artifacts"; - ZSTD_SYS_USE_PKG_CONFIG = true; + env = { + GEN_ARTIFACTS = "artifacts"; + ZSTD_SYS_USE_PKG_CONFIG = true; + }; meta = with lib; { description = "Command line tool to generate Nix packages from URLs";