uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,50 @@
|
|||
{ lib, ... }:
|
||||
{ options = {
|
||||
server = lib.mkOption {
|
||||
type =
|
||||
lib.types.either
|
||||
(lib.types.submodule (import ./server-options.nix))
|
||||
(lib.types.path);
|
||||
example = {
|
||||
host = "127.0.0.1";
|
||||
port = 8888;
|
||||
};
|
||||
default = {
|
||||
host = "127.0.0.1";
|
||||
port = 80;
|
||||
};
|
||||
description = ''
|
||||
Backend server location specified as either a host:port pair
|
||||
or a unix domain docket.
|
||||
'';
|
||||
};
|
||||
|
||||
patterns = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
example = [
|
||||
"*.host.net/v1/"
|
||||
"host.org/v2/mypath"
|
||||
"/somepath"
|
||||
];
|
||||
default = [];
|
||||
description = ''
|
||||
List of nghttpx backend patterns.
|
||||
|
||||
Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-b
|
||||
for more information on the pattern syntax and nghttpxs behavior.
|
||||
'';
|
||||
};
|
||||
|
||||
params = lib.mkOption {
|
||||
type = lib.types.nullOr (lib.types.submodule (import ./backend-params-submodule.nix));
|
||||
example = {
|
||||
proto = "h2";
|
||||
tls = true;
|
||||
};
|
||||
default = null;
|
||||
description = ''
|
||||
Parameters to configure a backend.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue