File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -272,10 +272,14 @@ func ProfileInstall(ctx context.Context, args *ProfileInstallArgs) error {
272
272
if exists , err := input .ValidateInstallsOnSystem (); err != nil {
273
273
return err
274
274
} else if ! exists {
275
- platform := " " + nix .System ()
275
+ platform := nix .System ()
276
276
return usererr .New (
277
- "package %s cannot be installed on your platform%s. " +
278
- "Run `devbox add %[1]s --exclude-platform%[2]s` and re-try." ,
277
+ "package %s cannot be installed on your platform %s.\n " +
278
+ "If you know this package is incompatible with %[2]s, then " +
279
+ "you could run `devbox add %[1]s --exclude-platform %[2]s` and re-try.\n " +
280
+ "If you think this package should be compatible with %[2]s, then " +
281
+ "it's possible this particular version is not available yet from the nix registry. " +
282
+ "You could try `devbox add` with a different version for this package.\n " ,
279
283
input .Raw ,
280
284
platform ,
281
285
)
You can’t perform that action at this time.
0 commit comments