about summary refs log tree commit diff
path: root/pkgs/tools/nix
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-04-23 10:49:07 -0400
committerfigsoda <figsoda@pm.me>2023-04-23 10:49:07 -0400
commitc58c844b364a776b3251c1725afa597c1e199a96 (patch)
tree64bac0f49fe71d9af77439136dca77595866e2fb /pkgs/tools/nix
parent271d57f3fd0872381a37654a15b89421f7a2f604 (diff)
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
Diffstat (limited to 'pkgs/tools/nix')
-rw-r--r--pkgs/tools/nix/nix-init/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/tools/nix/nix-init/default.nix b/pkgs/tools/nix/nix-init/default.nix
index 2b207ce03cb6a..83ddb84163b00 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";