Git Product home page Git Product logo

Comments (5)

ramirez7 avatar ramirez7 commented on August 15, 2024 1

Ok it's working now 😐 sorry for the hubbub about something silly

And thanks for helping me!

from haskell.nix.

ramirez7 avatar ramirez7 commented on August 15, 2024

I just considered to check my cache settings (I tweaked them due to deprecations recently).

I missed the change in URL:

diff --git a/common/iohk-hydra.nix b/common/iohk-hydra.nix
index 2e3ba38..cbddec2 100644
--- a/common/iohk-hydra.nix
+++ b/common/iohk-hydra.nix
@@ -3,7 +3,7 @@
   nix = {
     settings = {
       trusted-substituters = [
-        "https://hydra.iohk.io"
+        "https://cache.log.io"
       ];
       trusted-public-keys = [
         "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="

But I still don't get cache hits & build GHC 9.2.8 instead.

from haskell.nix.

ramirez7 avatar ramirez7 commented on August 15, 2024

I noticed I was using trusted-substituters instead of substituters like in the docs. So I am now using the verbatim config from the docs:

{
  # Binary Cache for Haskell.nix
  nix = {
    settings = {
      substituters = [
        "https://cache.log.io"
      ];
      trusted-public-keys = [
        "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
      ];
    };
  };
}

and now I get these errors:

warning: error: unable to download 'https://cache.log.io/nix-cache-info': SSL peer certificate or SSH remote key was not OK (60); retrying in 278 ms
warning: error: unable to download 'https://cache.log.io/nix-cache-info': SSL peer certificate or SSH remote key was not OK (60); retrying in 521 ms
warning: error: unable to download 'https://cache.log.io/nix-cache-info': SSL peer certificate or SSH remote key was not OK (60); retrying in 1158 ms
warning: error: unable to download 'https://cache.log.io/nix-cache-info': SSL peer certificate or SSH remote key was not OK (60); retrying in 2617 ms

Hmm, is this a NixOS issue instead

from haskell.nix.

hamishmack avatar hamishmack commented on August 15, 2024

It should be cache.iog.io not cache.log.io

from haskell.nix.

ramirez7 avatar ramirez7 commented on August 15, 2024

🤦

from haskell.nix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.