Starting in 9.1.22, it has become necessary to have git installed to install a pack, even if the pack to be installed is already present locally.
I suspect this is due to
|
; is_git_directory(Source) |
.
It looks like link(true) would be a good way to not reach that branch, but unfortunately, that leads to errors down the line when a status.db is attempted to be written in the source directory, which might not be writable.
Maybe this could check for an explicit git(false) in the options before attempting to call git.
Initially reported here: NixOS/nixpkgs#336326
Starting in 9.1.22, it has become necessary to have git installed to install a pack, even if the pack to be installed is already present locally.
I suspect this is due to
swipl-devel/library/prolog_pack.pl
Line 896 in fcdbb29
It looks like
link(true)would be a good way to not reach that branch, but unfortunately, that leads to errors down the line when astatus.dbis attempted to be written in the source directory, which might not be writable.Maybe this could check for an explicit
git(false)in the options before attempting to call git.Initially reported here: NixOS/nixpkgs#336326