1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-04-16 22:57:23 +00:00
Commit graph

7996 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
8431b84d9a tcpflow: 1.4.4 -> 1.4.5 2016-01-01 12:30:17 +03:00
Michael Raskin
f1eeed7a29 ised: 2.6.0 -> 2.7.0 2016-01-01 12:30:17 +03:00
Michael Raskin
247c419427 ipmiutil: 2.9.6 -> 2.9.8 2016-01-01 12:30:17 +03:00
Michael Raskin
119de110a3 glusterfs: 3.7.3 -> 3.7.6 2016-01-01 12:30:17 +03:00
Kranium Gikos Mendoza
6c34b9c2ad facter: 3.0.2 -> 3.1.3 2016-01-01 15:47:44 +08:00
Tobias Geerinckx-Rice
6a903c1f87 aws-mturk-clt: update sha256 hash
Stable tarballs are so 2015.
2015-12-31 13:48:07 +01:00
Domen Kožar
2be814f21e Merge pull request #11985 from mayflower/update-thinkfan
thinkfan: 0.8.1 -> 0.9.2
2015-12-31 13:41:30 +01:00
Tobias Geerinckx-Rice
3b065f0215 zpaqd: fix typo... 2015-12-31 05:09:13 +01:00
Tobias Geerinckx-Rice
4ae6598c0b zpaq{,d}: clarify; improve description; maintain 2015-12-31 05:04:05 +01:00
Tobias Geerinckx-Rice
d04e57ea6a zpaq{,d}: un-break compileFlags and stop using -march=native
Running zpaq on an older but not ancient 64-bit Intel server aborts
with an ‘Illegal instruction’ error. Turns out the build expression
was using -march=native to generate distibution binaries...

Change this to more conservative, portable settings which should
cover ‘all’ CPUs. It may run slightly slower — but that at least
implies running.

As a nice side effect, all common compile flags are now back in
`compileFlags` whence they came, and actually used consistently.
2015-12-31 05:04:05 +01:00
Dan Peebles
51ebb5a9aa lz4: mark as working on all unixes
I've only tested on darwin, but it looks like a pretty vanilla package
2015-12-30 17:45:13 -05:00
Robert Helgesson
73ede34fe5 vbetool: use stdenv
This replaces use of `builderDefsPackage`.
2015-12-30 21:15:15 +01:00
Eelco Dolstra
63bf2a551e nixUnstable: 1.11pre4334_7431932 -> 1.11pre4345_b8258a4 2015-12-29 17:54:58 +01:00
Vladimír Čunát
08dd527cc7 Merge branch 'staging'
http://hydra.nixos.org/eval/1234895
The mass errors on Hydra seem transient; I verified ghc on i686-linux.
Only darwin jobs are queued ATM. There's a libpng security update
included in this merge, so I don't want to wait too long.
2015-12-29 17:14:35 +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
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
Edward Tjörnhammar
2c9369dc43 i2pd: 2.1.0 -> 2.2.0 2015-12-29 09:17:35 +01: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
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
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
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
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
Tuomas Tynkkynen
c0aada1e1f rpm: Hack fix finding libpython when compiling for Python 3
Currently, building RPM with `python = python3` causes this:

checking for a Python interpreter with version >= 2.6... python3
checking for python3... /nix/store/dykqxnrwiz9drlcv2wy8lpvl3xvklx0g-python3-3.4.3/bin/python3
checking for python3 version... 3.4
checking for Python.h... yes
checking for library containing Py_Main... no
configure: error: missing python library

That comes from this snippet in configure.ac:
    AC_SEARCH_LIBS([Py_Main],[python${PYTHON_VERSION} python],[
      WITH_PYTHON_LIB="$ac_res"
    ],[AC_MSG_ERROR([missing python library])
    ])

So it's looking for (e.g) `libpython3.4.so` wheras we have `libpython3.4m.so`.
Patching the configure script to match seems to make that work (although
I don't really understand what the heck is this 'm' business about).
2015-12-28 02:16:23 +02:00
Robin Gloster
a219778acc dhcpcd: 6.9.3 -> 6.9.4 2015-12-27 21:40:09 +00:00
Arseniy Seroka
de124aa531 Merge pull request #11981 from codsl/torbrower-5.0.6
torbrowser: 5.0.4 -> 5.0.6
2015-12-28 00:25:03 +03:00
Robin Gloster
7de67f48a5 thinkfan: 0.8.1 -> 0.9.2 2015-12-27 20:27:56 +00:00
Arda Xi
7c17302848 Make gpgkey2ssh use absolute path to gpg2, fixes #11912 2015-12-27 20:57:55 +01:00
Michael Raskin
56aa0ff1d9 runzip: init at 1.4 2015-12-27 14:23:52 +01:00
Domen Kožar
bd3ef3d1be Merge pull request #11971 from Denommus/master
Adding which and curl as dependencies to playonlinux
2015-12-27 11:04:13 +01:00
Domen Kožar
3c06503067 Merge pull request #11968 from benley/patch-2
autossh: build on darwin too
2015-12-27 11:03:13 +01:00
codsl
8fb46420ef torbrowser: 5.0.4 -> 5.0.6 2015-12-27 09:31:23 +00:00
codsl
42557425bc tor: 0.2.7.5 -> 0.2.7.6 2015-12-27 07:20:14 +00:00
Tobias Geerinckx-Rice
5d03506df7 dvdisaster: run tests & build in parallel
It seems like a good idea to test back-up software...
2015-12-27 06:37:00 +01:00
Tobias Geerinckx-Rice
d4406237a9 dvdisaster: 0.72.6 -> 0.79.5 2015-12-27 06:37:00 +01:00
Yuri Albuquerque
5cfeedc914 fontforge: needs pango on Linux, too 2015-12-27 01:33:06 -04:00
Benjamin Staffin
bb3a2aa8eb autossh: build on darwin too
Tested it out just now - seems like it works fine.
2015-12-26 13:46:34 -08:00
Tobias Geerinckx-Rice
f3048aed1d eid-viewer: 4.1.4 -> 4.1.9 2015-12-26 19:50:17 +01:00
Dan Peebles
50a00101c1 dnsmasq: get it working on darwin again 2015-12-24 23:27:31 -05:00
Nathan Zadoks
0fda4ff715 tahoelafs: mock is required at runtime for some reason 2015-12-24 11:08:16 +01:00
Robin Gloster
8613060425 socat: add patch to fix build with libressl
This fixes the build for libressl >= 2.3 as some legacy openssl code has
been removed.
2015-12-23 22:08:33 +00:00
Robert Helgesson
3af583d976 pdf2svg: add autoreconf hook (close #11888)
This fixes builds that may fail due to all files in the archive having
the same timestamp.
2015-12-23 07:36:25 +01:00
Vladimír Čunát
e16d3d0d8a texlive: add xdvi binary part (fixes #11816)
It seems to work fine for me now, after adding dependency on metafont.
2015-12-22 16:55:32 +01: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