* add(nix): add crate2nix To have a better experience on ci, due to improved caching of dependencies. Also organize file hierarchy slightly. * ci(nix): manually check a default system Is needed because `nix flake check` accidentally tries to build IFD.
11 lines
174 B
Nix
11 lines
174 B
Nix
{ mkShell
|
|
, buildInputs
|
|
, nativeBuildInputs
|
|
}:
|
|
|
|
mkShell {
|
|
name = "zj-dev-env";
|
|
inherit buildInputs nativeBuildInputs;
|
|
### Environment Variables
|
|
RUST_BACKTRACE = 1;
|
|
}
|