From 2ec4595d3bcd5d647faa584dec96c1bdd841a0d8 Mon Sep 17 00:00:00 2001 From: Alex David Date: Thu, 26 Feb 2026 12:25:19 -0800 Subject: [PATCH] Fix broken example.org certificate test failures At some point example.org changed something about their certificate chain and causes `curl https://example.org` to fail on NixOS systems. For now, I'm going to use `https://alexdav.id`. --- tests/spec/CombinatorsSpec.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/spec/CombinatorsSpec.hs b/tests/spec/CombinatorsSpec.hs index 87bf5c4..6428cd3 100644 --- a/tests/spec/CombinatorsSpec.hs +++ b/tests/spec/CombinatorsSpec.hs @@ -108,12 +108,12 @@ spec = parallel $ inTestM $ do out <- runNixDrv [i| - jail "test" (sh ''curl https://example.org'') (c: [ + jail "test" (sh ''curl https://alexdav.id'') (c: [ (c.add-pkg-deps [ pkgs.curl ]) c.network ]) |] - liftIO $ out `shouldContain` "

Example Domain

" + liftIO $ out `shouldContain` "jail.nix" it "allows overriding the hostname with set-hostname" $ do [i| @@ -151,12 +151,12 @@ spec = parallel $ inTestM $ do runNixDrvWithinVm [i| { services.resolved.enable = true; } |] [i| - jail "test" (sh ''curl https://example.org'') (c: [ + jail "test" (sh ''curl https://alexdav.id'') (c: [ (c.add-pkg-deps [ pkgs.curl ]) c.network ]) |] - liftIO $ out `shouldContain` "

Example Domain

" + liftIO $ out `shouldContain` "jail.nix" describe "no-die-with-parent" $ do let waitForChildPid :: Process.Pid -> TestM Process.Pid