diff options
| author | ajs124 <git@ajs124.de> | 2024-01-26 12:33:48 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-01-28 12:25:23 +0000 |
| commit | 75ff2c1944385432f118feb33ba9ef4f5c0ed92e (patch) | |
| tree | e2990bb6f3f4c0bdf26f4e5348855127c60b3870 | |
| parent | glabels: add support for QR codes (diff) | |
| download | nixpkgs-origin/backport-283982-to-release-23.11.tar.gz | |
ruby-modules/gem-config: make prometheus-client-mmap not have a rustc runtime dependencyorigin/backport-283982-to-release-23.11
(cherry picked from commit aceb9c97d7d5f1a9dd86e2d38f256f62f17028d0)
| -rw-r--r-- | pkgs/development/ruby-modules/gem-config/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 97715659be0d..12b795238891 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -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: { |
