feat(coc-stylelint): use my flake instead of the overlays
This commit is contained in:
parent
c122b79aef
commit
32466b94fd
7 changed files with 5 additions and 61 deletions
|
@ -7,6 +7,7 @@
|
|||
, nur
|
||||
, nix-melt
|
||||
, nurl
|
||||
, coc-stylelintplus
|
||||
, pkgs
|
||||
, ...
|
||||
}: {
|
||||
|
@ -39,7 +40,10 @@
|
|||
exact = false;
|
||||
};
|
||||
};
|
||||
nixpkgs.overlays = [ nixpkgs-wayland.overlay ];
|
||||
nixpkgs.overlays = [
|
||||
nixpkgs-wayland.overlay
|
||||
coc-stylelintplus.overlay
|
||||
];
|
||||
|
||||
nh = {
|
||||
enable = true;
|
||||
|
|
|
@ -56,7 +56,6 @@ in
|
|||
|
||||
bat
|
||||
|
||||
stylelint-lsp
|
||||
nil
|
||||
];
|
||||
extraPython3Packages = with pkgs.python311Packages; [
|
||||
|
|
|
@ -11,16 +11,6 @@
|
|||
(import ./blueberry.nix)
|
||||
(import ./vencord.nix)
|
||||
|
||||
(final: prev: {
|
||||
vimPlugins = prev.vimPlugins.extend (final': prev': {
|
||||
coc-stylelintplus = prev.callPackage ./pkgs/coc-stylelintplus.nix {};
|
||||
});
|
||||
})
|
||||
|
||||
(final: prev: {
|
||||
stylelint-lsp = final.callPackage ./pkgs/stylelint-lsp.nix {};
|
||||
})
|
||||
|
||||
(final: prev: {
|
||||
spotifywm = final.callPackage ./pkgs/spotifywm.nix {};
|
||||
})
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
{ vimUtils
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
}: let
|
||||
buildVimPlugin = vimUtils.buildVimPlugin;
|
||||
name = "coc-stylelintplus";
|
||||
rev = "7945d0c2a26da13b7d1aa6e0681ddac088b22d3b";
|
||||
|
||||
nodePkg = buildNpmPackage {
|
||||
name = name;
|
||||
src = fetchFromGitHub {
|
||||
owner = "matt1432";
|
||||
repo = name;
|
||||
rev = rev;
|
||||
hash = "sha256-tdNE0taHuvZ7Gg9RXz5TWKB/ujpGO1tMzWHIj3O9vOw=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-r9JdzGjdf36vyRQeGDt0ZttF/PSCQBYfn472EiSpEXg=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
makeCacheWritable = true;
|
||||
};
|
||||
in
|
||||
buildVimPlugin {
|
||||
pname = name;
|
||||
version = rev;
|
||||
src = "${nodePkg}/lib/node_modules/${name}";
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
name = "stylelint-lsp";
|
||||
pname = "stylelint-lsp";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matt1432";
|
||||
repo = pname;
|
||||
rev = "279a4a5c53e79b7f7cbb6bdf60cca5ed8135c0a2";
|
||||
hash = "sha256-myQ2jr+XY/fKuT2NE29OZd4uJZlfWFGbxnUr1SUZEW0=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-P8S6EO//6daUYKQ3GTZDmwah7KD0+mRyhy2ruFERx0I=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
makeCacheWritable = true;
|
||||
}
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
Loading…
Reference in a new issue