Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
This fixes the following warning from crane:
```
trace: warning: `crane.lib.${system}` is deprecated. please use `(crane.mkLib nixpkgs.legacyPackages.${system})` instead
```
  • Loading branch information
Luflosi committed May 31, 2024
1 parent 97c9f34 commit 72f21aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
rec {
inherit (pkgs) lib;

craneLib = crane.lib.${system};
craneLib = crane.mkLib pkgs;
src = craneLib.cleanCargoSource (craneLib.path ../.);

# Common arguments can be set here to avoid repeating them later
Expand Down

0 comments on commit 72f21aa

Please sign in to comment.