Merge pull request #20113 from johbo/ruby-scrypt-darwin

Adjust ruby gem defaults for scrypt on darwin

authored by Graham Christensen and committed by GitHub 5cc4f504 f38955dd

+8 -1
+8 -1
pkgs/development/ruby-modules/gem-config/default.nix
··· 156 156 buildInputs = [ cmake pkgconfig openssl libssh2 zlib ]; 157 157 }; 158 158 159 + scrypt = attrs: 160 + if stdenv.isDarwin then { 161 + dontBuild = false; 162 + postPatch = '' 163 + sed -i -e "s/-arch i386//" Rakefile ext/scrypt/Rakefile 164 + ''; 165 + } else {}; 166 + 159 167 snappy = attrs: { 160 168 buildInputs = [ args.snappy ]; 161 169 }; ··· 220 228 }; 221 229 222 230 } 223 -