mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
yarn2nix: fix "rev is not defined" (#141207)
Must have slipped in when incorporating comments on #136922
This commit is contained in:
parent
f7d3aec5ef
commit
4c7e1a10b4
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ function fetchLockedDep(builtinFetchGit) {
|
|||
|
||||
const [_, branch] = nameWithVersion.split('#')
|
||||
|
||||
return fetchgit(fileName, githubUrl, rev, branch || 'master', builtinFetchGit)
|
||||
return fetchgit(fileName, githubUrl, githubRev, branch || 'master', builtinFetchGit)
|
||||
}
|
||||
|
||||
if (url.startsWith('git+') || url.startsWith("git:")) {
|
||||
|
|
Loading…
Reference in a new issue