Skip to content

No 'processes' option defined: https://devenv.sh/processes/ #1627

@i-am-logger

Description

@i-am-logger

Describe the bug
using flake with multiple devenv as follow

      devShells = forEachSystem (
        system:
        let
          pkgs = inputs.nixpkgs.legacyPackages.${system};
        in
        {
          default = import ./devnv.nix {
            inherit inputs pkgs system;
          };
          api = import ./api/devenv.nix {
            inherit inputs pkgs system;
          };
          ui = import ./ui/devenv.nix {
            inherit inputs pkgs system;
          };
        }
      );

then running the following:

nix develop --no-pure-eval .#api -> this works and i get the `api` env

when I then try to

devenv up #api

I get the following error:

No 'processes' option defined: https://devenv.sh/processes/

which is weird as the ./api/devenv.nix has postgress service and cargo watch process

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingflakesRelated to running devenv using the flake integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions