mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
fix: php: composer-lock default package name
This commit is contained in:
parent
3bd99ac47d
commit
565ae93893
@ -257,7 +257,7 @@ in {
|
||||
};
|
||||
|
||||
# name of the default package
|
||||
defaultPackage = composerJson.name;
|
||||
defaultPackage = composerJson.name or "unknown";
|
||||
|
||||
/*
|
||||
List the package candidates which should be exposed to the user.
|
||||
@ -287,7 +287,7 @@ in {
|
||||
(
|
||||
if noDev
|
||||
then {}
|
||||
else composerJson.require-dev
|
||||
else composerJson.require-dev or {}
|
||||
)
|
||||
// composerJson.require;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user