#!/usr/bin/env sh [ "$(free --mega | awk '{print $3}' | head -n 2 | tail -n 1)" -lt 2000 ] && { echo "Not enough ram. Delete something." exit 1 } nix build .#default --log-format multiline-with-logs # vim: ft=sh