Closed Vonfry closed 4 years ago
We just want to keep things simple. Our target users are ordinary people, not all programmers. So we don't want to add complexity.
Right, just advice. I can make a patch for myself to let it run.
well, you can commit a PR, and add a cmake parameter in the same time in install.sh file.
Please answer these questions before submitting your issue. Thanks!
What version of shadowsocks-native are you using?
HEAD
What operating system are you using?
NixOS
What did you do?
write a nix expression to build it on nixos
What did you expect to see?
build success
What did you see instead?
error when installing.
The reason is in the CMakeLists.txt, e.g. https://github.com/ShadowsocksR-Live/shadowsocksr-native/blob/master/src/CMakeLists.txt#L241-L245. It codes
install
with absolute path, which makeCMAKE_INSTALL_PREFIX
not working. I suggest change it to a relative path, make the install phase more compatible.