Giter Club home page Giter Club logo

Comments (4)

nrdxp avatar nrdxp commented on August 25, 2024

Yeah I was having the same issue, basically it has to do with the recent merge and some commit updates that change the registry version. If you were using this before the merge it will give you the error. Simplest fix is to simply change the nixpkgs input manually inputs.nixpkgs.url = "github:NixOS/nixpkgs"; for a single update.

Then after the update finishes, you could just drop the input all together and just use nixpkgs from registry, since it is now pointing to upstream. I'm gonna be updating it myself in a bit, my machine is in the middle of updating right now. Once it is done, I'll push the commit.

from digga.

pio2398 avatar pio2398 commented on August 25, 2024

Changing inputs.nixpkgs.url don't solve problem in my case. I had to remove inputs.home.url to build.
If I unintended correctly your fork of home-manager is depending on your fork of nixpkgs.

from digga.

pio2398 avatar pio2398 commented on August 25, 2024

Thanks to this commit: NixOS/nixpkgs@e421d74 I was able to update the system to 20.03 but without home-manager.

How to update:

  1. Change inputs.nixpkgs.url to "github:NixOS/nixpkgs/release-20.03";
  2. Remove home-manager from config (I wasn't able to fix it :( )
  3. Mount /nix/store in rw mode mount -o remount,rw /nix/store
  4. Replace local cache of flake-registry.json (in my case nix/store/a4db1w50nsqy79xv072ijf5pi4x0g4cl-flake-registry.json) with version 1 (last working version 1 https://raw.githubusercontent.com/NixOS/flake-registry/5bfb0451bf1d527916b28112937da9382f4ecf26/flake-registry.json)
    4.Update

Only left problem is broken home-manager.

from digga.

zimbatm avatar zimbatm commented on August 25, 2024

Commit dd7f6b0c6b461dbc69c1b11ebcf1c8ea5b6160ec from nixpkgs contains the update nixFlake version that supported the registry v2 format.

from digga.

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.