I should be working by now.
This commit is contained in:
1 parent
77d0442a3a
commit
53144b201c
2 files changed
+34
-2
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# Ledger
|
||||
|
||||
## Development
|
||||
|
||||
### Building locally
|
||||
|
||||
```shell
|
||||
nix build
|
||||
```
|
||||
|
||||
### Building dev environment
|
||||
|
||||
#### For ide
|
||||
|
||||
```shell
|
||||
nix build .#development-environment
|
||||
```
|
||||
|
||||
#### For shell
|
||||
|
||||
```shell
|
||||
nix develop
|
||||
```
|
||||
|
||||
@@ -25,13 +25,21 @@
|
||||
# something that work.. ish
|
||||
rustc
|
||||
cargo
|
||||
rustPlatform.rustcSrc gcc
|
||||
rustfmt
|
||||
rustPlatform.rustcSrc
|
||||
gcc
|
||||
cargo-tarpaulin
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
devShell = with pkgs; mkShell {
|
||||
buildInputs = [ cargo rustc rustfmt pre-commit rustPackages.clippy ];
|
||||
buildInputs = [cargo
|
||||
rustc
|
||||
rustfmt
|
||||
pre-commit
|
||||
rustPackages.clippy
|
||||
cargo-tarpaulin];
|
||||
RUST_SRC_PATH = rustPlatform.rustLibSrc;
|
||||
};
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user