diff options
Diffstat (limited to 'nixpkgs/pkgs/games/osu-lazer/default.nix')
-rw-r--r-- | nixpkgs/pkgs/games/osu-lazer/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/games/osu-lazer/default.nix b/nixpkgs/pkgs/games/osu-lazer/default.nix index 0af9968f20e7..93641a1651f6 100644 --- a/nixpkgs/pkgs/games/osu-lazer/default.nix +++ b/nixpkgs/pkgs/games/osu-lazer/default.nix @@ -9,20 +9,20 @@ let ]; dotnet-sdk = dotnetCorePackages.sdk_5_0; - dotnet-net = dotnetCorePackages.net_5_0; + dotnet-runtime = dotnetCorePackages.runtime_5_0; # https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#using-rids runtimeId = "linux-x64"; in stdenv.mkDerivation rec { pname = "osu-lazer"; - version = "2021.815.0"; + version = "2021.1016.0"; src = fetchFromGitHub { owner = "ppy"; repo = "osu"; rev = version; - sha256 = "z5z/BKi9W4i7fbDmzKUscyNByDwe4nJXyUED8SROCrg="; + sha256 = "PaN/+t5qnHaOjh+DfM/Ylw1vESCM3Tejd3li9ml2Z+A="; }; nativeBuildInputs = [ @@ -79,7 +79,7 @@ in stdenv.mkDerivation rec { --output $out/lib/osu makeWrapper $out/lib/osu/osu\! $out/bin/osu\! \ - --set DOTNET_ROOT "${dotnet-net}" \ + --set DOTNET_ROOT "${dotnet-runtime}" \ --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDeps}" for i in 16 32 48 64 96 128 256 512 1024; do install -D ./assets/lazer.png $out/share/icons/hicolor/''${i}x$i/apps/osu\!.png @@ -117,6 +117,7 @@ in stdenv.mkDerivation rec { ]; maintainers = with maintainers; [ oxalica ]; platforms = [ "x86_64-linux" ]; + mainProgram = "osu!"; }; passthru.updateScript = ./update.sh; } |