Use mkLib pattern

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2025-03-04 10:53:57 +01:00
parent 89f5401e5d
commit 85ba1e39cc
3 changed files with 13 additions and 15 deletions

6
mk-lib.nix Normal file
View file

@ -0,0 +1,6 @@
{ pkgs, crane }:
import ./lib {
inherit pkgs;
craneLib = (crane.mkLib pkgs).overrideToolchain pkgs.rust-bin.stable.latest.default;
}