From ff6b516be0b595777fe967424267f248dce850e6 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 24 May 2024 15:11:03 +0200 Subject: fix(pkgs/by-name/{tr,ya}): Move away from `crane.lib.${system}` It's deprecated. --- pkgs/by-name/tr/tree-sitter-yts/flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkgs/by-name/tr/tree-sitter-yts/flake.nix') diff --git a/pkgs/by-name/tr/tree-sitter-yts/flake.nix b/pkgs/by-name/tr/tree-sitter-yts/flake.nix index 1b6f8ab0..ca882578 100644 --- a/pkgs/by-name/tr/tree-sitter-yts/flake.nix +++ b/pkgs/by-name/tr/tree-sitter-yts/flake.nix @@ -25,10 +25,9 @@ crane, }: (flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; - inherit (pkgs) lib; npmlock2nix' = pkgs.callPackage npmlock2nix {}; - craneLib = crane.lib.${system}; + craneLib = crane.mkLib pkgs; in { build = self.packages.${system}.tree-sitter-nix; -- cgit 1.4.1