From fbd02063f1152e5bfd6686f5e438b4f4217e347c Mon Sep 17 00:00:00 2001 From: Arseniy Seroka Date: Fri, 10 Apr 2015 23:44:34 +0300 Subject: [PATCH] xkblayout-state: fix url --- pkgs/applications/misc/xkblayout-state/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"; };