Coder Social home page Coder Social logo

Comments (4)

GaetanLepage avatar GaetanLepage commented on June 26, 2024 1

The issue here is that even though you have set inputs.nixpkgs.follows = "nixpkgs-unstable" for the nixvim input, this has no impact.
Indeed, the pkgs attrs used by nixvim will be inherited from home-manager and will thus be following the 23.11 channel.
If you want to have such a setup where your NixOS and HM systems follow a stable branch while having nixvim unstable is to configure the latter in a standalone flake.
Here is an example: https://github.com/redyf/Neve

from nixvim.

pinarruiz avatar pinarruiz commented on June 26, 2024 1

Thanks @GaetanLepage this worked like a charm.

from nixvim.

GaetanLepage avatar GaetanLepage commented on June 26, 2024 1

Doesn't work for me. I have both HM and Nixvim following nixpkgs-unstable, but still facing the same issue.

If you are using HM as a NixOS module, then the same kind of logic may apply.
HM has an option called useGlobalPkgs which decides which pkgs instance is used.
Maybe try to look in this direction.
Anyway, if you want to have stable NixOS but unstable nixvim, you might want to consider using a standalone flake.

from nixvim.

cudatuda avatar cudatuda commented on June 26, 2024

Doesn't work for me. I have both HM and Nixvim following nixpkgs-unstable, but still facing the same issue.

Here is my flake.nix:

  inputs = {

    nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
    nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";

    home-manager = {
      url = "github:nix-community/home-manager/release-23.11";
      inputs.nixpkgs.follows = "nixpkgs-unstable";
    };

    nixvim = {
      url = "github:nix-community/nixvim";
      inputs.nixpkgs.follows = "nixpkgs-unstable";
    };
    
  };

Am i missing something?

from nixvim.

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.