Merge: linuxManualConfig: reinstate Rust (#436245)

Changed files
+6 -4
pkgs
os-specific
linux
+6 -4
pkgs/os-specific/linux/kernel/manual-config.nix
···
rust-bindgen-unwrapped
];
-
RUST_LIB_SRC = lib.optionalString withRust rustPlatform.rustLibSrc;
+
env = {
+
RUST_LIB_SRC = lib.optionalString withRust rustPlatform.rustLibSrc;
-
# avoid leaking Rust source file names into the final binary, which adds
-
# a false dependency on rust-lib-src on targets with uncompressed kernels
-
KRUSTFLAGS = lib.optionalString withRust "--remap-path-prefix ${rustPlatform.rustLibSrc}=/";
+
# avoid leaking Rust source file names into the final binary, which adds
+
# a false dependency on rust-lib-src on targets with uncompressed kernels
+
KRUSTFLAGS = lib.optionalString withRust "--remap-path-prefix ${rustPlatform.rustLibSrc}=/";
+
};
patches =
# kernelPatches can contain config changes and no actual patch