elan: use buildFeatures

This commit is contained in:
figsoda 2021-11-15 19:08:39 -05:00
parent cc0e233801
commit 2448ef4630

View file

@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ curl zlib openssl ]
++ lib.optional stdenv.isDarwin libiconv;
cargoBuildFlags = [ "--features no-self-update" ];
buildFeatures = [ "no-self-update" ];
patches = lib.optionals stdenv.isLinux [
# Run patchelf on the downloaded binaries.