Commit Graph

1814 Commits

Author SHA1 Message Date
Tobias Geerinckx-Rice
3a250b2518 Merge pull request #12050 from nckx/fix-mturk-hash
aws-mturk-clt: update sha256 hash
2016-01-01 14:59:53 +01:00
Michael Raskin
f1eeed7a29 ised: 2.6.0 -> 2.7.0 2016-01-01 12:30:17 +03:00
Tobias Geerinckx-Rice
6a903c1f87 aws-mturk-clt: update sha256 hash
Stable tarballs are so 2015.
2015-12-31 13:48:07 +01:00
Charles Strahan
b6c06e216b ruby: new bundler infrastructure
This improves our Bundler integration (i.e. `bundlerEnv`).

Before describing the implementation differences, I'd like to point a
breaking change: buildRubyGem now expects `gemName` and `version` as
arguments, rather than a `name` attribute in the form of
"<gem-name>-<version>".

Now for the differences in implementation.

The previous implementation installed all gems at once in a single
derivation. This was made possible by using a set of monkey-patches to
prevent Bundler from downloading gems impurely, and to help Bundler
find and activate all required gems prior to installation. This had
several downsides:

* The patches were really hard to understand, and required subtle
  interaction with the rest of the build environment.
* A single install failure would cause the entire derivation to fail.

The new implementation takes a different approach: we install gems into
separate derivations, and then present Bundler with a symlink forest
thereof. This has a couple benefits over the existing approach:

* Fewer patches are required, with less interplay with the rest of the
  build environment.
* Changes to one gem no longer cause a rebuild of the entire dependency
  graph.
* Builds take 20% less time (using gitlab as a reference).

It's unfortunate that we still have to muck with Bundler's internals,
though it's unavoidable with the way that Bundler is currently designed.
There are a number improvements that could be made in Bundler that would
simplify our packaging story:

* Bundler requires all installed gems reside within the same prefix
  (GEM_HOME), unlike RubyGems which allows for multiple prefixes to
  be specified through GEM_PATH. It would be ideal if Bundler allowed
  for packages to be installed and sourced from multiple prefixes.
* Bundler installs git sources very differently from how RubyGems
  installs gem packages, and, unlike RubyGems, it doesn't provide a
  public interface (CLI or programmatic) to guide the installation of a
  single gem. We are presented with the options of either
  reimplementing a considerable portion Bundler, or patch and use parts
  of its internals; I choose the latter. Ideally, there would be a way
  to install gems from git sources in a manner similar to how we drive
  `gem` to install gem packages.
* When a bundled program is executed (via `bundle exec` or a
  binstub that does `require 'bundler/setup'`), the setup process reads
  the Gemfile.lock, activates the dependencies, re-serializes the lock
  file it read earlier, and then attempts to overwrite the Gemfile.lock
  if the contents aren't bit-identical. I think the reasoning is that
  by merely running an application with a newer version of Bundler, you'll
  automatically keep the Gemfile.lock up-to-date with any changes in the
  format. Unfortunately, that doesn't play well with any form of
  packaging, because bundler will immediately cause the application to
  abort when it attempts to write to the read-only Gemfile.lock in the
  store. We work around this by normalizing the Gemfile.lock with the
  version of Bundler that we'll use at runtime before we copy it into
  the store. This feels fragile, but it's the best we can do without
  changes upstream, or resorting to more delicate hacks.

With all of the challenges in using Bundler, one might wonder why we
can't just cut Bundler out of the picture and use RubyGems. After all,
Nix provides most of the isolation that Bundler is used for anyway.

The problem, however, is that almost every Rails application calls
`Bundler::require` at startup (by way of the default project templates).
Because bundler will then, by default, `require` each gem listed in the
Gemfile, Rails applications are almost always written such that none of
the source files explicitly require their dependencies. That leaves us
with two options: support and use Bundler, or maintain massive patches
for every Rails application that we package.

Closes #8612
2015-12-29 09:30:21 -05:00
Arseniy Seroka
19b6034135 Merge pull request #11995 from dezgeg/pr-yledl
yle-dl: init at 2.9.1
2015-12-29 14:59:20 +03:00
Domen Kožar
688ff0c0dc Merge pull request #11992 from dezgeg/pr-update-diffoscope
diffoscope: 29 -> 44
2015-12-28 07:46:12 +01:00
Tuomas Tynkkynen
5120601c28 yle-dl: init at 2.9.1 2015-12-28 06:05:01 +02:00
Tuomas Tynkkynen
eae60d2f40 diffoscope: Add more tools to the runtime path 2015-12-28 02:28:01 +02:00
Tuomas Tynkkynen
7e85fdc6df diffoscope: 29 -> 44
Relevant changes:
 - Python version switched to Python 3
 - ssdeep library got replaced with tlsh
 - the 'magic' Python package got replaced with a different one
 - Minor build system improvements == less work for us
2015-12-28 02:27:44 +02:00
Yuri Albuquerque
5cfeedc914 fontforge: needs pango on Linux, too 2015-12-27 01:33:06 -04:00
Thomas Strobel
d856841ba4 nixos trustedGRUB: add support for HP laptops 2015-12-22 03:12:30 +01:00
Alexander Shabalin
d76c26e876 gibo: init at 1.0.4, fixes #11871 2015-12-22 02:43:24 +01:00
Alexander Shabalin
a0138e1ed5 dynamic-colors: init at 2013-12-28, fixes #11874 2015-12-22 02:04:06 +01:00
Thomas Tuegel
660736def8 polkit-qt: normalize package name to upstream 2015-12-20 07:56:51 -06:00
Thomas Tuegel
c1841675f3 antimicro: Qt 5 infrastructure update 2015-12-20 07:56:36 -06:00
Allan Espinosa
37341582bb screen: include the utmp from the apple_sdk 2015-12-18 00:12:31 -06:00
Tobias Geerinckx-Rice
535b4279c7 ipad_charge, simple-scan: libusb{-compat -> 1} 2015-12-17 23:51:43 +01:00
Tobias Geerinckx-Rice
11a8cddff4 man-db: use groff from closure, not PATH 2015-12-17 23:51:43 +01:00
Pascal Wittmann
a111fa517e zsh-navigation-tools: 1.3.2 -> 1.4 2015-12-17 18:28:35 +01:00
Thomas Tuegel
97b2b05a24 calamares: fix Qt dependencies 2015-12-17 05:50:32 -06:00
goibhniu
1b3168069d Merge pull request #11768 from k0ral/rmlint
rmlint: 2.4.1 -> 2.4.2
2015-12-17 01:10:47 +01:00
koral
123a6041de rmlint: 2.4.1 -> 2.4.2 2015-12-16 22:35:01 +00:00
Tobias Geerinckx-Rice
04728887e1 ms-sys: 2.4.1 -> 2.5.1 2015-12-14 23:32:18 +01:00
Tobias Geerinckx-Rice
0a35ffaace ms-sys: deprecate mssys attribute name 2015-12-14 23:32:18 +01:00
Arseniy Seroka
a01e7fed27 Merge pull request #11719 from rycee/fix/units
units: add readline dependency
2015-12-15 01:01:23 +03:00
Jim Garrison
a900bf6e15 vmtouch: git-20150310 -> 1.0.2 2015-12-14 12:36:15 -08:00
Robert Helgesson
268102ce2a units: add readline dependency
The dependency on `readline` is for tab-completion support. This commit
also enables tests and adds meta information.
2015-12-14 18:34:54 +01:00
Pascal Wittmann
c29702d132 Merge pull request #11640 from rnhmjoj/bdf2psf
bdf2psf: 1.132 -> 1.134
2015-12-11 22:37:43 +01:00
rnhmjoj
941ef62cae bdf2psf: 1.132 -> 1.134 2015-12-11 19:45:07 +01:00
Robert Helgesson
c4ab553c92 screen: patch CVE-2015-6806
Fixes a possible denial of service of the screen tool. Patch sourced
from upstream GIT repository.
2015-12-11 00:22:21 +01:00
Desmond O. Chang
700835bb45 yank: 0.4.1 -> 0.6.0, fixes #11522 2015-12-07 15:25:50 +01:00
Emery Hemingway
2b6dcdfcd0 Rename 'emery' maintainer handle to 'ehmry', fixes #11493
Communication happens on Github so names should be consistent.
2015-12-05 23:06:20 +01:00
Vladimír Čunát
263fd55d4b Merge recent staging built on Hydra
http://hydra.nixos.org/eval/1231884
Only Darwin jobs seem to be queued now,
but we can't afford to wait for that single build slave.
2015-12-05 11:11:51 +01:00
Nikolay Amiantov
ae7ff02081 tlp: use module_init_tools, avoid recompilation for nixos 2015-12-05 00:54:09 +03:00
Jan Malakhovski
35cca051b2 xapian-omega: init at 1.2.21 2015-12-04 17:53:21 +00:00
makefu
1eb3239181 logstash: fix bin path
with the last commit for logstash plugin the bin path was not being used and the executables
were written directly in the root directory
this results in the failure of the logstash service configuration.
additionally the logstash tool itself does not start because it cannot source shell libraries relative
to the current location
2015-12-04 14:21:58 +01:00
Eelco Dolstra
7c00ae68d8 bfr: Build with current Perl 2015-12-04 12:19:44 +01:00
Burke Libbey
211c9ab28b Add coreutils-prefixed to install coreutils as gls, ggrep, etc.
Close #11421. Amended by vcunat not to cause a stdenv rebuild.
2015-12-03 20:08:37 +01:00
Pascal Wittmann
16037c6df5 zsh-navigation-tools: 1.3.1 -> 1.3.2 2015-12-02 19:11:02 +01:00
Robert Helgesson
d76bc1daee svtplay-dl: 0.20.2015.10.25 -> 0.20.2015.11.29 2015-11-30 23:34:52 +01:00
Peter Simons
5c66b4c581 Merge pull request #11283 from mdorman/master-updates
parallel: Revert changes that broke go packages
2015-11-27 12:22:02 +01:00
Tobias Geerinckx-Rice
2798b02ad0 Convert some *Flags from strings to lists 2015-11-26 23:45:31 +01:00
Michael Alan Dorman
d9b858d67e Partial revert of "parallel: 20150922 -> 20151122"
This is a partial revert of commit ed2b30dc28.

The changes outside of a new version of parallel broke several go
packages.
2015-11-26 11:28:17 -05:00
Pascal Wittmann
ed2b30dc28 parallel: 20150922 -> 20151122 2015-11-25 13:14:34 +01:00
Anders Lundstedt
49a4a141f9 youtube-dl: 2015.11.19 -> 2015.11.24 2015-11-25 08:28:20 +01:00
goibhniu
e2fbd2d3dd Merge pull request #11060 from cillianderoiste/jraygauthier-jrg/pipelight_32_bit_support
pipelight: Add support for 32 bit linux via #9000
2015-11-24 23:15:40 +01:00
Vladimír Čunát
13eca6f79a Merge #11067: SmartOS updates
I amended some commits slightly.
2015-11-23 14:45:44 +01:00
Pascal Wittmann
6b747f7cd7 zsh-navigation-tools: 1.2 -> 1.3.1 2015-11-23 10:45:15 +01:00
Danny Wilson
e3a036225d Fix: remove trailing ; 2015-11-22 13:41:22 +01:00
vbgl
eae62caf91 Merge pull request #11162 from anderslundstedt/updateyoutube-dl
youtube-dl: 2015.11.13 -> 2015.11.19
2015-11-20 19:21:00 +01:00
Pascal Wittmann
4fab7b32f0 rrdtool: 1.5.4 -> 1.5.5 2015-11-20 17:11:09 +01:00
Arseniy Seroka
24207be444 Merge pull request #11163 from dochang/lnav
lnav: init at 0.8.0
2015-11-20 15:07:40 +03:00
Lancelot SIX
afa9e26130 pkgs.hdf5: Fix mpi build
@vcunat fixed the assertion (which was his wrong suggestion).
2015-11-20 11:25:47 +01:00
Lancelot SIX
4d28d46c45 hdf5: 1.8.15-patch1 -> 1.8.16 (close #11153) 2015-11-20 11:25:47 +01:00
Desmond O. Chang
ac271677b9 lnav: init at 0.8.0 2015-11-20 15:03:20 +08:00
Anders Lundstedt
af56acc23b youtube-dl: 2015.11.13 -> 2015.11.19 2015-11-20 07:17:29 +01:00
Tobias Geerinckx-Rice
af79c2ac59 gparted: add procps dependency
The 'gparted' wrapper script uses 'ps' as a poor person's lock.
Make sure that this doesn't silently fail.
2015-11-19 23:39:16 +01:00
Tobias Geerinckx-Rice
26abb892b2 gparted: add gpart dependency
Required by Device > Attempt Data Rescue.
2015-11-19 23:23:36 +01:00
William A. Kennington III
349e50734e grub2: 2015-10-13 -> 2015-11-16 2015-11-17 21:16:01 -08:00
Pascal Wittmann
7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Danny Wilson
590eec7945 Simplify FORCE_UNSAFE_CONFIGURE by making it an optional string.
postInstall references ${self} and requires self to be a derivation.
2015-11-17 18:29:54 +01:00
Danny Wilson
caaded3713 Disable inotify support on SunOS: it’s Linux-specific.
This amazingly fixes the coreutils build on SmartOS.
2015-11-16 17:20:15 +01:00
Danny Wilson
340375f421 Make sure optionalAttrs are set before actually building a derivation. 2015-11-16 17:20:15 +01:00
Danny Wilson
450d6aff9c Less builds fine on Illumos. 2015-11-16 17:20:12 +01:00
Cillian de Róiste
03188ce0ef pipelight: remove unused inputs, use stdenv_32bit 2015-11-16 15:02:54 +01:00
Peter Simons
7255b9c0b6 Merge pull request #11017 from oxij/update-youtube-dl
youtube-dl: 2015.11.10 -> 2015.11.13
2015-11-16 11:05:02 +01:00
zimbatm
71b08ef38e ttyrec: init at 1.0.8 2015-11-15 11:26:56 +01:00
Joachim Schiele
47545e4a23 Merge pull request #10962 from sjourdois/byobu
byobu: 5.87 -> 5.98
2015-11-15 01:02:35 +01:00
William A. Kennington III
6602f49495 Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06""
This reverts commit 741bf840da.

This reverts the fallout from reverting the major changes.
2015-11-14 12:32:51 -08:00
Jan Malakhovski
21c8d1024b youtube-dl: 2015.11.10 -> 2015.11.13 2015-11-14 10:13:37 +00:00
William A. Kennington III
9579c9ec7f Merge commit 'cb21b77' into master.upstream
This is a partial merge of staging for builds which are working
2015-11-13 15:53:10 -08:00
Vladimír Čunát
e8ee8496e5 Merge #10477: hdf5: improve options 2015-11-11 15:18:46 +01:00
Vladimír Čunát
6a2a2f4ad5 hdf5: refactor the expression
It's possible enableShared has little impact,
as we pass --disable-static to all packages by default.
2015-11-11 15:17:40 +01:00
Stéphane Jourdois
4d7ed592a0 byobu: 5.87 -> 5.98
Make byobu depend on either tmux or screen. tmux is default, you can
use screen by changing textual-window-manager to screen.
2015-11-11 11:26:10 +01:00
Anders Lundstedt
a3448fad5f youtube-dl: 2015.10.24 -> 2015.11.10 2015-11-11 06:32:19 +01:00
Nikolay Amiantov
23845d7084 tlp: add x86_energy_perf_policy, refactor 2015-11-09 17:29:59 +03:00
Damien Cassou
444abd91dd tlp: add pciutils and smartmontools dependencies
When running `tlp stat`, `tlp` complained about missing tools. This
patch should fix that.
2015-11-09 16:32:59 +03:00
Pascal Wittmann
3cd1e728e4 Merge pull request #10880 from k0ral/rmlint
rmlint: 2.2.0 -> 2.4.1
2015-11-08 11:39:22 +01:00
koral
c848977a30 rmlint: 2.2.0 -> 2.4.1 2015-11-08 10:07:41 +00:00
Pascal Wittmann
050f0b1227 Merge pull request #10860 from zimbatm/tmux-cssh
tmux-cssh: init at 21750733c5b6fa2fe23b9e50ce69d8564f2f742a
2015-11-08 10:37:21 +01:00
Eric Sagnes
9a97dc8f63 goaccess: added geoip db 2015-11-08 12:34:19 +09:00
William A. Kennington III
5149c03adc Merge branch 'master.upstream' into staging.upstream 2015-11-07 18:53:26 -08:00
William A. Kennington III
b2b568d782 man-db: 2.7.3 -> 2.7.5 2015-11-07 18:53:08 -08:00
William A. Kennington III
a26c8e9b83 Merge branch 'master.upstream' into staging.upstream 2015-11-07 15:51:51 -08:00
zimbatm
c46bc1f7e4 tmux-cssh: init at 21750733c5b6fa2fe23b9e50ce69d8564f2f742a
Currently based on master because the last release doesn't work with
makeWrapper
2015-11-07 16:47:52 +00:00
Pascal Wittmann
5b95018644 Merge pull request #10760 from sjourdois/binwalk
binwalk: remove useless dep on mtdutils
2015-11-07 10:07:49 +01:00
Bjørn Forsman
7df8515bb5 t1utils: set meta.platforms = all
Suggested by @sjourdois on github, to allow building on darwin.
2015-11-06 17:26:06 +01:00
Domen Kožar
6e8cbbd34c Revert "t1utils: use github cache and allow build on darwin"
This reverts commit 9b2bff7097.

It fails to build: http://hydra.nixos.org/build/27428175/nixlog/2/raw
2015-11-06 16:25:09 +01:00
Domen Kožar
8e4ee7d0a6 Merge pull request #10745 from sjourdois/t1utils
t1utils: use github cache and allow build on darwin
2015-11-06 10:57:16 +01:00
William A. Kennington III
1e7aa4f17d Merge branch 'master.upstream' into staging.upstream 2015-11-05 18:30:11 -08:00
Matthias Beyer
6deaa270f8 vdirsyncer: 0.7.0 -> 0.7.3 2015-11-05 23:40:25 +01:00
William A. Kennington III
2837a5e091 Merge branch 'master.upstream' into staging.upstream 2015-11-05 10:07:28 -08:00
michael bishop
9f34689658 ipxe: add undionly.kpxe so the output
its needed to chainload iPXE from normal PXE
2015-11-05 10:10:36 -04:00
Eelco Dolstra
3e44182487 Merge remote-tracking branch 'origin/systemd-219' into staging 2015-11-04 15:37:28 +01:00
Lluís Batlle i Rossell
9819303647 Fixing the logic in coreutils to avoid stdenv rebuild.
It was using 'null' instead of '[]' in case of no patches. So I change
it to provide 'null'.

(cherry picked from commit 56ff659e5d1fffd371786a3b8237129ee365ca5c)
2015-11-04 12:43:14 +01:00
Lluís Batlle i Rossell
00aeb53bc0 coreutils 8.24 have a bug exhibited in a test in the Pi2. Patching.
I pick the patch from upstream, and I apply only for ARM to avoid rebuilding
stdenv.

(cherry picked from commit 1b36f489b6fb2bde3b241d2763abfaa860a4fe55)
2015-11-04 12:43:13 +01:00
William A. Kennington III
4251612faa Merge branch 'master.upstream' into staging.upstream 2015-11-04 01:00:48 -08:00
Tobias Geerinckx-Rice
2cb1ea1ff3 gparted: add hdparm dependency
Required to display serial numbers in the "Device Information" view.
2015-11-02 01:46:50 +01:00
Edward Tjörnhammar
1061f4a9a3 Merge pull request #10780 from rycee/bump/svtplay-dl
svtplay-dl: 0.20.2015.10.08 -> 0.20.2015.10.25
2015-11-01 15:43:38 +01:00
Robert Helgesson
215b77fb34 svtplay-dl: 0.20.2015.10.08 -> 0.20.2015.10.25 2015-11-01 13:01:54 +01:00