From 50ea7288a375caf890e12a15dbebcbdbffba7d7e Mon Sep 17 00:00:00 2001 From: veleth Date: Thu, 12 Aug 2021 20:37:43 +0300 Subject: [PATCH] disfetch: more convenient way of using name/rev --- pkgs/tools/misc/profetch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/profetch/default.nix b/pkgs/tools/misc/profetch/default.nix index 52211ee1c68a..13b680694010 100644 --- a/pkgs/tools/misc/profetch/default.nix +++ b/pkgs/tools/misc/profetch/default.nix @@ -7,8 +7,8 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "RustemB"; - repo = "profetch"; - rev = "v0.1.6"; + repo = pname; + rev = version; sha256 = "1clh3l50wz6mlrw9kx0wh2bbhnz6bsksyh4ngz7givv4y3g9m702"; };