From 9f5e4e75b6a188a4516a671f44f09da4b364bd95 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Mon, 13 May 2024 16:16:47 -0400 Subject: [PATCH] justfile test recipe: nixos -> nix --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 801f751..e983948 100644 --- a/justfile +++ b/justfile @@ -2,11 +2,11 @@ default: @just --list # Output what derivations will be built -test TYPE="nixos" SYSTEM="desktop": +test TYPE="nix" SYSTEM="desktop": #!/usr/bin/env bash set -euo pipefail case "{{TYPE}}" in - "nixos") + "nix") if [ "{{SYSTEM}}" = "desktop" ] || [ "{{SYSTEM}}" = "server" ] || [ "{{SYSTEM}}" = "wsl" ] || [ "{{SYSTEM}}" = "laptop" ]; then echo "Testing NixOS configuration for {{SYSTEM}}..." nix build --dry-run .#nixosConfigurations."{{SYSTEM}}".config.system.build.toplevel -L