Open CoderThomasB opened 1 month ago
Did you try with the actual mealie module? (services.mealie.enable = true;
)?
Did you try with the actual mealie module? (
services.mealie.enable = true;
)?
No, I ran it directly from the terminal using nix-shell -p mealie --run mealie
. If it isn't intended to be run from a terminal, should I close this issue?
Yeah if there's a nixos module for something you generally want to use it, but if you still have the same error with the module then keeping the issue open makes sense.
@CoderThomasB mealie
was made for service inside a docker container. We had to patch the sources in order to change the data dir based on some env vars.
So you'll need to setup environment variables like what is done on the module (See https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/web-apps/mealie.nix#L58)
@eclairevoyant Do you think a specific description (or maybe just a comment) in the package should be done ? Or should I just close this issue as "not a bug" ?
Describe the bug
When the
mealie
application is run from within a nix-shell, it crashes, complaining that it can't access/app/data
Steps To Reproduce
Steps to reproduce the behaviour:
nix-shell -p mealie --run mealie
Expected behaviour
Either
mealie
starts up without an error, or an explanation on how to run the application correctly is provided in the package description or printed on start up.Screenshots/Output
Additional context
It's possible that
mealie
was intended to be run from within a specialised environment, if so this would not be a bug, but if this were the case, It should probably be that either in the package description or somewhere else this be noted.Notify maintainers
@litchipi
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.