add .envrc/flake.nix for setting up automatic build environment under NixOS (#17)

This commit is contained in:
Jeremy O'Brien
2025-07-06 11:39:02 -04:00
committed by GitHub
parent ced820b60d
commit fa84c27ee6
4 changed files with 102 additions and 0 deletions

5
.envrc Normal file
View File

@ -0,0 +1,5 @@
# shellcheck shell=bash
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
fi
use flake