diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-24 15:11:03 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-24 15:11:03 +0200 |
commit | ff6b516be0b595777fe967424267f248dce850e6 (patch) | |
tree | 5bb794a27fe0ae45db5a5795636009a62bd8d606 /pkgs/by-name/tr/tree-sitter-yts/flake.nix | |
parent | style(treewide): Reformat (diff) | |
download | nixos-config-ff6b516be0b595777fe967424267f248dce850e6.tar.gz nixos-config-ff6b516be0b595777fe967424267f248dce850e6.zip |
fix(pkgs/by-name/{tr,ya}): Move away from `crane.lib.${system}`
It's deprecated.
Diffstat (limited to '')
-rw-r--r-- | pkgs/by-name/tr/tree-sitter-yts/flake.nix | 3 |
1 files changed, 1 insertions, 2 deletions
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; |