mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
Update src/libstore/unix/build/local-derivation-goal.cc
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
fed3a2ce0b
commit
55c1e4454e
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ void LocalDerivationGoal::startBuilder()
|
|||
if (!parsedDrv->canBuildLocally(worker.store)) {
|
||||
// since aarch64-darwin has Rosetta 2, this user can actually run x86_64-darwin on their hardware - we should tell them to run the command to install Darwin 2
|
||||
if (drv->platform == "x86_64-darwin" && settings.thisSystem == "aarch64-darwin") {
|
||||
throw Error("run `/usr/sbin/softwareupdate --install-rosetta --agree-to-license` to enable your %s to run programs for %s", settings.thisSystem, drv->platform);
|
||||
throw Error("run `/usr/sbin/softwareupdate --install-rosetta` to enable your %s to run programs for %s", settings.thisSystem, drv->platform);
|
||||
} else {
|
||||
throw Error("a '%s' with features {%s} is required to build '%s', but I am a '%s' with features {%s}",
|
||||
drv->platform,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue