build(deps): add rug for arbitrary precision math
This commit is contained in:
parent
9da2d49f79
commit
5683d41c53
3 changed files with 73 additions and 1 deletions
|
|
@ -14,16 +14,22 @@
|
|||
|
||||
cargoToml = fromTOML (builtins.readFile ./Cargo.toml);
|
||||
name = cargoToml.package.name;
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
m4
|
||||
];
|
||||
in
|
||||
{
|
||||
packages.default = pkgs.rustPlatform.buildRustPackage {
|
||||
inherit name;
|
||||
inherit name buildInputs;
|
||||
src = ./.;
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
inherit buildInputs;
|
||||
|
||||
packages = with pkgs; [
|
||||
rustc
|
||||
cargo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue