Merge pull request #80843 from obsidiansystems/rust-no-std
rust 1.41: Fix build with no_std only target
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user