I made some backend using Stack.
My Stack project succeeds when I do stack build --nix and it seems to create a nix package in local project cache directory in which executable is built. (.stack-work/install/x86_64-osx-<some sha1>)
How can I cache it on Cachix? Cachix docs says do nix-build | cachix push but I can't because I'm using stack build instead.
FYI my ultimate goal is to run it on AWS and deliver the package via Cachix.