8000 Not able to set permittedInsecurePackages · Issue #88 · Misterio77/nix-starter-configs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Not able to set permittedInsecurePackages #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Nokogiri opened this issue Nov 30, 2024 · 2 comments
Open

Not able to set permittedInsecurePackages #88

Nokogiri opened this issue Nov 30, 2024 · 2 comments

Comments

@Nokogiri
Copy link

I recently encountered the problem that I have to permit an unsecure package as it is needed as a dependency for a unfree package without source access.
The problem is it doesn't seem to matter where i put nixpkgs.config.permittedInsecurePackages = [ "dotnet-runtime_7" ];
in my config, nix still throws an error that dotnet-runtime_7 is unsecure.

So it seems the setting has no effect.

Is there any other way to permit unsecure packages?

@gaelj
Copy link
gaelj commented Jan 16, 2025

Create and import a module containing

nixpkgs.config.permittedInsecurePackages = [ "dotnet-core-combined" "dotnet-wrapped-combined" "dotnet-combined" "dotnet-runtime-6.0.36" "dotnet-runtime-7.0.20" "aspnetcore-runtime-6.0.36" "aspnetcore-runtime-7.0.20" "dotnet-runtime-wrapped-6.0.36" "dotnet-runtime-wrapped-7.0.20" "dotnet-sdk-6.0.428" "dotnet-sdk-wrapped-6.0.428" "aspnetcore-runtime-wrapped-6.0.36" "aspnetcore-runtime-wrapped-7.0.20" ];

@traverseda
Copy link

Not working for me either, probably NixOS/nixpkgs#356739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0