default.nix not required
This commit is contained in:
parent
9184ee6f64
commit
50b679d7dd
2 changed files with 9 additions and 9 deletions
9
README.md
Normal file
9
README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
Requires Nix Flakes.
|
||||||
|
|
||||||
|
```
|
||||||
|
# dev shell
|
||||||
|
nix develop
|
||||||
|
|
||||||
|
# or just run directly
|
||||||
|
nix develop -c cargo run
|
||||||
|
```
|
|
@ -1,9 +0,0 @@
|
||||||
let
|
|
||||||
pkgs = import ./dep/nixpkgs { overlays = [ (import ./dep/rust-overlay) ]; };
|
|
||||||
rust = pkgs.rust-bin.stable.latest.rust;
|
|
||||||
in
|
|
||||||
pkgs.mkShell {
|
|
||||||
buildInputs = [
|
|
||||||
rust
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Reference in a new issue