From f5e6968955b4a38ed52674563930245836a808c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 30 Apr 2022 02:34:24 +0200 Subject: [PATCH] inih: fix version parsing with nix-env --- pkgs/development/libraries/inih/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/inih/default.nix b/pkgs/development/libraries/inih/default.nix index cc979732787..aa2b3ec88d0 100644 --- a/pkgs/development/libraries/inih/default.nix +++ b/pkgs/development/libraries/inih/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "inih"; - version = "r53"; + version = "53"; src = fetchFromGitHub { owner = "benhoyt"; repo = pname; - rev = version; + rev = "r${version}"; sha256 = "0dqf5j2sw4hq68rqvxbrsf44ygfzx9ypiyzipk4cvp9aimbvsbc6"; }; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple .INI file parser in C, good for embedded systems"; homepage = "https://github.com/benhoyt/inih"; - changelog = "https://github.com/benhoyt/inih/releases/tag/${version}"; + changelog = "https://github.com/benhoyt/inih/releases/tag/r${version}"; license = licenses.bsd3; maintainers = with maintainers; [ TredwellGit ]; platforms = platforms.all;