Files
nixos-config/glasshouse-laptop/home/scripts/crs.nix

11 lines
130 B
Nix

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