From f0f95d03cad3632c7bde3e5136f1b4b8bce44f19 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Thu, 25 Aug 2016 01:02:50 +0200 Subject: [PATCH] utillinux: 2.28 -> 2.28.1 --- pkgs/os-specific/linux/util-linux/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix index 5c3a0d78d992..4d4a22fc720d 100644 --- a/pkgs/os-specific/linux/util-linux/default.nix +++ b/pkgs/os-specific/linux/util-linux/default.nix @@ -2,11 +2,14 @@ stdenv.mkDerivation rec { name = "util-linux-${version}"; - version = "2.28"; + version = stdenv.lib.concatStringsSep "." ([ majorVersion ] + ++ stdenv.lib.optional (patchVersion != "") patchVersion); + majorVersion = "2.28"; + patchVersion = "1"; src = fetchurl { - url = "mirror://kernel/linux/utils/util-linux/v${version}/${name}.tar.xz"; - sha256 = "1fql204qn3098j34yd358l85ffp7a4kqjf7jf1qk2b4al7i4fn1r"; + url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${name}.tar.xz"; + sha256 = "03xnaw3c7pavxvvh1vnimcr44hlhhf25whawiyv8dxsflfj4xkiy"; }; patches = [