From 65db4d0da04f725ccbb2d92efa3fb69f0c5a8625 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 19 May 2020 23:19:00 -0400 Subject: [PATCH] Pepper in allowing old openssl --- default.nix | 8 +++++++- release.nix | 6 ++++++ shell.nix | 4 ++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 2096daf..11ac39e 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,10 @@ -{ pkgs ? import ./nix { overlays = [ (import ./nix/overlay.nix) ]; } }: +{ pkgs ? import ./nix { + config.permittedInsecurePackages = [ + "openssl-1.0.2u" + ]; + overlays = [ (import ./nix/overlay.nix) ]; +} +}: let ofborgCrates = pkgs.callPackage ./Cargo.nix { diff --git a/release.nix b/release.nix index bee79b2..2ea02f8 100644 --- a/release.nix +++ b/release.nix @@ -3,6 +3,9 @@ }: let pkgs = import nixpkgs { + config.permittedInsecurePackages = [ + "openssl-1.0.2u" + ]; overlays = [ (import ./nix/overlay.nix) ]; }; inherit (pkgs) lib; @@ -18,6 +21,9 @@ let collector // { "${system}" = import ./. { pkgs = import nixpkgs { + config.permittedInsecurePackages = [ + "openssl-1.0.2u" + ]; inherit system; overlays = [ (import ./nix/overlay.nix) diff --git a/shell.nix b/shell.nix index 562847a..34f2603 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,8 @@ { pkgs ? import ./nix { + config.permittedInsecurePackages = [ + "openssl-1.0.2u" + ]; + overlays = [ (import ./nix/overlay.nix) (import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz))