Q4XPH27LXW4Q343HV3HCBXSHVJ5J7ESBHZHMQKSVTXM2QYKVXVJAC
LAFA7YMQZM2FX5NMTAJDZZ3OGOJM7QJVSETRX5ZO5ROWF22OZHWQC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
ZWPPIJXFKEL3RP2MEYGB3BPTE73GYRW6FSRZDQKFBJFOK4JBNQ4AC
2GNO2PLCZ3BM5RRRSPLGVWEWHOOTVT4VKFBNNQMUKOKF3VXL3ZFQC
G734WNM64AR5BLAZMN5MDPKSFTYXTUQR6MAGB32NRBC5FXFRWSJAC
WZYPQBYNIUDLMMCQCVVFF7W2LE4UC3PZ2MIIRPEPHZPDWCXSDZOQC
{
inherit rustChannel;
rustc = rustChannel.minimal;
cargo = rustChannel.minimal;
};
forAllSystems = f: genAttrs allSystems (system: f {
inherit system;
pkgs = import nixpkgs {
inherit system;
overlays = [
(import rust-overlay)
rustOverlay
];
};
});
in
{
devShell = forAllSystems ({ system, pkgs, ... }:
pkgs.mkShell {
{
inherit rustChannel;
rustc = rustChannel.minimal;
};
in {
devShell = forAllSystems (system:
let rustDevOverlay = final: prev:
{
# rust-analyzer needs core source
rustc-with-src = prev.rustc.override { extensions = [ "rust-src" ]; };
# need the latest rustfmt to match apheleia's behaviour
rustfmt = prev.rust-bin.nightly."2021-10-23".rustfmt;
};
pkgs = import nixpkgs {
inherit system;
overlays = [
(import rust-overlay)
rustOverlay
rustDevOverlay
];
};
in pkgs.mkShell {