@@ -1,18 +1,12 @@
11{ lib, stdenv, fetchurl, pkgconfig, zlib, shadow
22, ncurses ? null, perl ? null, pam, systemd ? null, minimal ? false }:
33
4−let
5− version = lib.concatStringsSep "." ([ majorVersion ]
6− ++ lib.optional (patchVersion != "") patchVersion);
7− majorVersion = "2.33";
8− patchVersion = "2";
9−
10−in stdenv.mkDerivation rec {
4+stdenv.mkDerivation rec {
115 pname = "util-linux";
12− inherit version;
6+ version = "2.33.2";
137
148 src = fetchurl {
15− url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${pname}-${version}.tar.xz";
9+ url = "mirror://kernel/linux/utils/util-linux/v${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1610 sha256 = "15yf2dh4jd1kg6066hydlgdhhs2j3na13qld8yx30qngqvmfh6v3";
1711 };
1812