downloadCargoPackageFromGit: set fetchLFS when an output hash is defined (#690)

This commit is contained in:
Ivan Petkov 2024-08-29 15:35:39 -07:00 committed by GitHub
parent 3e08f4b1fc
commit 5d6c16530f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
which rely on `PKG_CONFIG_PATH` remaining stable
* `installFromCargoBuildLogHook` no longer assumes or requires that `jq` is
available on `$PATH` and will instead directly reference `pkgs.jq`
* `downloadCargoPackageFromGit` will now set `fetchLFS = true` when fetching git
repos with defined output hashes
## [0.18.1] - 2024-08-22

View File

@ -31,6 +31,7 @@ let
inherit rev sha256;
url = git;
fetchSubmodules = true;
fetchLFS = true;
};
in
stdenv.mkDerivation {