diff options
author | Michael Reilly <OmnipotentEntity@gmail.com> | 2021-03-15 10:36:53 -0400 |
---|---|---|
committer | Michael Reilly <OmnipotentEntity@gmail.com> | 2021-03-15 11:12:53 -0400 |
commit | 88c64f8a11ee934296e9f3f581f9347d3607046c (patch) | |
tree | 5915d54e955fafab465f1f5231d3b8fe3bb86c14 | |
parent | 2a56da22359b6d4e2410e211eeef0a612bdd354f (diff) |
katago: 1.8.0 -> 1.8.1
-rw-r--r-- | pkgs/games/katago/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/games/katago/default.nix b/pkgs/games/katago/default.nix index 283aa70f8d0d4..50b6caee62146 100644 --- a/pkgs/games/katago/default.nix +++ b/pkgs/games/katago/default.nix @@ -6,7 +6,6 @@ , cudnn , eigen , fetchFromGitHub -, fetchpatch , gperftools , lib , libzip @@ -34,14 +33,14 @@ let in env.mkDerivation rec { pname = "katago"; - version = "1.8.0"; - githash = "8ffda1fe05c69c67342365013b11225d443445e8"; + version = "1.8.1"; + githash = "73bc3e38b3490cbe00179c9c37f5385dfd60c6bc"; src = fetchFromGitHub { owner = "lightvector"; repo = "katago"; rev = "v${version}"; - sha256 = "18r75xjj6vv2gbl92k9aa5bd0cxf09zl1vxlji148y0xbvgv6p8c"; + sha256 = "sha256-Rj6fgj1ZQgYhz6TrZk5b8dCMsCPk5N3qN3kgqV+UEDc="; }; fakegit = writeShellScriptBin "git" "echo ${githash}"; @@ -96,10 +95,13 @@ in env.mkDerivation rec { ''; installPhase = '' + runHook preInstall mkdir -p $out/bin; cp katago $out/bin; '' + lib.optionalString enableCuda '' wrapProgram $out/bin/katago \ --prefix LD_LIBRARY_PATH : "/run/opengl-driver/lib" + '' + '' + runHook postInstall ''; meta = with lib; { |