Skip to content

Build failure: warp-terminal #295553

Closed
Closed

Description

@Ciflire

Steps To Reproduce

Steps to reproduce the behavior:

  1. build warp-terminal for linux

Build log

error: hash mismatch in fixed-output derivation '/nix/store/44zx9c1c7v240s1ypjvr6sxk675m131l-warp-terminal-v0.2024.03.05.08.02.stable_01-1-x86_64.pkg.tar.zst.drv':
         specified: sha256-CI1bzdFles9XNvqmkyNq9zJBf4P6HF8QIo1FsSDydjQ=
            got:    sha256-SZ4CR8KjGYIysuARGDmHcpFWavebqAIBhalWeRqh9C8=

Additional context

Add any other context about the problem here.

Notify maintainers

@r-ryantm

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.9, NixOS, 24.05 (Uakari), 24.05.20240309.3030f18`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos, nixpkgs"`
 - channels(ciflire): `""`
 - nixpkgs: `/nix/store/nra828scc8qs92b9pxra5csqzffb6hpl-source`

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: build failure
    on Mar 13, 2024
  2. eclairevoyant commented on Mar 13, 2024

    @eclairevoyant
    Contributor

    r-ryantm is a bot, you'll want an actual person to tag based on the listed maintainers

    @imadnyc @emilytrau @Enzime

  3. self-assigned this
    on Mar 13, 2024
  4. imadnyc commented on Mar 13, 2024

    @imadnyc
    Contributor

    @Ciflire On master, building it works fine for me without updating anything. Git diff shows nothing, and I ran nix-build -A warp-terminal --check to make sure that it wasn't cached or something. Could you try pulling and trying again? I'm not sure where the issue could be.

  5. Ciflire commented on Mar 13, 2024

    @Ciflire
    ContributorAuthor

    i tried to update my system with wapr terminal and it failed with the error i mentioned above. Sorry for the missunderstanding. I retried, updating my flake and still the same issue

  6. imadnyc commented on Mar 13, 2024

    @imadnyc
    Contributor

    That's because your flake is most likely importing unstable, which is a few commits behind the master branch. That said, there still shouldn't be a hash mismatch. Can you dig through your flake.lock and tell me what commit your unstable branch is on?

  7. Mastermindaxe commented on Mar 13, 2024

    @Mastermindaxe
    Contributor

    Running into the same problem. Rev hash: 0ad13a6833440b8e238947e47bea7f11071dc2b2. The full entry in my flake.lock:

    "nixpkgs-unstable": {
      "locked": {
        "lastModified": 1710272261,
        "narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
        "type": "github"
      },
      "original": {
        "id": "nixpkgs",
        "ref": "nixos-unstable",
        "type": "indirect"
      }
    }
  8. alyraffauf commented on Mar 14, 2024

    @alyraffauf
    Contributor

    Same issue here on unstable, same rev hash.

        "nixpkgs-unstable": {
          "locked": {
            "lastModified": 1710272261,
            "narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
            "owner": "nixos",
            "repo": "nixpkgs",
            "rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
            "type": "github"
          },
          "original": {
            "owner": "nixos",
            "ref": "nixos-unstable",
            "repo": "nixpkgs",
            "type": "github"
          }
        }
    
  9. AnotherBrynAlt commented on Mar 14, 2024

    @AnotherBrynAlt

    In the meantime, people can build warp-terminal via:

    let
      warp-terminal-overlay = final: prev: {
          warp-terminal = prev.warp-terminal.overrideAttrs {
            src = prev.fetchurl {
              url = "https://releases.warp.dev/stable/v0.2024.03.05.08.02.stable_01/warp-terminal-v0.2024.03.05.08.02.stable_01-1-x86_64.pkg.tar.zst";
              hash = "sha256-SZ4CR8KjGYIysuARGDmHcpFWavebqAIBhalWeRqh9C8=";
            };
          };
        };
    in
      nixpkgs.overlays = [warp-terminal-overlay];
    
  10. imadnyc commented on Mar 14, 2024

    @imadnyc
    Contributor

    Oh I see, it's the same version, but with a different URL. The PR above should fix it until the next version, I think.

  11. ghost closed this as completedon Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

0.kind: build failure

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions