add direnv
This commit is contained in:
parent
0ecc2f7b06
commit
db6b90134d
3 changed files with 10 additions and 2 deletions
6
.envrc
Normal file
6
.envrc
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
if [[ $(type -t use_flake) != function ]]; then
|
||||||
|
echo "ERROR: direnv's use_flake function missing. update direnv to v2.30.0 or later." && exit 1
|
||||||
|
fi
|
||||||
|
use flake
|
||||||
|
dotenv
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.direnv
|
||||||
|
|
@ -5,8 +5,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{ self, flake-parts, ... }:
|
inputs@{ flake-parts, ... }:
|
||||||
flake-parts.lib.mkFlake { inherit self; } {
|
# https://flake.parts/module-arguments.html
|
||||||
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||||
flake = {
|
flake = {
|
||||||
# Put your original flake attributes here.
|
# Put your original flake attributes here.
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue