3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

74557 commits

Author SHA1 Message Date
Jakob Gillich 36a4600422 remove fetchFromGitorious (close #12024)
The site has retired and it's not used by anything.
2015-12-29 16:33:15 +01:00
Peter Simons c5f28c305a Merge pull request #11566 from Bevaz/ccache-links
ccache: create symlinks to gcc lib & include in ccache-links directory
2015-12-29 16:29:16 +01:00
Peter Simons 5ab5e1d25e Merge pull request #11959 from exi/use-official-taglib-extras
use official taglib-extras source
2015-12-29 16:28:35 +01:00
Eelco Dolstra f6df6d8d46 linux: 3.18.24 -> 3.18.25 2015-12-29 15:56:20 +01:00
Reno Reckling f1aa829a43 use official taglib-extras source 2015-12-29 15:36:47 +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
Yann Hodique bc6e050f21 mesa: add download url (close #11942)
vcunat refactored a bit (too long line, etc.) and reordered the URLs.
2015-12-29 14:23:41 +01:00
Bjørn Forsman 4f3d769d6f conky: add meta.platforms 2015-12-29 13:16:01 +01:00
Arseniy Seroka efce163164 Merge pull request #11988 from mayflower/update-dhcpcd
dhcpcd: 6.9.3 -> 6.9.4
2015-12-29 15:00:40 +03: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
Arseniy Seroka 729211de7a Merge pull request #11917 from jerith666/subgit
subgit: init at 3.1.0
2015-12-29 14:57:47 +03:00
Emery b604318ad8 ratox: fix src hash mismatch 2015-12-29 11:44:07 +01:00
Edward Tjörnhammar 2c9369dc43 i2pd: 2.1.0 -> 2.2.0 2015-12-29 09:17:35 +01:00
Matt McHenry 090efc2907 subgit: init at 3.1.0 2015-12-28 22:59:23 -05:00
Domen Kožar c953334c75 Merge pull request #11972 from codsl/tor-0.2.7.6
tor: 0.2.7.5 -> 0.2.7.6
2015-12-28 23:27:29 +01:00
Domen Kožar a27a1f9f8e Merge pull request #12007 from mayflower/spotify-openssl
spotify: Use specific openssl version
2015-12-28 23:15:40 +01:00
Domen Kožar 82604c259c Merge pull request #12006 from exi/fix-failing-amarok-build
amarok: add necessary dependencies to fix failing build
2015-12-28 23:15:24 +01:00
Domen Kožar af751a7845 qt55.openbr: fix source 2015-12-28 23:14:34 +01:00
Dan Peebles 527f3574b7 stdenvBootstrapTools.x86_64-darwin: unbreak
This is blocking Hydra from updating the nixpkgs-unstable channel. Also
add myself as a maintainer so Hydra can notify me if it breaks again
2015-12-28 16:59:37 -05:00
Robin Gloster 4f6c12de30 spotify: Use specific openssl version
Spotify needs an ABI compatible libssl as it is a binary.
Only changes things if openssl is aliased to another libssl.
2015-12-28 21:52:29 +00:00
Reno Reckling bfd77fdbbe amarok: add necessary dependencies to fix failing build 2015-12-28 22:49:36 +01:00
Domen Kožar 97a40f6de6 pythonPackages.polylint: remove obsolete build 2015-12-28 22:49:23 +01:00
Domen Kožar a9159db387 Merge pull request #11924 from mayflower/libvirt-pcap
libvirt: fix including libpcap and add xen support
2015-12-28 22:45:50 +01:00
Robin Gloster 8eede9e41e gnome-boxes, libguestfs: fix builds due to libvirt
Adds link time dependencies which are now used in libvirt and unbreaks
these packages
2015-12-28 21:44:12 +00:00
Robin Gloster 0bd5a83403 libosinfo: 0.2.11 -> 0.2.12
Unbreaks gnome-boxes 3.18
2015-12-28 21:44:12 +00:00
Robin Gloster 729fb7a440 virt-viewer: fix build and clean up 2015-12-28 21:44:12 +00:00
Robin Gloster 8260022a1b libvirt-glib: 0.2.0 -> 0.2.3
This also fixes the build with the xen-supporting libvirt and removes
obsolete workarounds.
2015-12-28 21:43:25 +00:00
Robin Gloster 4e225b61d2 libvirt: add xen support 2015-12-28 21:43:25 +00:00
Robin Gloster 876a182b66 libvirt: fix including libpcap 2015-12-28 21:43:25 +00:00
Domen Kožar af25cc9427 fix virtviewer build 2015-12-28 22:39:22 +01:00
Domen Kožar 4e4931507b fix mesos build, fixes #11638 2015-12-28 22:28:38 +01:00
Peter Simons f3aa927b70 Merge pull request #11991 from dezgeg/pr-openssh-purity
openssh: Compile with '--with-pid-dir' to improve build purity
2015-12-28 21:49:36 +01:00
Thomas Tuegel 35780cc154 Merge pull request #12003 from ardumont/yasnippet-deferred-emacs-packages-cleanup
[emacs-packages] yasnippet + deferred cleanup
2015-12-28 14:06:29 -06:00
Antoine R. Dumont (@ardumont) fddf0dfa49 Remove deferred's manual derivation
11503 related
2015-12-28 20:29:54 +01:00
Antoine R. Dumont (@ardumont) b863b5fc35 Remove yasnippet's manual derivation
11503 related
2015-12-28 20:28:48 +01:00
Thomas Tuegel 36a08ce5a0 arpack: 3.2.0 -> 3.3.0 2015-12-28 11:44:03 -06:00
Tuomas Tynkkynen 919d44d29f openssh: Compile with '--with-pid-dir' to improve build purity
The configure script tries to probe whether /var/run exists when
determining the location for the pid file, which is not very nice when
doing chroot builds. Just set it explicitly to avoid the problem.

For reference, the culprit in configure.ac:
````
piddir=/var/run
if test ! -d $piddir ; then
        piddir=`eval echo ${sysconfdir}`
        case $piddir in
                NONE/*) piddir=`echo $piddir | sed "s~NONE~$ac_default_prefix~"` ;;
        esac
fi

AC_ARG_WITH([pid-dir],
        [  --with-pid-dir=PATH     Specify location of ssh.pid file],
...

````

Also, use the `install-nokeys` target in installPhase so we avoid
installing useless host keys into $out/etc/ssh and improve built purity
as well.
2015-12-28 18:40:21 +02:00
Peter Simons 2ed4f9a342 Merge pull request #11977 from rycee/debundle/anki
anki: major refactor
2015-12-28 17:23:14 +01:00
Peter Simons de545f8b29 Merge pull request #11984 from mayflower/update-strace
strace: 4.10 -> 4.11
2015-12-28 17:20:30 +01:00
Peter Simons a1a16c5a92 Merge pull request #11990 from mayflower/update-libressl
libressl_2_2: 2.2.4 -> 2.2.5
2015-12-28 17:20:10 +01:00
Peter Simons ef656e469e Merge pull request #11980 from ArdaXi/fix-gpgkey2ssh
Make gpgkey2ssh use absolute path to gpg2, fixes #11912
2015-12-28 17:12:51 +01:00
Peter Simons 1a07ecf9c5 Add LTS Haskell 3.20. 2015-12-28 13:25:45 +01:00
Peter Simons 9ca37a8a4b haskell-text: doCheck=false override is now generated by hackage2nix
This is necessary to break an finite recursion in the test suite dependencies.
2015-12-28 13:19:28 +01:00
Peter Simons 3af72cf6a3 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20151217-3-gd4ae18a using the following inputs:

  - Nixpkgs: 236677809b
  - Hackage: 62b6b580fb
  - LTS Haskell: d3e5ae70f9
  - Stackage Nightly: ef03f60b53
2015-12-28 13:19:11 +01:00
Domen Kožar 0fa8f6b36b nodePackages_0_5: don't recurseIntoAttrs
Two reasons for this change:

- most of 5.0 packages don't build yet

- node packages are memory intensive and block Hydra evaluation
  (Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS)

PS: Removing node packages from evaluation goes from 7.5G down to
4.6G for whole nixos release job.

See #3594 and #11865
2015-12-28 12:16:22 +01:00
Kamil Chmielewski cb0ddd9d6a qtile: 0.10.2 -> 0.10.3 2015-12-28 11:02:05 +01: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
Dan Peebles 7195e6e14f goPackages.hugo: init at 0.15
Also had to add tons of other packages used as dependencies
2015-12-27 22:43:12 -05:00
Tuomas Tynkkynen eae60d2f40 diffoscope: Add more tools to the runtime path 2015-12-28 02:28:01 +02:00