Sanitize names, so kde4.l10n.ca_valencia works

svn path=/nixpkgs/trunk/; revision=24395
This commit is contained in:
Yury G. Kudryashov 2010-10-21 06:56:28 +00:00
parent 23914238d1
commit 0a21ec52e5

View file

@ -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;
};