Skip to content

Instantly share code, notes, and snippets.

@sleexyz
Created May 26, 2023 06:21
Show Gist options
  • Save sleexyz/0b18b902fa5fb2cce75c73bd56750643 to your computer and use it in GitHub Desktop.
Save sleexyz/0b18b902fa5fb2cce75c73bd56750643 to your computer and use it in GitHub Desktop.
# TODO: remove once 1.22.3 lands in nixpkgs
(watchexec.overrideAttrs (old: rec {
name = "watchexec-${version}";
version = "1.22.3";
src = fetchFromGitHub {
owner = "watchexec";
repo = "watchexec";
rev = "v${version}";
sha256 = "sha256-DmbwC2+qPPeeWXfJUtYGlozVGfOjPse5ciO3Oj8R9DQ=";
};
cargoDeps = old.cargoDeps.overrideAttrs (lib.const {
name = "${name}-vendor.tar.gz";
inherit src;
outputHash = "sha256-5LD295Jw5E0rZhHlOUmbRtLEPbvcxxF1ygBwEgRFXGk=";
});
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment