refactor(nvim): get package from coc-stylelint flake

This commit is contained in:
matt1432 2023-11-26 01:15:55 -05:00
parent 32741bf90b
commit 07da983ad1
4 changed files with 91 additions and 57 deletions

View file

@ -9,7 +9,6 @@
nur, nur,
nix-melt, nix-melt,
nurl, nurl,
coc-stylelintplus,
pkgs, pkgs,
... ...
}: { }: {
@ -45,7 +44,6 @@
}; };
nixpkgs.overlays = [ nixpkgs.overlays = [
nixpkgs-wayland.overlay nixpkgs-wayland.overlay
coc-stylelintplus.overlay
]; ];
nh = { nh = {

View file

@ -1,11 +1,13 @@
{ {
pkgs, pkgs,
lib, lib,
tree-sitter-hypr, coc-stylelintplus-flake,
tree-sitter-hypr-flake,
... ...
}: let }: let
fileContents = lib.strings.fileContents; fileContents = lib.strings.fileContents;
nvim-treesitter-hypr = tree-sitter-hypr.packages.${pkgs.system}.default; nvim-treesitter-hypr = tree-sitter-hypr-flake.packages.${pkgs.system}.default;
coc-stylelintplus = coc-stylelintplus-flake.packages.${pkgs.system}.default;
in { in {
# TODO: make a gradle module and have java in device-vars.nix # TODO: make a gradle module and have java in device-vars.nix
xdg.dataFile = { xdg.dataFile = {

View file

@ -20,18 +20,19 @@
"type": "github" "type": "github"
} }
}, },
"coc-stylelintplus": { "coc-stylelintplus-flake": {
"inputs": { "inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1698367074, "lastModified": 1700978238,
"narHash": "sha256-gpqZucyZujTq7bclWcU/F8Zp7jae0V21mI58yBhKeJ4=", "narHash": "sha256-izqKi2fHWWjnKb7H+BKP2EMgAcd1yXdY2N2LEQ2gF6I=",
"owner": "matt1432", "owner": "matt1432",
"repo": "coc-stylelintplus", "repo": "coc-stylelintplus",
"rev": "5653e8d99b950a6ef199f3048a567b8df7999434", "rev": "955513cc1d942980d2e1b30059a2205aa3784c1e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -173,25 +174,7 @@
}, },
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems"
},
"locked": {
"lastModified": 1685518550,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"inputs": {
"systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1694529238, "lastModified": 1694529238,
@ -207,6 +190,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_2": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1685518550,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_3": { "flake-utils_3": {
"inputs": { "inputs": {
"systems": "systems_4" "systems": "systems_4"
@ -225,6 +226,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_4": {
"inputs": {
"systems": "systems_5"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"hercules-ci-effects": { "hercules-ci-effects": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
@ -293,7 +312,7 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"systems": "systems", "systems": "systems_2",
"wlroots": "wlroots", "wlroots": "wlroots",
"xdph": "xdph" "xdph": "xdph"
}, },
@ -338,7 +357,7 @@
}, },
"lib-aggregate": { "lib-aggregate": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_3",
"nixpkgs-lib": "nixpkgs-lib_3" "nixpkgs-lib": "nixpkgs-lib_3"
}, },
"locked": { "locked": {
@ -381,7 +400,7 @@
}, },
"neovim-flake_2": { "neovim-flake_2": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils_2",
"nixpkgs": [ "nixpkgs": [
"neovim-flake", "neovim-flake",
"nixpkgs" "nixpkgs"
@ -724,11 +743,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1700973070, "lastModified": 1700977241,
"narHash": "sha256-xYun1OP1lmhi94JzFXajEKj0ipO6cmKVpVZXZP3lSH0=", "narHash": "sha256-1toBTNtLkR8mq4WVq1M8bk4GvuuxNVIm2ITdXSplRTM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "9a5c43cffc04beb342e4f0299b5b31c87db39b38", "rev": "f3e9bac6b7cc491a052ff255d80226e3faa74bfb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -758,7 +777,7 @@
"root": { "root": {
"inputs": { "inputs": {
"ags": "ags", "ags": "ags",
"coc-stylelintplus": "coc-stylelintplus", "coc-stylelintplus-flake": "coc-stylelintplus-flake",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprgrass": "hyprgrass", "hyprgrass": "hyprgrass",
"hyprland": "hyprland", "hyprland": "hyprland",
@ -771,25 +790,10 @@
"nixpkgs-wayland": "nixpkgs-wayland", "nixpkgs-wayland": "nixpkgs-wayland",
"nur": "nur", "nur": "nur",
"nurl": "nurl", "nurl": "nurl",
"tree-sitter-hypr": "tree-sitter-hypr" "tree-sitter-hypr-flake": "tree-sitter-hypr-flake"
} }
}, },
"systems": { "systems": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_2": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
@ -804,6 +808,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_2": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_3": { "systems_3": {
"locked": { "locked": {
"lastModified": 1681028828, "lastModified": 1681028828,
@ -834,19 +853,34 @@
"type": "github" "type": "github"
} }
}, },
"tree-sitter-hypr": { "systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tree-sitter-hypr-flake": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_4",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1700973902, "lastModified": 1700977291,
"narHash": "sha256-Zp/I8/ZUXEl9KkVMdOvAJhiIgDRYK0vFzi0JBtzbHYg=", "narHash": "sha256-P3ZiIurixNdBqKJrsmFibmScnwD0pjhljLo4L8BLtws=",
"owner": "matt1432", "owner": "matt1432",
"repo": "tree-sitter-hypr", "repo": "tree-sitter-hypr",
"rev": "abbdfe0418f898a8a7f289c97e6ed15f1b9dfae8", "rev": "9d9060ea8830229c23dd59490035ab180eebff21",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -31,11 +31,11 @@
# to make sure plugins and nvim have same binaries # to make sure plugins and nvim have same binaries
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
coc-stylelintplus = { coc-stylelintplus-flake = {
url = "github:matt1432/coc-stylelintplus"; url = "github:matt1432/coc-stylelintplus";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
tree-sitter-hypr = { tree-sitter-hypr-flake = {
url = "github:matt1432/tree-sitter-hypr"; url = "github:matt1432/tree-sitter-hypr";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };