Use mkLib pattern
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
89f5401e5d
commit
85ba1e39cc
3 changed files with 13 additions and 15 deletions
6
mk-lib.nix
Normal file
6
mk-lib.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, crane }:
|
||||
|
||||
import ./lib {
|
||||
inherit pkgs;
|
||||
craneLib = (crane.mkLib pkgs).overrideToolchain pkgs.rust-bin.stable.latest.default;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue