From 9b281e7bd646623dec2e83ed20d8fa034566d1d1 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Wed, 27 Sep 2023 17:29:26 +0200 Subject: [PATCH] Revert "Resolve before instantiating the environment. (#14)" This reverts commit a2bba0fe569c10141933a23540e629dde2ba2fba. --- hooks/pre-command | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/hooks/pre-command b/hooks/pre-command index 2ba015e..3ad28ec 100755 --- a/hooks/pre-command +++ b/hooks/pre-command @@ -8,17 +8,6 @@ if [ -n "$custom_manifest" ]; then cp "$custom_manifest" Manifest.toml fi -# when packages ship a manifest, we may need to resolve it before we can instantiate. -# we need to do this _outside_ of that environment, because Pkg may not be usable within. -if [ -f "Manifest.toml" ]; then - echo "Resolving manifest..." - julia -e " - using Pkg - Pkg.activate(\".\") - Pkg.resolve() - " -fi - JULIA_PKG_PRECOMPILE_AUTO=0 \ julia --project=${project} -e " using Pkg