garage/nix/common.nix

20 lines
648 B
Nix
Raw Normal View History

2021-10-04 16:27:57 +00:00
rec {
# * Fixed dependencies
2021-10-04 16:27:57 +00:00
pkgsSrc = fetchTarball {
# As of 2022-10-13
url =
"https://github.com/NixOS/nixpkgs/archive/a3073c49bc0163fea6a121c276f526837672b555.zip";
sha256 = "1bz632psfbpmicyzjb8b4265y50shylccvfm6ry6mgnv5hvz324s";
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";
2022-10-18 10:15:45 +00:00
rev = "a7a61179b66054904ef6a195d8da736eaaa06c36";
2021-10-04 16:27:57 +00:00
};
# * Shared objects
2021-10-04 16:27:57 +00:00
cargo2nix = import cargo2nixSrc;
cargo2nixOverlay = cargo2nix.overlays.default;
2021-10-04 16:27:57 +00:00
}