diff --git a/pkgs/applications/misc/xkblayout-state/default.nix b/pkgs/applications/misc/xkblayout-state/default.nix index 4ff838db653d..69b98bc6f444 100644 --- a/pkgs/applications/misc/xkblayout-state/default.nix +++ b/pkgs/applications/misc/xkblayout-state/default.nix @@ -1,11 +1,12 @@ { stdenv, fetchurl, qt4 }: stdenv.mkDerivation rec { - name = "xkblayout-state-${version}"; + name = "${pname}-${version}"; + pname = "xkblayout-state"; version = "1b"; src = fetchurl { - url = "https://github.com/nonpop/${name}/archive/v${version}.tar.gz"; + url = "https://github.com/nonpop/${pname}/archive/v${version}.tar.gz"; sha256 = "1m1nnplrdb2mclhj0881wf78ckvdnyk24g4k4p5s5gpd96cxxwnx"; };