diff options
author | Felix Buehler <account@buehler.rocks> | 2021-06-22 23:44:58 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-06-25 01:28:10 +0200 |
commit | ce3b463c7900a354775a35f8b75dbd2cd1ca2e7d (patch) | |
tree | 3c3d6efc864eaf1543b494bbf8d9c2bfda934151 /pkgs/games/xonotic | |
parent | d26902aef932e80eb772026433af13ce662e7872 (diff) |
games: /s/name/pname&version/
Diffstat (limited to 'pkgs/games/xonotic')
-rw-r--r-- | pkgs/games/xonotic/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/xonotic/default.nix b/pkgs/games/xonotic/default.nix index 38a0450168ef2..0a5a58885d0fb 100644 --- a/pkgs/games/xonotic/default.nix +++ b/pkgs/games/xonotic/default.nix @@ -58,7 +58,7 @@ let inherit version; src = fetchurl { - url = "https://dl.xonotic.org/${name}-source.zip"; + url = "https://dl.xonotic.org/${pname}-${version}-source.zip"; sha256 = "0axxw04fyz6jlfqd0kp7hdrqa0li31sx1pbipf2j5qp9wvqicsay"; }; @@ -119,8 +119,8 @@ let in rec { xonotic-data = fetchzip { - name = "xonotic-data-${version}"; - url = "https://dl.xonotic.org/${name}.zip"; + name = "xonotic-data"; + url = "https://dl.xonotic.org/xonotic-data-${version}.zip"; sha256 = "1ygkh0v68y4sd1w5vpk8dgb65h5jm599hwszdfgjp3ax4d3ml81x"; extraPostFetch = '' cd $out |