From abc6924adf2c2b47f3043dedcc1dabafda946cad Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 21 Dec 2021 20:46:46 +0200 Subject: [PATCH] coreutils: add -full postfix when not minimal --- pkgs/tools/misc/coreutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index c4280fbd1227..e6809b474ea2 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -21,11 +21,11 @@ assert selinuxSupport -> libselinux != null && libsepol != null; with lib; stdenv.mkDerivation (rec { - pname = "coreutils"; + pname = "coreutils${optionalString (!minimal) "-full"}"; version = "9.0"; src = fetchurl { - url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz"; + url = "mirror://gnu/coreutils/coreutils-${version}.tar.xz"; sha256 = "sha256-zjCs30pBvFuzDdlV6eqnX6IWtOPesIiJ7TJDPHs7l84="; };