Sanitize names, so kde4.l10n.ca_valencia works
svn path=/nixpkgs/trunk/; revision=24395
This commit is contained in:
parent
23914238d1
commit
0a21ec52e5
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue