Giter VIP home page Giter VIP logo

Comments (4)

yupeng0921 avatar yupeng0921 commented on August 28, 2024

Thanks danburkert, I just hit the exactly same error, and set the nix to danburkert's repo in Cargo.toml can solve this issue:
[dependencies]
nix = { git = "https://github.com/danburkert/nix-rust" }

from nix.

rorytrent avatar rorytrent commented on August 28, 2024

@yupeng820921 , I was able to compile nix using this fix, but when it is listed as a sub-dependency in one of the other included libraries it still attempts to compile the broken version. Do you know of any fix for that besides forking the other dependency or waiting for this repo to be updated?

from nix.

danburkert avatar danburkert commented on August 28, 2024

@rorytrent the mechanism that would allow you to do this in Cargo appears to be broken: rust-lang/cargo#1800. A quick and dirty fix is to manually edit your local Cargo.lock file and replace any instances of the libc 0.1.9 dependency with 0.1.8.

from nix.

carllerche avatar carllerche commented on August 28, 2024

Looks like libc 0.1.9 was yanked. I'm going to close this issue.

from 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.