Skip to content

Instantly share code, notes, and snippets.

@tilpner

tilpner/fd.nix Secret

Created November 4, 2018 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tilpner/ed47f9405eea64aad4c4da6f58e579bd to your computer and use it in GitHub Desktop.
Save tilpner/ed47f9405eea64aad4c4da6f58e579bd to your computer and use it in GitHub Desktop.
self: super: {
fd1 = (super.fd.override {
rustPlatform = self.rustPlatform // {
buildRustPackage = r: self.rustPlatform.buildRustPackage (r // rec {
name = "fd-${version}";
version = "7.2.0";
src = self.fetchFromGitHub {
owner = "sharkdp";
repo = "fd";
rev = "v${version}";
sha256 = "1h7ar1m7w3vmakg9rp1nfmz7q5pqwvd8yyxwj335ixb49gph1zi5";
};
cargoSha256 = "0y6xp7fdjfmjfqf9avbq9bdvzvwkf3v1dv7a4k03w5279vxafzi4";
});
};
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment