-
Hello, First of all, thanks for this great tool, which makes it easy to package a Rust project with Nix 🙂 The current version of Nix in the latest stable release of NixOS is 2.3
Using this version of Nix, the build fails
I setup a test project to play with it, you can try in your browser with the button below I would like to have backward compatibility support Without updating Nix from 2.3 to the latest version, how can I fix this error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Why do you need to use an old Nix version? |
Beta Was this translation helpful? Give feedback.
-
I haven't updated Nix on the whole system, so I guess other people haven't either i will try with |
Beta Was this translation helpful? Give feedback.
Why do you need to use an old Nix version?
nci
won't really work with a Nix version that old, at least I would recommend 2.4 or above. If you don't want to update your system Nix version, you can also try entering a shell withnix-shell -p nixUnstable
and use it like that, and it should work.