Merge pull request #304053 from DontEatOreo/fix-updateScript-raycast
This commit is contained in:
commit
1a18c38eaf
|
@ -36,25 +36,23 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = writeShellApplication {
|
||||
name = "raycast-update-script";
|
||||
runtimeInputs = [ curl jq common-updater-scripts ];
|
||||
text = ''
|
||||
set -eo pipefail
|
||||
url=$(curl --silent "https://releases.raycast.com/releases/latest?build=universal")
|
||||
version=$(echo "$url" | jq -r '.version')
|
||||
update-source-version raycast "$version" --file=./pkgs/os-specific/darwin/raycast/default.nix
|
||||
'';
|
||||
};
|
||||
};
|
||||
passthru.updateScript = lib.getExe (writeShellApplication {
|
||||
name = "raycast-update-script";
|
||||
runtimeInputs = [ curl jq common-updater-scripts ];
|
||||
text = ''
|
||||
set -eo pipefail
|
||||
url=$(curl --silent "https://releases.raycast.com/releases/latest?build=universal")
|
||||
version=$(echo "$url" | jq -r '.version')
|
||||
update-source-version raycast "$version" --file=./pkgs/os-specific/darwin/raycast/default.nix
|
||||
'';
|
||||
});
|
||||
|
||||
meta = with lib; {
|
||||
description = "Control your tools with a few keystrokes";
|
||||
homepage = "https://raycast.app/";
|
||||
license = with licenses; [ unfree ];
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
maintainers = with maintainers; [ lovesegfault stepbrobd ];
|
||||
maintainers = with maintainers; [ lovesegfault stepbrobd donteatoreo ];
|
||||
platforms = [ "aarch64-darwin" "x86_64-darwin" ];
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue