Start using direnv

This commit is contained in:
Kiana Sheibani 2022-01-11 23:28:57 -05:00
parent c096923f39
commit 3b56e44971
4 changed files with 5 additions and 8 deletions

1
.direnv/flake-profile Symbolic link
View file

@ -0,0 +1 @@
flake-profile-1-link

View file

@ -0,0 +1 @@
/nix/store/y7cn6n6zvp9z6vz8k22mfqqh7vkshc5j-nix-shell-env

3
.envrc Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
use flake

View file

@ -1,8 +0,0 @@
(import (
let lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
) { src = ./.; }).shellNix