Skip to content

nix: flake.nix build fails - google-chrome-stable_138.0.7204.49 returns 404 from Google CDN #26127

@TheRealShek

Description

@TheRealShek

Bug

nix develop and nix-shell shell.nix fail on Linux because google-chrome-stable_138.0.7204.49 has been deleted from Google's CDN.

Environment

  • OS: Fedora
  • Nix flake nixpkgs pin: rev 50ab793 (flake.lock)
  • Relevant line: flake.nix:192

Error

error: Cannot build '/nix/store/af59wjk8a8ys18bam92y3jns14pgj01n-google-chrome-stable_138.0.7204.49-1_amd64.deb.drv'
Reason: builder failed with exit code 1
> trying https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_138.0.7204.49-1_amd64.deb
> curl: (22) The requested URL returned error: 404

Context

A Coder team member (Atif) confirmed in Discord that the team has recently migrated to mise for dependency management and the nix flake is likely outdated.

Question

What is the preferred fix?

  • Remove chrome dependency from flake (not needed for backend Go dev)?
  • Bump nixpkgs pin to version with available chrome?
  • Make chrome conditional/optional?

Happy to open a PR once direction is confirmed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions