garage/nix/common.nix

23 lines
662 B
Nix
Raw Permalink Normal View History

2021-10-04 16:27:57 +00:00
rec {
/*
* Fixed dependencies
*/
pkgsSrc = fetchTarball {
2023-01-09 11:43:10 +00:00
# As of 2023-01-09
url = "https://github.com/NixOS/nixpkgs/archive/baed728abe983508cabc99d05cccc164fe748744.zip";
sha256 = "1m7kmcjhnj3lx7xqs0nh262c4nxs5n8p7k9g6kc4gv1k5nrcrnpf";
2021-10-04 16:27:57 +00:00
};
cargo2nixSrc = fetchGit {
2022-10-18 10:48:31 +00:00
# As of 2022-10-18: two small patches over unstable branch, one for clippy and one to fix feature detection
2022-08-29 15:24:53 +00:00
url = "https://github.com/Alexis211/cargo2nix";
ref = "custom_unstable";
2023-01-09 11:43:10 +00:00
rev = "505caa32110d42ee03bd68b47031142eff9c827b";
2021-10-04 16:27:57 +00:00
};
/*
* Shared objects
*/
cargo2nix = import cargo2nixSrc;
cargo2nixOverlay = cargo2nix.overlays.default;
2021-10-04 16:27:57 +00:00
}