Add .default.nix and .envrc
This commit is contained in:
7
.envrc
Normal file
7
.envrc
Normal file
@ -0,0 +1,7 @@
|
||||
use nix .default.nix
|
||||
export SOURCE_DATE_EPOCH=$(date +%s)
|
||||
dir_hash=autocmake-$(echo -n autocmake | shasum | cut -d ' ' -f 1)
|
||||
direnv_layout_dir=$XDG_CACHE_HOME/direnv/layouts/$dir_hash
|
||||
layout python `type -P python` --system-site-packages
|
||||
pip install -r requirements.txt
|
||||
export NINJA_STATUS="[Built edge %f of %t in %e sec]"
|
Reference in New Issue
Block a user