flake/pkgs/overlay.nix

22 lines
676 B
Nix
Raw Permalink Normal View History

2025-01-14 18:56:49 +01:00
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";
2025-01-18 03:12:33 +01:00
rev = "7f844a2f5d67f788c3b2084fb3ab0c25b10928cc";
2025-01-14 18:56:49 +01:00
};
cargoDeps = platform.importCargoLock {
lockFile = src + "/Cargo.lock";
2025-01-14 18:56:49 +01:00
};
});
in
wgam-lyn;
}