From 96d5a660013d73cbea1a5302acb22d1b7ec015b9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 17 Apr 2025 17:20:23 +0100 Subject: [PATCH] Refactor jq command --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 428df9b..5337ea7 100644 --- a/justfile +++ b/justfile @@ -5,7 +5,7 @@ _default: build: #!/usr/bin/env bash - selected=$(nix flake show --json | jq --raw-output '.packages["x86_64-linux"] | keys[]' | grep -v shared | fzf) + selected=$(nix flake show --json | jq --raw-output '.packages."x86_64-linux" | keys | sort | .[] | select(. != "shared-assets")' | fzf) nix build \ --json \