summaryrefslogtreecommitdiff
path: root/pkgs/development/ruby-modules/bundler-app
AgeCommit message (Collapse)Author
2026-02-06bundlerApp: add support for pnamejopejoe1
2025-11-26bundlerApp: compress man pages (#419503)Doron Behar
2025-11-25bundlerApp: compress man pagesAnton Mosich
2025-07-24treewide: run nixfmt 1.0.0Wolfgang Walther
2025-02-24treewide: fix typos in commentsPeder Bergebakken Sundt
Made with ```shell git restore . fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF" typos --no-check-filenames --write-changes "$1" git diff --exit-code "$1" && exit #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1" count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )" count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )" [[ $count1 -ne $count2 ]] && git restore "$1" EOF )" -- {} ``` and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch` I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2024-12-10treewide: format all inactive Nix filesSilvan Mosberger
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev 78e9caf153f5a339bf1d4c000ff6f0a503a369c8 result/bin/apply-formatting $NIXPKGS_PATH
2024-11-15bundler-{app,env}: expose pname and version in derivationjopejoe1
2023-06-15nixos/ruby-modules: proper treatment to ruby modules of type git/urlAnimesh Sahu
2022-10-06ruby: move towards ruby 3Arnout Engelen
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-07-26Merge master into staging-nextgithub-actions[bot]
2022-07-25bundlerApp: set meta.mainProgramSandro
2022-07-14bundlerApp: put makeWrapper in nativeBuildInputsArtturin
fixes cross 'error: attribute 'runtimeShell' missing'
2022-03-19treewide/makeWrapper: replace `--run cd` with `--chdir`Naïm Favier
Lay the groundwork for switching to binary wrappers by reducing uses of `--run` (which is not supported by `makeBinaryWrapper`).
2021-01-25treewide: remove stdenv where not neededPavol Rusnak
2020-04-03bundler: 1.17.3 -> 2.1.4Michael Fellinger
2019-09-13bundlerApp: avoid unecessary rebuilds when gemdir changeszimbatm
Because the gemdir was referenced on the derivation, it would cause the whole gemdir to get added to the store, which would in turn force the derivation to be rebuilt whenever unrelated folder files would change.
2019-08-25Merge pull request #65370 from Ma27/package-3lloworldofpeace
_3llo: init at 0.3.0
2019-08-19ruby/bundlerApp: ignore `gemset` in env attribute setMaximilian Bosch
The `gemset` field can be an attribute set as well in `buildRubyGem`, however attribute sets can't be coerced to strings for the environment set. The impact should be relatively small as the environment variables are only used by the `runCommand` script for `bunlderApp` which doesn't refer to `gemset` at all.
2019-08-01bundlerApp: meta.platforms defaults to platforms of ruby dependency (#65697)Nick Novitski
2019-06-10bundlerApp: Set up passthru properlyLily Ballard
The manual documents both bundlerEnv and bundlerApp as providing `env` and `wrappedRuby` attributes on the resulting derivations. However only bundlerEnv actually had these attributes. Update bundlerApp to provide the same passthru that bundlerEnv does.
2019-04-30bundlerApp: don't execute postBuild twiceMichael Fellinger
2019-04-10Make gemdir optional for bundlerAppLily Ballard
Like `bundlerEnv`, the `gemdir` parameter to `bundlerApp` can be omitted if all 3 of `gemfile`, `lockfile`, and `gemset` are provided.
2018-11-28xcpretty: init at 0.3.0 (#48494)Nick Novitski
2018-10-29bundlerApp: take buildInputs (#45435)Alyssa Ross
It would be reasonable to have a Ruby program that depends on some other program being in the PATH. In this case, the obvious thing to do would be something like this: bundlerApp { # ... buildInputs = [ makeWrapper ]; postBuild = '' wrapProgram "$out/bin/foo" \ --prefix PATH : ${lib.makeBinPath [ dep ]} ''; } However, this doesn't work, because even though it just forwards most of its arguments to `runCommand`, `bundlerApp` won't take a `buildInputs` parameter. It doesn't even specify its own `buildInputs`, which means that the `scripts` parameter to `bundlerApp` (which depends on `makeWrapper`) is completely broken, and, as far as I can tell, has been since its inception. I've added a `makeWrapper` build input if the scripts parameter is present to fix this. I've added a `buildInputs` option to `bundlerApp`. It's also passed through to bundled-common because `postBuild` scripts are run there as well. This actually means that in this example we'd end up going through two layers of wrappers (one from `bundlerApp` and one from bundled-common), but that has always been the case and isn't likely to break anything. That oddity does suggest that it might be prudent to not forward `postBuild` to bundled-common (or to at least use a different option) though... FWIW, as far as I can tell no package in nixpkgs uses either the `scripts` or `postBuild` options to `bundlerApp`.
2018-10-29buildRubyGem: Provide manpages for Ruby gems (#49334)Michael Fellinger
2018-04-09ruby bundlerApp: Allow passing gemConfig through to bundlerEnvJoe Hermaszewski
2017-06-27Using pname and fetching versionsJudson
2017-06-27A few cleanups and renames. One feature remains...Judson