With this you can run the webserver using nix run ., but you'll need to specify the config path (unlike with cargo run), so make sure to pass it like this: nix run . -- -c fission-server/config/settings.toml or wherever your settings file resides.
This also changed the environment variable prefix used from APP to FISSION_SERVER, so e.g. you can set the path to the config file like this, too: FISSION_SERVER__CONFIG_PATH="fission-server/config/settings.toml" nix run ..
With this you can run the webserver using
nix run .
, but you'll need to specify the config path (unlike withcargo run
), so make sure to pass it like this:nix run . -- -c fission-server/config/settings.toml
or wherever your settings file resides.This also changed the environment variable prefix used from
APP
toFISSION_SERVER
, so e.g. you can set the path to the config file like this, too:FISSION_SERVER__CONFIG_PATH="fission-server/config/settings.toml" nix run .
.