diff options
author | Profpatsch <mail@profpatsch.de> | 2019-12-12 16:46:04 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2019-12-25 13:59:42 +0100 |
commit | 7d4c1ae7f11b72ced45fb686fa21a9c9ae1e0588 (patch) | |
tree | da987cc06a11795454b8f6482862105d3a5ef03b /pkgs/development/interpreters | |
parent | 80c07f8aafc03a157c43438fe97079815a2bdcdb (diff) | |
download | nixpkgs-7d4c1ae7f11b72ced45fb686fa21a9c9ae1e0588.tar nixpkgs-7d4c1ae7f11b72ced45fb686fa21a9c9ae1e0588.tar.gz nixpkgs-7d4c1ae7f11b72ced45fb686fa21a9c9ae1e0588.tar.bz2 nixpkgs-7d4c1ae7f11b72ced45fb686fa21a9c9ae1e0588.tar.lz nixpkgs-7d4c1ae7f11b72ced45fb686fa21a9c9ae1e0588.tar.xz nixpkgs-7d4c1ae7f11b72ced45fb686fa21a9c9ae1e0588.tar.zst nixpkgs-7d4c1ae7f11b72ced45fb686fa21a9c9ae1e0588.zip |
rubyMinimal: ruby with all options disabled by default
Similar to `gitMinimal` or `pythonMinimal`, this is useful for scripts which don’t use anything but the standard library and want a small footprint.
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/ruby/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix index ab25b4e189a..98e26a223b2 100644 --- a/pkgs/development/interpreters/ruby/default.nix +++ b/pkgs/development/interpreters/ruby/default.nix @@ -149,14 +149,14 @@ let postInstall = '' # Remove unnecessary groff reference from runtime closure, since it's big sed -i '/NROFF/d' $out/lib/ruby/*/*/rbconfig.rb - - ${lib.optionalString removeReferenceToCC '' + ${ + lib.optionalString removeReferenceToCC '' # Get rid of the CC runtime dependency ${removeReferencesTo}/bin/remove-references-to \ -t ${stdenv.cc} \ - $out/lib/libruby.so.* - ''} - + $out/lib/libruby* + '' + } # Bundler tries to create this directory mkdir -p $out/nix-support cat > $out/nix-support/setup-hook <<EOF |