sanjuuni: add update script

Related discussion:
https://github.com/NixOS/nixpkgs/pull/323251#pullrequestreview-2176565501
This commit is contained in:
Tomodachi94 2024-08-17 15:05:14 -07:00
parent 366e562113
commit 3f8ab8fb2d
No known key found for this signature in database
GPG Key ID: 2E275F21C4D554A3

View File

@ -7,6 +7,7 @@
poco,
ocl-icd,
opencl-clhpp,
gitUpdater,
callPackage,
}:
@ -38,8 +39,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.tests = {
run-on-nixos-artwork = callPackage ./tests/run-on-nixos-artwork.nix { };
passthru = {
tests = {
run-on-nixos-artwork = callPackage ./tests/run-on-nixos-artwork.nix { };
};
updateScript = gitUpdater { };
};
meta = with lib; {