flake: use new devshell format

This commit is contained in:
Noa Aarts 2024-10-20 23:50:17 +02:00
parent d5f6316bbb
commit 32594baba7
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -37,19 +37,24 @@
src = pkgs.lib.cleanSource ./.; src = pkgs.lib.cleanSource ./.;
}; };
}); });
devShell = forAllSystems ({ system, pkgs, fpkgs }: devShells = forAllSystems
let ({ system, pkgs, fpkgs }:
ffpkgs = fpkgs.complete; let
in ffpkgs = fpkgs.complete;
pkgs.mkShell { in
buildInputs = [ {
ffpkgs.cargo default = pkgs.mkShell
ffpkgs.clippy {
ffpkgs.rust-src buildInputs = [
ffpkgs.rustc ffpkgs.cargo
ffpkgs.rustfmt ffpkgs.clippy
]; ffpkgs.rust-src
}); ffpkgs.rustc
ffpkgs.rustfmt
pkgs.wgo
];
};
});
}; };
} }