Commit graph

494 commits

Author SHA1 Message Date
Artturin 3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Stanisław Pitucha 33ed801e73 rubyPackages.eventmachine: fix darwin build
This fixes the build of mailcatcher (and maybe others).

Fixes:
```
em.cpp:1232:40: error: invalid operands to binary expression ('__bind<int &, sockaddr *&, int &>' and 'int')
                if (bind (sd, bind_to, bind_to_size) < 0) {
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
```
Where `bind` is treated as `std::bind` rather than `::bind` in newer C++
standards.
2023-02-18 00:14:45 +11:00
Anderson Torres 5de7f7d465
Merge pull request #216143 from Julow/ruby-unremove-mail
rubyPackages: Unremove `mail`
2023-02-14 22:48:38 -03:00
Felix Buehler cdb39a86e0 treewide: use optionalString 2023-02-13 21:52:34 +01:00
Jules Aguillon 6965ac6cce rubyPackages.mail: init at 2.8.1
The `mail` gem has been removed in 3b953b5a69 because it was only a
dependency of the gem `rails` which has been commented out.
2023-02-13 19:19:09 +01:00
Anthony Roussel 6998035ed5
bundler: 2.4.5 -> 2.4.6 2023-01-31 22:01:14 +01:00
Stephen Checkoway cd7476bac9 psych: add libyaml as build input
Starting with version 5, psych no longer bundles libyaml
(https://github.com/ruby/psych/releases/tag/v5.0.0) and the psych gem
cannot be built.

This adds libyaml as a build input.
2023-01-28 17:38:32 -05:00
Anthony Roussel 5b5ace4f17
bundler: 2.4.4 -> 2.4.5 2023-01-23 04:36:02 +01:00
Nick Cao 332740a9a7
Merge pull request #211762 from superherointj/mark-broken-rubyPackages.libv8
rubyPackages.libv8: mark broken
2023-01-23 09:22:03 +08:00
Mario Rodas 473a4f5b2e
Merge pull request #211820 from anthonyroussel/bundler_2_4_4
bundler: 2.4.3 -> 2.4.4
2023-01-22 09:25:52 -05:00
Yureka 9f05e44db6
buildRubyGem: don't use the bash 'type' variable name (#211899)
https://github.com/NixOS/nixpkgs/issues/211671

There is also a fix with an stdenv rebuild in staging, but we don't want to wait so long...
2023-01-21 16:43:07 +01:00
Anthony Roussel e1729f54e3
bundler: 2.4.3 -> 2.4.4 2023-01-20 21:43:14 +01:00
superherointj 82d7d64d3a rubyPackages.libv8: mark broken 2023-01-20 09:23:52 -03:00
Anthony Roussel 09864251a2
bundler: 2.4.2 -> 2.4.3 2023-01-06 22:59:58 +01:00
Anthony Roussel 0067737a8b
bundler: 2.3.26 -> 2.4.2 2023-01-02 14:43:58 +01:00
figsoda ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
Martin Weinelt fe8eef1ae4 Merge remote-tracking branch 'origin/master' into staging-next 2022-12-04 22:06:42 +01:00
Jan Tojnar 42a68e6a36 bundlerUpdateScript: Fix evaluation with allowAliases = false
Reverts 38ffd641e0
2022-12-03 23:40:32 +01:00
github-actions[bot] aff62e907a
Merge master into staging-next 2022-11-30 06:01:30 +00:00
sternenseemann 38ffd641e0 bundlerUpdateScript: use Nix 2.3
The script assumes that nix(1) can be used without any flags which
is no longer the case. We can easily use Nix 2.3 as a workaround
until someone else musters the willpower to adjust this script for
Nix 2.11.
2022-11-29 23:25:42 +01:00
github-actions[bot] f1f9569cde
Merge staging-next into staging 2022-11-27 00:03:04 +00:00
Robert Schütz 1710b52c6e rubyPackages.libv8: use python3 2022-11-25 20:03:33 -08:00
Anthony Roussel 86b196f155
bundler: add meta.changelog 2022-11-17 22:06:22 +01:00
Anthony Roussel 11563bf92f
bundler: 2.3.25 -> 2.3.26 2022-11-17 22:06:20 +01:00
Victor Engmark 6ac6beaf83 jekyll-webmention_io: init at 3.3.6 2022-11-11 16:56:55 +13:00
Anthony Roussel 84ef2aad5d
bundler: 2.3.24 -> 2.3.25 2022-11-06 10:57:04 +01:00
Victor Engmark 13736965d8 jekyll-favicon: init at 1.1.0
Closes #198542.
2022-10-30 20:14:41 +13:00
github-actions[bot] 142c743774
Merge master into staging-next 2022-10-29 06:01:19 +00:00
Stef Dunlap 76af23cc82 rubyPackages.git: init at 1.12.0
Source https://rubygems.org/gems/git/versions/1.12.0
2022-10-26 10:23:12 -04:00
github-actions[bot] d079720429
Merge staging-next into staging 2022-10-22 12:01:58 +00:00
github-actions[bot] 71e4896d63
Merge master into staging-next 2022-10-22 12:01:25 +00:00
Anthony Roussel 5ef2aa2f6d
bundler: 2.3.23 -> 2.3.24 2022-10-19 23:41:24 +02:00
Timothy Stott 7f3b2bc060 rubyPackages.tty-command: init at 0.10.1 2022-10-17 20:11:19 +01:00
Timothy Stott 9436763c56 rubyPackages.tty-option: init at 0.2.0 2022-10-17 20:11:18 +01:00
github-actions[bot] 3834216ec6
Merge master into staging-next 2022-10-17 18:10:17 +00:00
Stanisław Pitucha aceb5cd69e rubyPackages.grpc: fix darwin build 2022-10-17 22:44:37 +11:00
Martin Weinelt 5c51f3d548
Merge pull request #195245 from ncfavier/weechat-docs 2022-10-13 23:11:25 +02:00
Vladimír Čunát 00a757ed3f
Merge branch 'master' into staging 2022-10-13 08:27:55 +02:00
Vladimír Čunát 81e445e508
rubyPackages.*: satisfy pcre* requirements in GTK stack
Some of them want both versions.  Suspicious but OK I guess.
2022-10-12 18:33:04 +02:00
Naïm Favier d26276e725
weechat: re-enable docs
The doc build was failing because of an unpatched `/usr/bin/env` shebang
in the `pygments.rb` gem, and weechat uses asciidoctor with the pygments
highlighter. Adding `python3` to `pygments.rb`'s `buildInputs` fixes it.
2022-10-11 11:09:52 +02:00
github-actions[bot] cdfb8a30a4
Merge staging-next into staging 2022-10-08 12:02:12 +00:00
Vladimír Čunát 6565abc264
Merge branch 'master' into staging-next 2022-10-08 10:20:07 +02:00
Mario Rodas bff095ca21
Merge pull request #185702 from ilkecan/rubyPackages-set-meta-mainProgram
rubyPackages: set meta.mainProgram
2022-10-06 22:14:04 -05:00
Mario Rodas 7a2dd2ecf9
Merge pull request #192860 from raboof/ruby-move-towards-3.1
ruby: move towards 3.1
2022-10-06 21:16:44 -05:00
Arnout Engelen c5e2f3c066
ruby: move towards ruby 3
Currently, `pkgs.ruby` is ruby 2.7.6, which is in 'security updates
only' mode and scheduled to go EOL April 2023. Updating `pkgs.ruby`
to be ruby 3.1 would be a rather large change, but using ruby 3 to
bootstrap building ruby itself would be a nice first step in that
direction.

Tested with asciidoctor that this indeed now allows building a ruby
application without getting ruby 2.7 in the build closure.

Also fixes #192729
2022-10-06 17:09:38 +02:00
Anthony Roussel 82d5854fcc
bundler: 2.3.22 -> 2.3.23 2022-10-06 16:41:41 +02:00
Artturin 0734f54ef2 treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
github-actions[bot] 9130789e80
Merge staging-next into staging 2022-09-13 06:24:05 +00:00
Mario Rodas 7cd86e7b9a
Merge pull request #190859 from viraptor/sqlite-simplify
rubyPackages.sqlite3: simplify build flags
2022-09-13 00:36:36 -05:00