From ed2c0adb45d63f73c943bf174e3d470ef49eba3b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 23 Nov 2022 04:20:00 +0000 Subject: [PATCH 1/3] comma: 1.3.0 -> 1.4.0 https://github.com/nix-community/comma/releases/tag/v1.4.0 --- pkgs/tools/package-management/comma/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/package-management/comma/default.nix b/pkgs/tools/package-management/comma/default.nix index 35fd4ff2b989..604c7fbd89b6 100644 --- a/pkgs/tools/package-management/comma/default.nix +++ b/pkgs/tools/package-management/comma/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "comma"; - version = "1.3.0"; + version = "1.4.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "comma"; rev = "v${version}"; - sha256 = "sha256-rXAX14yB8v9BOG4ZsdGEedpZAnNqhQ4DtjQwzFX/TLY="; + hash = "sha256-EPrXIDi0yO+AVriQgi3t91CLtmYtgmyEfWtFD+wH8As="; }; - cargoSha256 = "sha256-9PVbiWmaTDx4iob5g9tXC+FV5Jmy6Id9tQxm05fJLkM="; + cargoHash = "sha256-/1b3GF0flhvejZ3C/yOzRGl50sWR4IxprwRoMUYEvm8="; nativeBuildInputs = [ makeWrapper ]; From 1ef34b5ae875a9bbb81bb6e1f12703b7d20fca22 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 23 Nov 2022 04:20:00 +0000 Subject: [PATCH 2/3] comma: use nix from environment --- pkgs/tools/package-management/comma/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/package-management/comma/default.nix b/pkgs/tools/package-management/comma/default.nix index 604c7fbd89b6..1e8bd0afd327 100644 --- a/pkgs/tools/package-management/comma/default.nix +++ b/pkgs/tools/package-management/comma/default.nix @@ -2,9 +2,8 @@ , fetchFromGitHub , fzy , lib -, makeWrapper -, nix -, nix-index +, makeBinaryWrapper +, nix-index-unwrapped , rustPlatform , testers }: @@ -22,11 +21,11 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-/1b3GF0flhvejZ3C/yOzRGl50sWR4IxprwRoMUYEvm8="; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeBinaryWrapper ]; postInstall = '' wrapProgram $out/bin/comma \ - --prefix PATH : ${lib.makeBinPath [ nix fzy nix-index ]} + --prefix PATH : ${lib.makeBinPath [ fzy nix-index-unwrapped ]} ln -s $out/bin/comma $out/bin/, ''; @@ -39,6 +38,5 @@ rustPlatform.buildRustPackage rec { description = "Runs programs without installing them"; license = licenses.mit; maintainers = with maintainers; [ Enzime artturin ]; - platforms = platforms.all; }; } From 8183079716e67518a8fc62f701f280924374bf67 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 23 Nov 2022 04:20:00 +0000 Subject: [PATCH 3/3] comma: add marsam to maintainers --- pkgs/tools/package-management/comma/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/package-management/comma/default.nix b/pkgs/tools/package-management/comma/default.nix index 1e8bd0afd327..d46db680c88f 100644 --- a/pkgs/tools/package-management/comma/default.nix +++ b/pkgs/tools/package-management/comma/default.nix @@ -37,6 +37,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/nix-community/comma"; description = "Runs programs without installing them"; license = licenses.mit; - maintainers = with maintainers; [ Enzime artturin ]; + maintainers = with maintainers; [ Enzime artturin marsam ]; }; }