summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/gem-config/default.nix
diff options
context:
space:
mode:
authorLily Ballard <lily@sb.org>2019-09-14 03:17:05 -0700
committerzimbatm <zimbatm@zimbatm.com>2019-09-14 10:17:05 +0000
commita5d5133e9c7ad37b161ecde4d96f6beb80a0d5f5 (patch)
tree566266de46680c3abd852c562da709862b760c63 /pkgs/development/ruby-modules/gem-config/default.nix
parentaaf514d32251b075d987488345226d55e2f5bc94 (diff)
downloadnixpkgs-a5d5133e9c7ad37b161ecde4d96f6beb80a0d5f5.tar
nixpkgs-a5d5133e9c7ad37b161ecde4d96f6beb80a0d5f5.tar.gz
nixpkgs-a5d5133e9c7ad37b161ecde4d96f6beb80a0d5f5.tar.bz2
nixpkgs-a5d5133e9c7ad37b161ecde4d96f6beb80a0d5f5.tar.lz
nixpkgs-a5d5133e9c7ad37b161ecde4d96f6beb80a0d5f5.tar.xz
nixpkgs-a5d5133e9c7ad37b161ecde4d96f6beb80a0d5f5.tar.zst
nixpkgs-a5d5133e9c7ad37b161ecde4d96f6beb80a0d5f5.zip
jazzy: 0.10.0 -> 0.11.0 (#68766)
* gem-config: fix sassc on darwin

By default the sassc gem compiles with LTO, but LTO is currently broken
on darwin.

* jazzy: 0.10.0 -> 0.11.0
Diffstat (limited to 'pkgs/development/ruby-modules/gem-config/default.nix')
-rw-r--r--pkgs/development/ruby-modules/gem-config/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix
index e9f57d2b85f..a03e40e8097 100644
--- a/pkgs/development/ruby-modules/gem-config/default.nix
+++ b/pkgs/development/ruby-modules/gem-config/default.nix
@@ -507,7 +507,10 @@ in
       substituteInPlace lib/sassc/native.rb \
         --replace 'gem_root = spec.gem_dir' 'gem_root = File.join(__dir__, "../../")'
     '';
-  };
+  } // (if stdenv.isDarwin then {
+    # https://github.com/NixOS/nixpkgs/issues/19098
+    buildFlags = "--disable-lto";
+  } else {});
 
   scrypt = attrs:
     if stdenv.isDarwin then {