| 16 Oct 2024 |
K900 | If this is a staging-next regression, please post the full log | 16:13:11 |
Jeff | Here's the full log:
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:34:12:
33|
34| strict = derivationStrict drvAttrs;
| ^
35|
… while evaluating derivation 'home-manager-generation'
whose name attribute is located at /nix/store/grs11qimnjqwk2ylkvl51w60d9jf5iqi-source/pkgs/stdenv/generic/make-derivation.nix:336:7
… while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'
at /nix/store/grs11qimnjqwk2ylkvl51w60d9jf5iqi-source/pkgs/build-support/trivial-builders/default.nix:59:17:
58| enableParallelBuilding = true;
59| inherit buildCommand name;
| ^
60| passAsFile = [ "buildCommand" ]
… while evaluating the option `home.activation.installPackages.data':
… while evaluating definitions from `/nix/store/7zbmi61g4bq71j3ixy9b99cgg6yq95nc-source/modules/home-environment.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: Package ‘apple-sdk-11.3’ in /nix/store/grs11qimnjqwk2ylkvl51w60d9jf5iqi-source/pkgs/by-name/ap/apple-sdk/package.nix:111 is not available on the requested hostPlatform:
hostPlatform.config = "x86_64-unknown-linux-gnu"
package.meta.platforms = [
"x86_64-darwin"
"i686-darwin"
"aarch64-darwin"
"armv7a-darwin"
]
package.meta.badPlatforms = [
{
cpu = {
bits = 32;
};
}
]
, refusing to evaluate.
a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
for a single invocation of the nix tools.
$ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1
Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
then pass `--impure` in order to allow use of environment variables.
b) For `nixos-rebuild` you can set
{ nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
{ allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.
| 16:15:02 |
K900 | Run it with --show-trace | 16:15:30 |
Jeff | Download err.log | 16:16:59 |
Jeff | ok, that's with --show-trace | 16:17:15 |
K900 | That is very strange | 16:18:07 |
K900 | Something in your home-manager config is pulling in the Apple SDK | 16:18:14 |
K900 | And the error doesn't really say what | 16:18:21 |
K900 | … while evaluating attribute 'buildInputs' of derivation 'wezterm-20240203-110809-5046fc22' | 16:18:50 |
K900 | Oh wait | 16:18:51 |
Jeff | ugh wezterm | 16:19:03 |
Jeff | ok, let me remove that and see what happens | 16:19:15 |
K900 | OK, I think that is in fact a regression | 16:20:45 |
Jeff | yeah that was it | 16:21:34 |
K900 | I've reported this to the right people | 16:22:09 |
Jeff | ugh... no still getting it for some reason | 16:24:25 |
K900 | There may be other packages affected in a similar way | 16:24:37 |
K900 | Generally, staging-next is not something you should be running as an end user | 16:24:49 |