Files
nixos-config/modules/home/scripts/commands/crs.nix

11 lines
125 B
Nix

{
self,
pkgs,
}:
pkgs.writeShellScriptBin "crs" ''
#!/run/current-system/sw/bin/bash
cargo test && \
cargo run
''