rust 1.41: Fix build with no_std only target

See https://github.com/rust-lang/rust/pull/69381
This commit is contained in:
John Ericson
2020-02-22 18:34:05 -05:00
parent c1a16501c4
commit 0b0e691833
3 changed files with 25 additions and 0 deletions
@@ -7,6 +7,7 @@
, enableRustcDev ? true
, version
, sha256
, patches ? []
}:
let
@@ -104,6 +105,8 @@ in stdenv.mkDerivation rec {
# the rust build system complains that nix alters the checksums
dontFixLibtool = true;
inherit patches;
postPatch = ''
patchShebangs src/etc