mirror of
https://github.com/nix-community/naersk
synced 2024-11-10 14:14:14 +00:00
make fetchgit work when not fetching from master
This is required so that fetching dependencies from a feature branch is possible. See also https://github.com/NixOS/nix/pull/3408
This commit is contained in:
parent
79a613f3b5
commit
79129b5c16
1 changed files with 1 additions and 0 deletions
1
lib.nix
1
lib.nix
|
@ -108,6 +108,7 @@ rec
|
|||
url = val.git;
|
||||
} // lib.optionalAttrs (val ? rev) {
|
||||
rev = val.rev;
|
||||
ref = val.rev;
|
||||
} // lib.optionalAttrs (val ? branch) {
|
||||
ref = val.branch;
|
||||
} // lib.optionalAttrs (val ? tag) {
|
||||
|
|
Loading…
Reference in a new issue