Closed walkah closed 10 months ago
Merging #202 (8f34d60) into main (652c373) will increase coverage by
0.69%
. The diff coverage isn/a
.
I've tried running the resulting server binary at ./result/bin/fission-server-app, but it fails finding the settings:
I'm getting this, too. I even get it when running it from a directory that contains that file, since it's looking for a nix path.
I wonder if it makes sense to have it fall back through defaults, then check the current dir.
And the
CARGO_MANIFEST_DIR
env variable is inserted at compile-time. So we need to fix that. How would you prefer the config path to be provided @walkah?
I'd say a -c / --config <PATH>
would be a great start. I can do plenty from there :)
And also yay, first contribution to fission-server I think? 🙌
Indeed! 🎉
Description
This PR adds a
packages.default
section toflake.nix
for building fission server as a nix package. I've also bumped the nix version to 23.11 (from 23.05).Type of change
Test plan (required)
You should be able to run
nix build .
and have the resulting binaries in./result/bin