mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-28 08:59:04 +03:00
php: set rootName & rootVersion for path sources
This commit is contained in:
parent
cac77826b8
commit
156d7e0f50
@ -295,8 +295,8 @@ in {
|
||||
if rawObj ? "source" && rawObj.source.type == "path"
|
||||
then {
|
||||
inherit (rawObj.source) type path;
|
||||
rootName = null;
|
||||
rootVersion = null;
|
||||
rootName = finalObj.name;
|
||||
rootVersion = finalObj.version;
|
||||
}
|
||||
else if rawObj ? "source" && rawObj.source.type == "git"
|
||||
then {
|
||||
@ -307,8 +307,8 @@ in {
|
||||
then {
|
||||
inherit (rawObj.dist) type;
|
||||
path = rawObj.dist.url;
|
||||
rootName = null;
|
||||
rootVersion = null;
|
||||
rootName = finalObj.name;
|
||||
rootVersion = finalObj.version;
|
||||
}
|
||||
else
|
||||
l.abort ''
|
||||
|
Loading…
Reference in New Issue
Block a user