mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-18 20:11:33 +03:00
fix: php: composer-lock path source
This commit is contained in:
parent
26a0088b9d
commit
a9d1f074a2
@ -142,7 +142,7 @@ in {
|
|||||||
version = composerJson.version or "unknown";
|
version = composerJson.version or "unknown";
|
||||||
source = {
|
source = {
|
||||||
type = "path";
|
type = "path";
|
||||||
path = projectSource;
|
path = rootSource;
|
||||||
};
|
};
|
||||||
require =
|
require =
|
||||||
(l.optionalAttrs (!noDev) (composerJson.require-dev or {}))
|
(l.optionalAttrs (!noDev) (composerJson.require-dev or {}))
|
||||||
@ -281,6 +281,8 @@ in {
|
|||||||
if rawObj.source.type == "path"
|
if rawObj.source.type == "path"
|
||||||
then {
|
then {
|
||||||
inherit (rawObj.source) type path;
|
inherit (rawObj.source) type path;
|
||||||
|
rootName = null;
|
||||||
|
rootVersion = null;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
inherit (rawObj.source) type url;
|
inherit (rawObj.source) type url;
|
||||||
|
Loading…
Reference in New Issue
Block a user