mochi/nixos/overlays/warp-terminal/warp-terminal.nix
Joseph Hanson 4a81e56111
All checks were successful
Build / nix-build (native-aarch64, varda) (pull_request) Successful in 1m43s
Build / nix-build (native-x86_64, legiondary) (pull_request) Successful in 2m30s
use nixpkgs fetchurl
2024-07-01 08:47:45 -05:00

13 lines
No EOL
397 B
Nix

{ lib, ...}:
let
versions = lib.importJSON ./versions.json;
in
(final: prev: {
warp-terminal = prev.warp-terminal.overrideAttrs (oldAttrs: {
version = versions.linux.version;
src = prev.fetchurl {
url = "https://releases.warp.dev/stable/v${versions.linux.version}/warp-terminal-v${versions.linux.version}-1-x86_64.pkg.tar.zst";
hash = versions.linux.hash;
};
});
})