diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-01-06 22:59:57 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-01-09 15:54:59 +0000 |
commit | 163618988f89a64ece3d7d17ef8cc50fa55a357d (patch) | |
tree | 1b58b9357ed526bbd681c03e67497c3a03e05d04 | |
parent | ec8293fbfe9288720f2096c47b80c3509750869e (diff) | |
download | nixlib-163618988f89a64ece3d7d17ef8cc50fa55a357d.tar nixlib-163618988f89a64ece3d7d17ef8cc50fa55a357d.tar.gz nixlib-163618988f89a64ece3d7d17ef8cc50fa55a357d.tar.bz2 nixlib-163618988f89a64ece3d7d17ef8cc50fa55a357d.tar.lz nixlib-163618988f89a64ece3d7d17ef8cc50fa55a357d.tar.xz nixlib-163618988f89a64ece3d7d17ef8cc50fa55a357d.tar.zst nixlib-163618988f89a64ece3d7d17ef8cc50fa55a357d.zip |
ruby: remove references to CC by default
This makes RbConfig["CC"] return an invalid path, but I hope nothing is depending on that anyway...
-rw-r--r-- | pkgs/development/interpreters/ruby/default.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix index 58ccf5ae9b41..8b8e7ccc8bb0 100644 --- a/pkgs/development/interpreters/ruby/default.nix +++ b/pkgs/development/interpreters/ruby/default.nix @@ -49,7 +49,7 @@ let # puts a reference to the C compiler in the binary. # This might be required by some gems at runtime, # but we allow to strip it out for smaller closure size. - , removeReferencesTo, removeReferenceToCC ? false + , removeReferencesTo, removeReferenceToCC ? true , autoreconfHook, bison, autoconf , buildEnv, bundler, bundix , libiconv, libobjc, libunwind, Foundation diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6f7011fc8741..a28d39feaec2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9409,8 +9409,6 @@ in docSupport = false; yamlSupport = false; fiddleSupport = false; - # remove gcc from runtime closure - removeReferenceToCC = true; }; ruby = ruby_2_6; |