2021-10-04 16:27:57 +00:00
|
|
|
rec {
|
|
|
|
/*
|
|
|
|
* Fixed dependencies
|
|
|
|
*/
|
|
|
|
pkgsSrc = fetchTarball {
|
|
|
|
# As of 2021-10-04
|
|
|
|
url ="https://github.com/NixOS/nixpkgs/archive/b27d18a412b071f5d7991d1648cfe78ee7afe68a.tar.gz";
|
|
|
|
sha256 = "1xy9zpypqfxs5gcq5dcla4bfkhxmh5nzn9dyqkr03lqycm9wg5cr";
|
|
|
|
};
|
|
|
|
cargo2nixSrc = fetchGit {
|
2022-02-03 17:04:43 +00:00
|
|
|
# As of 2022-02-03
|
2021-10-04 16:27:57 +00:00
|
|
|
url = "https://github.com/superboum/cargo2nix";
|
2022-02-03 14:21:57 +00:00
|
|
|
ref = "backward-compat";
|
|
|
|
rev = "08d963f32a774353ee8acf3f61749915875c1ec4";
|
2021-10-04 16:27:57 +00:00
|
|
|
};
|
|
|
|
|
2022-02-03 17:04:43 +00:00
|
|
|
|
|
|
|
|
2021-10-04 16:27:57 +00:00
|
|
|
/*
|
|
|
|
* Shared objects
|
|
|
|
*/
|
|
|
|
cargo2nix = import cargo2nixSrc;
|
|
|
|
cargo2nixOverlay = import "${cargo2nixSrc}/overlay";
|
|
|
|
}
|