Allow insecure openssl_1_1 at flake nixpkgs config level
This commit is contained in:
1 parent
ba1652dab4
commit
afc9ae8cc5
2 files changed
+10
-6
No files matched your search
@@ -24,7 +24,16 @@
|
|||||||
flake-utils.lib.eachDefaultSystem (
|
flake-utils.lib.eachDefaultSystem (
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system}.extend (
|
||||||
|
final: prev: {
|
||||||
|
config = prev.config // {
|
||||||
|
permittedInsecurePackages = (prev.config.permittedInsecurePackages or [ ]) ++ [
|
||||||
|
# openssl_1_1 is EOL but needed to link vibe-d 0.9.8 TLS
|
||||||
|
"openssl-1.1.1w"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages = import ./pkgs {
|
packages = import ./pkgs {
|
||||||
|
|||||||
@@ -19,11 +19,6 @@ buildDubPackage rec {
|
|||||||
|
|
||||||
dubLock = ./dub-lock.json;
|
dubLock = ./dub-lock.json;
|
||||||
|
|
||||||
# openssl_1_1 is EOL and marked insecure in nixpkgs, but it's only a
|
|
||||||
# build-time link dependency (vibe-d 0.9.8 TLS needs symbols removed in
|
|
||||||
# OpenSSL 3). The resulting binary statically links it.
|
|
||||||
permittedInsecurePackages = [ "openssl-1.1.1w" ];
|
|
||||||
|
|
||||||
buildInputs = [ zlib openssl_1_1 ];
|
buildInputs = [ zlib openssl_1_1 ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
Reference in new issue
Block a user