flake/pkgs/overlay.nix

23 lines
722 B
Nix
Raw Normal View History

2025-01-14 18:56:49 +01:00
final: prev: {
toolchain = final.fenix.nightly.toolchain;
platform = final.makeRustPlatform {
cargo = toolchain;
rustc = toolchain;
};
wgam-nightly = prev.wgautomesh.override {rustPlatform = platform;};
wgautomesh = wgam-nightly.overrideAttrs (old: rec {
src = prev.fetchFromGitHub {
owner = "lynatic1337";
repo = "wgautomesh";
rev = "53b7a6b6edc144fc0d9679ed5c756530f9883374";
hash = "sha256-3pUQbNcx/EMhsiqZ74l8Y99VrdlsLgOgcYuHb4hKOiI=";
};
buildInputs = [final.rust-bin.nightly.latest.default];
cargoDeps = final.rustPlatform.fetchCargoTarball {
inherit src;
# TODO
hash = "sha256-YUlS7G26c3X8nJ2eDK2DTqR+QjcrF/2ZpZWPGecwyPo=";
};
});
}