Files
hearth/devshell/ratatui.nix
T
yukkop 4c9611a2d2
runner nix smoke / nix label and flake smoke (push) Failing after 1m12s
some
2026-09-27 08:25:06 +00:00

20 lines
419 B
Nix

{
self,
pkgs,
system
}: let
rustToolchain =
if builtins.pathExists ./rust-toolchain.toml
then pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml
else pkgs.pkgsBuildHost.rust-bin.stable."1.81.0".default;
in
self.devShells.${system}.default
// (pkgs.mkShell {
nativeBuildInputs = [
rustToolchain
pkgs.pkg-config
pkgs.gcc
pkgs.gnumake
];
})