From 69762341e4a233beaadb12e0962585ecf8446c3f Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Tue, 27 Jul 2021 20:43:38 +0200 Subject: [PATCH] gnupatch: replace name with pname&version --- pkgs/tools/text/gnupatch/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix index 97d3136e7e72..8d8fa7d0a8ba 100644 --- a/pkgs/tools/text/gnupatch/default.nix +++ b/pkgs/tools/text/gnupatch/default.nix @@ -3,10 +3,11 @@ }: stdenv.mkDerivation rec { - name = "patch-2.7.6"; + pname = "patch"; + version = "2.7.6"; src = fetchurl { - url = "mirror://gnu/patch/${name}.tar.xz"; + url = "mirror://gnu/patch/patch-${version}.tar.xz"; sha256 = "1zfqy4rdcy279vwn2z1kbv19dcfw25d2aqy9nzvdkq5bjzd0nqdc"; };