use direnv for nix develop

This commit is contained in:
Sebastian Hugentobler 2024-09-24 08:05:22 +02:00
parent e2c5b7400f
commit 44fc2d7a7e
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
3 changed files with 3 additions and 1 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use flake

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ target
result result
mosquitto mosquitto
s140_*_softdevice.hex s140_*_softdevice.hex
.direnv/

View File

@ -74,7 +74,7 @@
with fenix.packages.${system}; with fenix.packages.${system};
fromToolchainFile { fromToolchainFile {
file = ./rust-toolchain.toml; file = ./rust-toolchain.toml;
sha256 = "sha256-yrQPCdDVYQlF7MSAZP+R4DKigWY3PSTs0Re42v7CDNs="; sha256 = "sha256-LqLkRalgBChXud42w4/im8z6vHjzv3uMOJKRlMqSFLQ=";
}; };
in in
with pkgs; with pkgs;