From aeceda74da30704b3b697367398c1494b669b57a Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Thu, 22 Sep 2022 12:42:05 -0300 Subject: [PATCH] unigine-valley: fix source url and hash; add mainProgram --- pkgs/applications/graphics/unigine-valley/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/unigine-valley/default.nix b/pkgs/applications/graphics/unigine-valley/default.nix index ee1c9e6c15f8..6d73cf82cd66 100644 --- a/pkgs/applications/graphics/unigine-valley/default.nix +++ b/pkgs/applications/graphics/unigine-valley/default.nix @@ -38,8 +38,8 @@ stdenv.mkDerivation rec { inherit version; src = fetchurl { - url = "https://m11-assets.unigine.com/d/Unigine_Valley-${version}.run"; - sha256 = "5f0c8bd2431118551182babbf5f1c20fb14e7a40789697240dcaf546443660f4"; + url = "https://assets.unigine.com/d/Unigine_Valley-${version}.run"; + sha256 = "sha256-XwyL0kMRGFURgrq79fHCD7FOekB4lpckDcr1RkQ2YPQ="; }; sourceRoot = "Unigine_Valley-${version}"; @@ -132,6 +132,7 @@ stdenv.mkDerivation rec { license = lib.licenses.unfree; # see also: $out/$instPath/documentation/License.pdf maintainers = [ lib.maintainers.kierdavis ]; platforms = [ "x86_64-linux" "i686-linux" ]; + mainProgram = "valley"; }; }