mirror of
https://github.com/Platonic-Systems/process-compose-flake.git
synced 2024-09-11 14:07:00 +03:00
Run nixpkgs-fmt
This commit is contained in:
parent
0d8b40edfa
commit
4b117924f4
@ -2,7 +2,7 @@
|
||||
outputs = _: {
|
||||
flakeModule = ./nix/flake-module.nix;
|
||||
|
||||
templates.default = {
|
||||
templates.default = {
|
||||
description = "Example flake using process-compose-flake";
|
||||
path = builtins.path { path = ./example; filter = path: _: baseNameOf path == "flake.nix"; };
|
||||
};
|
||||
|
@ -5,8 +5,8 @@ lib.mkOption (args // {
|
||||
type = lib.types.either lib.types.package lib.types.str;
|
||||
apply = pkg:
|
||||
if builtins.isString pkg
|
||||
# process-compose is unreliable in handling environment variable, so let's
|
||||
# wrap it in a bash script.
|
||||
then lib.getExe (pkgs.writeShellApplication { inherit name; text = pkg; })
|
||||
else lib.getExe pkg;
|
||||
# process-compose is unreliable in handling environment variable, so let's
|
||||
# wrap it in a bash script.
|
||||
then lib.getExe (pkgs.writeShellApplication { inherit name; text = pkg; })
|
||||
else lib.getExe pkg;
|
||||
})
|
||||
|
@ -8,7 +8,7 @@ lib.mkOption {
|
||||
nullOr
|
||||
(either (listOf str) (attrsOf str));
|
||||
default = null;
|
||||
example = { ABC="2221"; PRINT_ERR="111"; };
|
||||
example = { ABC = "2221"; PRINT_ERR = "111"; };
|
||||
description = ''
|
||||
Attrset of environment variables.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user