From 62c8b5bf85b064478e9696c365ead13a8981898a Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 28 Dec 2022 14:30:59 +0100 Subject: [PATCH] nixos/macos-builder: Simplify error message The `system` argument is usually implied, and not hard to figure out. Co-authored-by: Gabriella Gonzalez --- nixos/modules/profiles/macos-builder.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nixos/modules/profiles/macos-builder.nix b/nixos/modules/profiles/macos-builder.nix index edb53cc0da10..ee76112a094c 100644 --- a/nixos/modules/profiles/macos-builder.nix +++ b/nixos/modules/profiles/macos-builder.nix @@ -114,11 +114,7 @@ in Please inspect the trace of the following command to figure out which module has a dependency on stateVersion. - nix-instantiate --argstr system x86_64-darwin -A darwin.builder --show-trace - - or - - nix-instantiate --argstr system aarch64-darwin -A darwin.builder --show-trace + nix-instantiate --attr darwin.builder --show-trace If this error occurred while evaluating the static part of the option documentation, the problem may be fixed by adding defaultText to an option.