From a3bc7ea1e397be43baa7a8279814c027a8908655 Mon Sep 17 00:00:00 2001 From: tobias pflug Date: Mon, 14 Oct 2019 17:37:49 +0200 Subject: [PATCH] Fix Cargo.nix This is related to https://github.com/kolloch/crate2nix/issues/18 --- Cargo.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.nix b/Cargo.nix index f50d3db..1486b57 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -1015,10 +1015,7 @@ rec { "cfg-if" = "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)"; "crc32fast" = "crc32fast 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)"; "libc" = "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)"; - "miniz_oxide" = { - packageId = "miniz_oxide 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)"; - target = ((target."arch" == "wasm32") && (!(target."os" == "emscripten"))); - }; + "miniz_oxide" = "miniz_oxide 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)"; }; features = { "default" = [ "rust_backend" ];