Revert "allow nixpkgs-review to build insecure packages"

This reverts commit 6e45a0911d.

not needed now that openssl_1_1 is disallowed
This commit is contained in:
zowoq 2024-06-26 10:30:55 +10:00
parent 3e25ce4c5f
commit d49fec1752

View File

@ -43,7 +43,7 @@ run cache commit =
proc "rm" ["-rf", revDir cache commit]
(exitCode, _nixpkgsReviewOutput) <-
ourReadProcessInterleavedSem $
proc "timeout" [T.unpack timeout, (binPath <> "/nixpkgs-review"), "rev", T.unpack commit, "--no-shell", "--extra-nixpkgs-config", "{ allowInsecurePredicate = x: true; }"]
proc "timeout" [T.unpack timeout, (binPath <> "/nixpkgs-review"), "rev", T.unpack commit, "--no-shell"]
case exitCode of
ExitFailure 124 -> do
output $ "[check][nixpkgs-review] took longer than " <> timeout <> " and timed out"