Coder Social home page Coder Social logo

Comments (4)

nixos-discourse avatar nixos-discourse commented on September 15, 2024

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/fetching-a-private-derivation-from-git-and-building-with-nixos-generate/32997/1

from nixos-generators.

Lassulus avatar Lassulus commented on September 15, 2024

host key verification failed means that the host is not in the known_hosts of the user where the daemon is connecting from. You can try ssh-ing to github.com as root once and accepting the key

from nixos-generators.

Mic92 avatar Mic92 commented on September 15, 2024

If you have builtins.fetchGit in your nix code than this shouldn't be broken by nixos-generators. nixos-generators does not runs builtins.fetchGit inside a sandbox just like any other nix-build tool. The only way this can happen is if you actually run nixos-generators yourself inside a build but than you also wouldn't get Host key verification failed because it wasn't able to reach this host. Try to git clone normally from the url that you are trying to fetch. You should be able to see the same error.

from nixos-generators.

TomMD avatar TomMD commented on September 15, 2024

Thank you. Yes the problem was on my side as my build was not ran as my normal user and did not have the known_hosts setup right. Thanks for confirming generators is uninvolved and it is running builtins.fetchGit as normal.

from nixos-generators.

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.