From 44fc2d7a7e705f0fb8d50b83e547ee0d9db1f827 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 24 Sep 2024 08:05:22 +0200 Subject: [PATCH] use direnv for nix develop --- .envrc | 1 + .gitignore | 1 + flake.nix | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore index 03c81f8..f2d3cc8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ target result mosquitto s140_*_softdevice.hex +.direnv/ diff --git a/flake.nix b/flake.nix index e9f5dfa..0562ff8 100644 --- a/flake.nix +++ b/flake.nix @@ -74,7 +74,7 @@ with fenix.packages.${system}; fromToolchainFile { file = ./rust-toolchain.toml; - sha256 = "sha256-yrQPCdDVYQlF7MSAZP+R4DKigWY3PSTs0Re42v7CDNs="; + sha256 = "sha256-LqLkRalgBChXud42w4/im8z6vHjzv3uMOJKRlMqSFLQ="; }; in with pkgs;