All my system configs and packages in one repo
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: justfile will now fail when build fails

+2 -2
+2 -2
justfile
··· 19 19 switch *args: (_rebuild "switch" args) 20 20 test *args: (_rebuild "test" args) 21 21 22 - update: (switch "--recreate-lock-file") 23 - 24 22 # blatantly stolen from getchoo 25 23 ci: 26 24 nix run \ ··· 40 38 additional_build_flags := if os() == "linux" { "${NIXOS_SPECIALISATION:+--specialisation $NIXOS_SPECIALISATION}" } else { "" } 41 39 42 40 _rebuild cmd *args: 41 + #!/usr/bin/env bash 42 + set -o pipefail # fail if the build fails instead of blindly returning 0 as nom succeeds 43 43 {{rebuild}} {{cmd}} {{common_build_flags}} {{additional_build_flags}} {{args}} |& nix run n#nix-output-monitor 44 44