You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I need to compile my project using an older nixpkgs (23.05). The issue I'm facing is that it tries to compile crane-utils using nix rustPlatform which uses Cargo 1.69 but the minimum required version to compile crane-utils is 1.70.
I haven't figured out how to override the rustPlatform used to build crane-utils. If I override crane-utils in an overlay it's not used by crane anyway.
In the mean time you can get unblocked by either using crane-0.15.1 or using the 23.11 release branch. 23.05 is EOL and we dropped support for it in crane-0.16.0
ipetkov
changed the title
Override rustPlatform used to compile crane-utils
Not possible to override crane-utils or its dependencies
Mar 19, 2024
Thank you, unfortunately I have to target 23.05 to link against a version of GLIBC older than the one included in Ubuntu 22.04 LTS. But I also understand it's a niche use case so feel free to close the issue if it's not worth supporting!
Hello, I need to compile my project using an older
nixpkgs
(23.05). The issue I'm facing is that it tries to compilecrane-utils
using nixrustPlatform
which uses Cargo 1.69 but the minimum required version to compilecrane-utils
is 1.70.I haven't figured out how to override the
rustPlatform
used to buildcrane-utils
. If I overridecrane-utils
in an overlay it's not used by crane anyway.I made a minimal repository to reproduce the issue here
The text was updated successfully, but these errors were encountered: