You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ git checkout 0ea5454f75c7027e3e1492369e40ed5e9294f094
❯ nix-build -A openra
error:
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:34:12:
33|
34| strict = derivationStrict drvAttrs;
| ^
35|
… while evaluating derivation 'openra-release-20231010'
whose name attribute is located at /home/victor/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:336:7
… while evaluating attribute 'dotnet-runtime' of derivation 'openra-release-20231010'
at /home/victor/nixpkgs/pkgs/games/openra/build-engine.nix:21:3:
20| dotnet-sdk = dotnetCorePackages.sdk_6_0;
21| dotnet-runtime = dotnetCorePackages.runtime_6_0;
| ^
22|
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: Package ‘dotnet-runtime-wrapped-6.0.36’ in /home/victor/nixpkgs/pkgs/development/compilers/dotnet/build-dotnet.nix:212 is marked as insecure, refusing to evaluate.
Known issues:
- Dotnet SDK 6.0.36 is EOL, please use 8.0 (LTS) or 9.0 (Current)
You can install it anyway by allowing this package, using the
following methods:
a) To temporarily allow all insecure packages, you can use an environment
variable for a single invocation of the nix tools:
$ export NIXPKGS_ALLOW_INSECURE=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 add ‘dotnet-runtime-wrapped-6.0.36’ to
`nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
like so:
{
nixpkgs.config.permittedInsecurePackages = [
"dotnet-runtime-wrapped-6.0.36"
];
}
c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
‘dotnet-runtime-wrapped-6.0.36’ to `permittedInsecurePackages` in
~/.config/nixpkgs/config.nix, like so:
{
permittedInsecurePackages = [
"dotnet-runtime-wrapped-6.0.36"
];
}
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Build Log
Additional context
See also #360336.
Metadata
"x86_64-linux"
Linux 6.6.63, NixOS, 25.05 (Warbler), 25.05beta712559.4633a7c72337
yes
yes
nix-env (Nix) 2.24.10
"home-manager, nixos, nixos-hardware, nixos-stable-24.05"
/nix/var/nix/profiles/per-user/root/channels/nixos
Notify maintainers
@mdarocha
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: