mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-15 03:40:20 +01:00
Split into different files and use callPackage to build them. Also add them to a 'package' attribute in the flake, to be able to call them outside.
8 lines
142 B
Nix
8 lines
142 B
Nix
{
|
|
naersk,
|
|
kabalist-src,
|
|
}:
|
|
naersk.buildPackage {
|
|
cargoBuildOptions = opts: opts ++ ["--package=kabalist_cli"];
|
|
root = kabalist-src;
|
|
}
|