diff --git a/shell.nix b/shell.nix index abdf49d..0d455b1 100644 --- a/shell.nix +++ b/shell.nix @@ -15,6 +15,7 @@ pkgs.mkShell rec { mpfr texinfo isl + zlib ]; RUSTC_VERSION = "nightly"; # Required for some experimental cargo features hardeningDisable = [ "all" ]; # Required to compile gcc @@ -25,7 +26,7 @@ pkgs.mkShell rec { export PATH=$PATH:''${CARGO_HOME:-~/.cargo}/bin export PATH=$PATH:''${RUSTUP_HOME:-~/.rustup}/toolchains/nightly-x86_64-unknown-linux-gnu/bin/ export PATH="$PATH:$PWD/opt/bin" - ./build-cross-compiler.sh + NIX_ENFORCE_PURITY=0 ./build-cross-compiler.sh # Stupid fucking shit hack ''; # Add glibc, clang, glib, and other headers to bindgen search path BINDGEN_EXTRA_CLANG_ARGS =