warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.97k stars 359 forks source link

Support for NixOS #4286

Closed dannyneira closed 6 months ago

dannyneira commented 6 months ago

This issue is to track and show support for Warp for Linux on NixOS along with nix package manager.

How important is this feature to you?

Please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified. We'll be posting updates on this thread (if/when this is being worked on).

Please avoid comments with spam-like "+1" or 👍 .

arunoruto commented 6 months ago

There is already a PR tracking the progress of enabling warp for Linux in NixOS: NixOS/nixpkgs#290731

arunoruto commented 6 months ago

Warp has been included in nixpkgs as of now, and you can see what channels have the PR already included here: https://nixtracker.org/ (the PR number is 290731).

If you want to test it right away, you can always fetch the package from the PR using the following config:

{ config, pkgs, ... }:
let
  nixpkgs-tars = "https://github.com/NixOS/nixpkgs/archive/";
in
{
  nixpkgs.config = {
    packageOverrides = pkgs: {
      pr290731 = import (fetchTarball
        "${nixpkgs-tars}046ea1a290d21e4c103683a3af2ff801bb6c8424.tar.gz")
          { config = config.nixpkgs.config; };
    };
  };

  environment.systemPackages = with pkgs; [
    pr290731.warp-terminal
  ];
}

(I saved it as /etc/nixos/pr.nix and import it in the configuration.nix file)

arunoruto commented 6 months ago

Warp is now available in the unstable channel

I guess it will be available in the stable channel starting with NixOS 24.05 in a few months!

dannyneira commented 6 months ago

Closing as resolved now that warp-terminal is on nixOS unstable channel.