# Trying to use particular revision of Neovide

**URL:** https://discourse.nixos.org/t/trying-to-use-particular-revision-of-neovide/74069
**Category:** Help
**Created:** [January 7, 2026, 8:01pm UTC](https://discourse.nixos.org/t/trying-to-use-particular-revision-of-neovide/74069 "2026-01-07T20:01:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Geobomatic](https://discourse.nixos.org/user_avatar/discourse.nixos.org/geobomatic/32/35770_2.png) [@Geobomatic](https://discourse.nixos.org/u/Geobomatic)
#### Post date: [January 7, 2026, 8:01pm UTC](https://discourse.nixos.org/t/trying-to-use-particular-revision-of-neovide/74069/1 "2026-01-07T20:01:07Z")

</div>

Hi,

I have reached this point (in environment.systemPackages):

```auto
(neovide.overrideAttrs {
          src = fetchFromGitHub {
            owner = "neovide";
            repo = "neovide";
            rev = "88a7438b7ace290f8339ad276b72cb5723cbb627";
            hash = "sha256-acxPETjqnywhXiMOULfoEYqUPmh036QwKYOP/7mF9A0=";
          };
          cargoHash = "";
        })

```

and hit

```auto
ERROR: cargoHash or cargoSha256 is out of date

Cargo.lock is not the same in /build/neovide-0.15.2-vendor

To fix the issue:
1. Set cargoHash/cargoSha256 to an empty string: `cargoHash = "";`
2. Build the derivation and wait for it to fail with a hash mismatch
3. Copy the "got: sha256-..." value back into the cargoHash field
   You should have: cargoHash = "sha256-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=";

```

(hence the empty `cargoHash`) but I don’t see the correct hash in the log after putting empty `cargoHash`

---

<div class="post-metadata">

### Author: ![NobbZ](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nobbz/32/7022_2.png) [@NobbZ](https://discourse.nixos.org/u/NobbZ)
#### Post date: [January 7, 2026, 8:10pm UTC](https://discourse.nixos.org/t/trying-to-use-particular-revision-of-neovide/74069/2 "2026-01-07T20:10:24Z")

</div>

instead of `cargoHash = ""` you have to `deps = old.deps.overrideAttrs (_: { outputHash = …;})`, or something like that, if I recall correctly.

---

<div class="post-metadata">

### Author: ![Geobomatic](https://discourse.nixos.org/user_avatar/discourse.nixos.org/geobomatic/32/35770_2.png) [@Geobomatic](https://discourse.nixos.org/u/Geobomatic)
#### Post date: [January 7, 2026, 8:36pm UTC](https://discourse.nixos.org/t/trying-to-use-particular-revision-of-neovide/74069/3 "2026-01-07T20:36:06Z")

</div>

giving up, as soon as you want something out of the path, it’s a hell hole T\_T

---

<div class="post-metadata">

### Author: ![TLATER](https://discourse.nixos.org/user_avatar/discourse.nixos.org/tlater/32/4257_2.png) [@TLATER](https://discourse.nixos.org/u/TLATER)
#### Post date: [January 8, 2026, 8:23am UTC](https://discourse.nixos.org/t/trying-to-use-particular-revision-of-neovide/74069/4 "2026-01-08T08:23:31Z")

</div>

It really isn’t so bad, this is just a rust-specific papercut. This post describes your exact issue, why it is the way it is, and how you achieve what you want: [Is it possible to override cargoSha256 in buildRustPackage?](https://discourse.nixos.org/t/is-it-possible-to-override-cargosha256-in-buildrustpackage/4393)

It’s not off-the-beaten-path, you’ve found one of the many thoroughly beaten paths that aren’t very well-documented.

Unfortunately, the software ecosystem has lots of idiosyncratic sub-ecosystems, and nixpkgs faces the rather difficult problem of trying to standardize them all.

Be glad you’re not trying to override a gradle dep 😃
