summaryrefslogtreecommitdiffstats
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2022-12-28 14:30:59 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-12-28 14:38:04 +0100
commit62c8b5bf85b064478e9696c365ead13a8981898a (patch)
treebfaecab8fb848ac017fd6779f17d8bf74a6ce28f /nixos/modules/profiles
parent30548793ab82c2a57239f71a413fd869cd67b300 (diff)
nixos/macos-builder: Simplify error message
The `system` argument is usually implied, and not hard to figure out. Co-authored-by: Gabriella Gonzalez <Gabriel439@gmail.com>
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/macos-builder.nix6
1 files changed, 1 insertions, 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.