From 0a21ec52e555aa47f757f7f0abcf124cf573f329 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Thu, 21 Oct 2010 06:56:28 +0000 Subject: [PATCH] Sanitize names, so kde4.l10n.ca_valencia works svn path=/nixpkgs/trunk/; revision=24395 --- pkgs/desktops/kde-4.5/l10n/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/kde-4.5/l10n/default.nix b/pkgs/desktops/kde-4.5/l10n/default.nix index ca4ade5d40f4..18b234b28bc3 100644 --- a/pkgs/desktops/kde-4.5/l10n/default.nix +++ b/pkgs/desktops/kde-4.5/l10n/default.nix @@ -14,11 +14,13 @@ let kdeL10nDerivation = {lang, sha256, release} : let name = "kde-l10n-${lang}-${release}"; + saneName = "kde-l10n-${sanitizeString lang}-${release}"; in stdenv.mkDerivation ({ - inherit name; + name = saneName; src = fetchurl { url = "mirror://kde/stable/${release}/src/kde-l10n/${name}.tar.bz2"; + name = "${saneName}.tar.bz2"; inherit sha256; };