mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
goku: add passthru.updateScript
This commit is contained in:
parent
855ce12c2a
commit
2ba3e89713
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user