mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-13 11:03:37 +03:00
php: composer-json inherit composer-lock options
This commit is contained in:
parent
41cae45d06
commit
4ffc15d664
@ -88,16 +88,6 @@ in {
|
|||||||
${subsystems.php.translators.composer-lock.translateBin} $TMPDIR/newJsonInput
|
${subsystems.php.translators.composer-lock.translateBin} $TMPDIR/newJsonInput
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# If the translator requires additional arguments, specify them here.
|
# inherit options from composer-lock translator
|
||||||
# When users run the CLI, they will be asked to specify these arguments.
|
extraArgs = dlib.translators.translators.php.composer-lock.extraArgs;
|
||||||
# There are only two types of arguments:
|
|
||||||
# - string argument (type = "argument")
|
|
||||||
# - boolean flag (type = "flag")
|
|
||||||
# String arguments contain a default value and examples. Flags do not.
|
|
||||||
extraArgs = {
|
|
||||||
noDev = {
|
|
||||||
description = "Exclude development dependencies";
|
|
||||||
type = "flag";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user