goku: add passthru.updateScript

This commit is contained in:
DontEatOreo 2024-11-02 16:36:42 +02:00
parent 855ce12c2a
commit 2ba3e89713
No known key found for this signature in database
GPG Key ID: 0DB5361BEEE530AB

View File

@ -4,6 +4,7 @@
fetchurl, fetchurl,
unzip, unzip,
joker, joker,
nix-update-script,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -28,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
sourceRoot = if stdenv.hostPlatform.isAarch64 then "goku" else "."; sourceRoot = if stdenv.hostPlatform.isAarch64 then "goku" else ".";
passthru.updateScript = nix-update-script { };
installPhase = '' installPhase = ''
chmod +x goku chmod +x goku
chmod +x gokuw chmod +x gokuw