about summary refs log tree commit diff stats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/tr/tree-sitter-yts/flake.nix3
-rw-r--r--pkgs/by-name/ya/yambar-cpu/flake.nix2
-rw-r--r--pkgs/by-name/ya/yambar-memory/flake.nix2
3 files changed, 3 insertions, 4 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;
 
diff --git a/pkgs/by-name/ya/yambar-cpu/flake.nix b/pkgs/by-name/ya/yambar-cpu/flake.nix
index 0d63e121..6480a40d 100644
--- a/pkgs/by-name/ya/yambar-cpu/flake.nix
+++ b/pkgs/by-name/ya/yambar-cpu/flake.nix
@@ -16,7 +16,7 @@
     ...
   }:
     flake-utils.lib.eachDefaultSystem (system: let
-      craneLib = crane.lib.${system};
+      craneLib = crane.mkLib pkgs;
       craneBuild = craneLib.buildPackage {
         src = craneLib.cleanCargoSource ./.;
 
diff --git a/pkgs/by-name/ya/yambar-memory/flake.nix b/pkgs/by-name/ya/yambar-memory/flake.nix
index 186195cc..030667f1 100644
--- a/pkgs/by-name/ya/yambar-memory/flake.nix
+++ b/pkgs/by-name/ya/yambar-memory/flake.nix
@@ -16,7 +16,7 @@
     ...
   }:
     flake-utils.lib.eachDefaultSystem (system: let
-      craneLib = crane.lib.${system};
+      craneLib = crane.mkLib pkgs;
       craneBuild = craneLib.buildPackage {
         src = craneLib.cleanCargoSource ./.;