Skip to content

is there a way to add a custom plugin not packaged in nixpkgs? #592

Closed Answered by ptonner
conscious-puppet asked this question in Q&A
Discussion options

You must be logged in to vote

right, I'm using flakes as well but my call to makeNixvimWithModule uses a module file that won't have a reference to the flake inputs directly, just pkgs. This is how makeNixvimWithModule is written, so I think there is no way around it without overlays. But I wanted to double check my assumptions in case there's an alternative.

To make things more clear, here's my basic setup. A top-level flake:

{ 
    inputs = {
        #....
        extra-plugin = {
          url = "github:extra/plugin";
          flake = false;
        };
    }
    outputs = { nixpkgs, flake-utils, nixvim, ... }@inputs:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs {
          i…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ptonner
Comment options

@gaetan-puleo
Comment options

@ptonner
Comment options

Answer selected by GaetanLepage
Comment options

You must be logged in to vote
2 replies
@conscious-puppet
Comment options

@GaetanLepage
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants