~toastal/nvim-tree-sitter-unicode-conceal

Showing details for patch 8897527b794e27649b33fd5668d8818870503e0c.
2024-01-19 (Fri), 7:45 AM - toastal - 8897527b794e27649b33fd5668d8818870503e0c

filesets to filter files

Summary of changes
1 files modified with 10 lines added and 10 lines removed
  • flake.nix with 10 added and 10 removed lines
diff -rN -u old-nvim-tree-sitter-unicode-conceal/flake.nix new-nvim-tree-sitter-unicode-conceal/flake.nix
--- old-nvim-tree-sitter-unicode-conceal/flake.nix	2024-11-25 01:51:43.473208506 +0000
+++ new-nvim-tree-sitter-unicode-conceal/flake.nix	2024-11-25 01:51:43.473208506 +0000
@@ -37,23 +37,23 @@
       };
 
       packages = forAllSystems (system:
-        let pkgs = nixpkgsFor.${system}; in {
+        let pkgs = nixpkgsFor.${system}; inherit (pkgs) lib; in {
           default = self.packages.${system}.${name};
 
           ${name} = pkgs.vimUtils.buildVimPlugin {
             inherit name;
             namePrefix = "";
-            src = builtins.path {
-              inherit name;
-              path = ./.;
-              filter = path: type: ! pkgs.lib.lists.elem (/. + path) [
-                ./result
-                ./.direnv
-                ./_build
-                ./_darcs
+            src = lib.fileset.toSource {
+              root = ./.;
+              fileset = lib.fileset.unions [
+                ./after
+                ./COPYING.txt
+                ./COPYING.LESSER.txt
               ];
             };
-            meta.license = pkgs.lib.licenses.lgpl21;
+            meta = {
+              license = lib.licenses.lgpl21;
+            };
           };
 
           nvim-mod = pkgs.neovim.override {