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