flake/pkgs/overlay.nix

22 lines
686 B
Nix
Raw Normal View History

2025-01-14 18:56:49 +01:00
inputs: final: prev: {
wgautomesh = let
toolchain = inputs.fenix-monthly.${final.stdenv.hostPlatform}.packages.nightly.toolchain;
cargo = toolchain;
platform = final.makeRustPlatform {
rustc = toolchain;
};
wgam-nightly = prev.wgautomesh.override {rustPlatform = platform;};
wgam-lyn = wgam-nightly.overrideAttrs (prev: {
version = prev.version + "+lyn";
src = prev.fetchFromGitHub {
owner = "lynatic1337";
repo = "wgautomesh";
rev = "53b7a6b6edc144fc0d9679ed5c756530f9883374";
hash = "sha256-3pUQbNcx/EMhsiqZ74l8Y99VrdlsLgOgcYuHb4hKOiI=";
};
cargoHash = lib.fakeHash;
});
in
wgam-lyn;
}