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";
|
||||
source = {
|
||||
type = "path";
|
||||
path = projectSource;
|
||||
path = rootSource;
|
||||
};
|
||||
require =
|
||||
(l.optionalAttrs (!noDev) (composerJson.require-dev or {}))
|
||||
@ -281,6 +281,8 @@ in {
|
||||
if rawObj.source.type == "path"
|
||||
then {
|
||||
inherit (rawObj.source) type path;
|
||||
rootName = null;
|
||||
rootVersion = null;
|
||||
}
|
||||
else {
|
||||
inherit (rawObj.source) type url;
|
||||
|
Loading…
Reference in New Issue
Block a user