Why is the .replit env setup not working:
[env]
CURL_PATH = "$(nix eval nixpkgs.curl.out.outPath | cut -d '\"' -f 2)"
I just does not run the stuff inside the $(). I also tried export onBoot and it did not work either.
Why is the .replit env setup not working:
[env]
CURL_PATH = "$(nix eval nixpkgs.curl.out.outPath | cut -d '\"' -f 2)"
I just does not run the stuff inside the $(). I also tried export onBoot and it did not work either.
Add/change the replit.nix
file, before the }
:
env = {
CURL_PATH = pkgs.curl;
};
I wish there was Docs for replit.nix somewhere. Also, curl.dev does not have the required files, so it would be wrong in this case.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.