Merge pull request #283982 from helsinki-systems/fix/ruby-prometheus-client-mmap-rustc-dep
ruby-modules/gem-config: make prometheus-client-mmap not have a rustc runtime dependency
This commit is contained in:
commit
05a261d110
@ -320,10 +320,16 @@ in
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
disallowedReferences = [
|
||||
rustc.unwrapped
|
||||
];
|
||||
preBuild = ''
|
||||
cat ../.cargo/config > ext/fast_mmaped_file_rs/.cargo/config.toml
|
||||
sed -i "s|cargo-vendor-dir|$PWD/../cargo-vendor-dir|" ext/fast_mmaped_file_rs/.cargo/config.toml
|
||||
'';
|
||||
postInstall = ''
|
||||
find $out -type f -name .rustc_info.json -delete
|
||||
'';
|
||||
};
|
||||
|
||||
glib2 = attrs: {
|
||||
|
Loading…
Reference in New Issue
Block a user