inputs: final: prev: { wgautomesh = let toolchain = inputs.fenix-monthly.packages.${final.stdenv.hostPlatform.system}.latest.toolchain; cargo = toolchain; platform = final.makeRustPlatform { rustc = toolchain; cargo = toolchain; }; wgam-nightly = prev.wgautomesh.override {rustPlatform = platform;}; wgam-lyn = wgam-nightly.overrideAttrs (old: rec { src = builtins.fetchGit { url = "https://git.deuxfleurs.fr/lynatic/wgautomesh.git"; rev = "a8957c9558aaffcc0682afffd429253d7c0e026c"; }; cargoDeps = platform.importCargoLock { lockFile = src + "/Cargo.lock"; }; }); in wgam-lyn; }