about summary refs log tree commit diff stats
path: root/pkgs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-24 15:11:03 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-24 15:11:03 +0200
commitff6b516be0b595777fe967424267f248dce850e6 (patch)
tree5bb794a27fe0ae45db5a5795636009a62bd8d606 /pkgs
parentstyle(treewide): Reformat (diff)
downloadnixos-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.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 ./.;