mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 02:47:45 +03:00
Set cargoLock.allowBuiltinFetchGit in Nix package
This commit is contained in:
parent
28e69f09fc
commit
486f4297b7
1 changed files with 7 additions and 1 deletions
|
@ -38,7 +38,13 @@ in
|
|||
# hooked up. To get around this while having good customization, mkDerivation is
|
||||
# used instead.
|
||||
rustPlatform.buildRustPackage (self: {
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
# This is not allowed in nixpkgs but is very convenient here: it allows us to
|
||||
# avoid specifying `outputHashes` here for any git dependencies we might take
|
||||
# on temporarily.
|
||||
allowBuiltinFetchGit = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue