https://linen.dev logo
auth/preparare.sh not found when trying to run shu...
# help
l
As above, I get a missing auth/prepare.sh file when running
make images
when following the contributing page instructions. 1. How do I fix this? 2. Does it need to be added to the contributing.md or automated?
k
Ah yes, we have fixed that in a PR but it's not merged yet, but you can just add a auth/prepare.sh file like this:
Also, hi John! It doesn't really need to be added to contributing.md, no. But we are looking into improving contributing.md, so if you experience any other issues with getting local development started it would be great if you could add that to this thread or the contributors channel. 🙏
l
Yeah, I tried adding it after I posted the above and all worked, just wanted to check it wasn't missed and adding a hurdle to contributing. thanks!
To follow on from this, I'm now getting the following error on NixOs when running nything with
cargo run --bin cargo-shuttle
. I assume it's my machine that's the problem. Maybe you have a config I can copy to get this working @stocky-kangaroo-53672 ? Installing openssl / pkg-config alone doesn't seem to fix it.
run pkg_config fail: "\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\" did not exit successfully: exit status: 1\nerror: could not find system library 'openssl' required by the 'openssl-sys' crate\n\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing openssl.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'openssl' found\n"
a
don't know if this will fix your issue, but I fixed the openssl thing by installing
libssl-dev
- works for ubuntu but not sure ab nixos
k
It's strange that it can't find openssl when it's included in the nix config 🤔
l
Yeah, I thought the same. openssl works on the commandline. I'm sure it's something simple. I can't find a -dev version on nix
k
I have no experience with nix, but did you try this?
l
Yeah I'd seen that but couldn't find any reference to buildInputs mentioned a nd wondered if it was an old deprecated config or something. I'll give it a proper go later today.
Managed to figure it out, it was my inexperience with NixOs I think and me missing the shell.nix in the repo. All working again now 🎊
k
Nice! 🥳