mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-08-17 02:10:31 +03:00
fix typo
This commit is contained in:
parent
87ad5ae4a5
commit
1f3b7713a7
@ -19,12 +19,12 @@
|
||||
let
|
||||
parsed = externals.npmlock2nix.readLockfile (builtins.elemAt inputFiles 0);
|
||||
|
||||
parseGithubDepedency = dependency:
|
||||
parseGithubDependency = dependency:
|
||||
externals.npmlock2nix.parseGitHubRef dependency.version;
|
||||
|
||||
getVersion = dependency:
|
||||
if dependency ? from && dependency ? version then
|
||||
builtins.substring 0 8 (parseGithubDepedency dependency).rev
|
||||
builtins.substring 0 8 (parseGithubDependency dependency).rev
|
||||
else
|
||||
dependency.version;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user