Skip to content

Commit

Permalink
Merge pull request #327 from NNPDF/nix
Browse files Browse the repository at this point in the history
Nix
  • Loading branch information
alecandido authored Nov 22, 2023
2 parents 7ac7f9c + 13d5ac1 commit 8372ec3
Show file tree
Hide file tree
Showing 4 changed files with 395 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
fi

nix_direnv_watch_file devenv.nix
nix_direnv_watch_file devenv.lock
nix_direnv_watch_file devenv.yaml
if ! use flake . --impure
then
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
fi
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,4 @@ validation-report.json

# Folders to ignore
node_modules
.devenv
337 changes: 337 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8372ec3

Please sign in to comment.