Commit Graph

73823 Commits

Author SHA1 Message Date
Gleb Peregud
5d3680d265 Fetch hex.pm registry snapshot with external github repo.
This allows to avoid fetching registry file from S3 at build time,
making the build hermetic and much faster. Automatic tools will be used
to update said external repo content when Hex packages are
imported/update.
2015-12-15 14:01:37 +01:00
Gleb Peregud
3a9110b15c Add support for rebar3 plugins to buildHex.
Allow specifying pluginDeps for buildHex listing rebar3 plugins which
are required for given package to be built by rebar3.
2015-12-15 14:01:37 +01:00
Gleb Peregud
eac25eaf69 Simplify patch and move pc compile call into buildPhase 2015-12-15 14:01:37 +01:00
Gleb Peregud
406b974420 Add "compilePorts" enabling rebar3 "pc" plugin
If compilePorts is enabled plugin "pc" is added to the rebar.config
during postPatch. This makes rebar3 compile download the plugin, hence
added TODO.
2015-12-15 14:01:36 +01:00
Gleb Peregud
2251a942fc Add support for Hex package name
There are some packages on Hex which have custom hex-specific names, but
inside there's a base project name.

Remove most packages andadd ibrowse, meck, jiffy
2015-12-15 14:01:36 +01:00
Gleb Peregud
6dcbe059e1 Automagically download files from hex.pm tarball S3 repo 2015-12-15 14:01:36 +01:00
Gleb Peregud
a05e2dbe65 Add few erlang modules 2015-12-15 14:01:21 +01:00
Arseniy Seroka
b941f3b4d2 Merge pull request #11735 from robberer/pkgs/terraria
add Terraria dedicated server for Linux x86_64
2015-12-15 14:59:22 +03:00
System administrator
6d3a89f6da terraria-server: add dedicated server version 1308 for Linux x86_64
fix

fix

limit to 64bit linux
2015-12-15 12:56:30 +01:00
Arseniy Seroka
a7ff459335 Merge pull request #11726 from ericsagnes/logkeys
logkeys: 5ef6b0dcb9e3 -> 2015-11-10
2015-12-15 14:22:40 +03:00
Eric Sagnes
64a2b7f11c logkeys: 5ef6b0dcb9e3 -> 2015-11-10 2015-12-15 20:20:41 +09:00
Shea Levy
0fbe4bb21c Merge branch 'zip-unicode' of git://github.com/spacefrogg/nixpkgs 2015-12-15 06:18:42 -05:00
Eelco Dolstra
a6ca6bbed9 copy-tarballs.pl: Fix --expr 2015-12-15 10:47:46 +00:00
Eelco Dolstra
903803a1f3 Allow uploading multiple files 2015-12-15 10:11:55 +00:00
Michael Raitza
c087ea5f81 zip: fixed build phase (i.e. unicode support)
The build did not use the current build infrastructure correctly. As a
 consequence zip lacked support for unicode and 64bit files.
2015-12-15 10:09:02 +00:00
Rickard Nilsson
46905425cf Merge pull request #11477 from jgillich/mopidy-gmusic
mopidy-gmusic: init at 1.0.0
2015-12-15 10:15:51 +01:00
viric
63eb3395cb Merge pull request #11727 from ericsagnes/praat
praat: 5417 -> 5.4.17
2015-12-15 09:57:37 +01:00
Domen Kožar
d6c81b9507 Merge pull request #11734 from FRidh/ansible
python ansible, ansible2, mygpoclient: fix platforms
2015-12-15 09:05:48 +01:00
Frederik Rietdijk
7f0080ac32 python ansible, ansible2, mygpoclient: fix platforms 2015-12-15 09:03:08 +01:00
Eric Seidel
1cfb0f3070 Merge pull request #11692 from sigma/fix/corkscrew-darwin
corkscrew: fix darwin build
2015-12-14 22:05:11 -08:00
Arseniy Seroka
c9636c9d0c Merge pull request #11725 from ericsagnes/slurm
slurm-llnl: 14.11.5 -> 14-11-5-1
2015-12-15 09:03:32 +03:00
Eric Sagnes
c393711b43 praat: 5417 -> 5.4.17 2015-12-15 11:56:28 +09:00
Eric Sagnes
2c36e9cf5f slurm-llnl: 14.11.5 -> 14-11-5-1 2015-12-15 10:22:00 +09:00
Gleb Peregud
bcc4ca029a Add rebar3 package 2015-12-15 01:02:52 +01:00
Tobias Geerinckx-Rice
29ab5c3b9c simple-scan: 3.19.2 -> 3.19.3 2015-12-15 00:20:59 +01:00
Tobias Geerinckx-Rice
75df6e05c3 mksh: maintainers += nckx 2015-12-14 23:34:34 +01:00
Tobias Geerinckx-Rice
d0323d406a mksh: 51 -> 52
‘This release has a nonzero chance to break existing scripts that
use some extension features – I had to quote some tildes in
dot.mkshrc and a variable expansion in ${x/y"$z"} in MirWebseite
(the $z) – twice!. As usual, test!’

-- https://www.mirbsd.org/permalinks/news_e20151212-tg.htm
2015-12-14 23:34:24 +01: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
Eric Seidel
8f7561dba2 emacsPackagesNg: update various packages, add seq.el
- circe, lcs, lui, shorten, tracking: 1.5 -> 2.1
- expand-region: 20141012 -> 20150902
- flycheck: 0.23 -> 0.25.1
- haskell-mode: 13.14 -> 13.16
- magit: 2.3.0 -> 2.3.1
- projectile: 0.12.0 -> 0.13.0
- seq: init at 1.11
- smartparens: 1.6.2 -> 20151025
- swiper: 0.6.0 -> 0.7.0
2015-12-14 13:25:43 -08:00
Arseniy Seroka
ecc0c30daf Merge pull request #11664 from garrison/vmtouch-upgrade
vmtouch -> 1.0.2
2015-12-14 23:46:40 +03:00
Jim Garrison
a900bf6e15 vmtouch: git-20150310 -> 1.0.2 2015-12-14 12:36:15 -08:00
Domen Kožar
60df14b4b1 fix eval 2015-12-14 21:12:51 +01:00
Arseniy Seroka
ad8dabd0f8 Merge pull request #11712 from simonvandel/sundtekUpdate
sundtek: 2015-09-07 -> 2015-12-12
2015-12-14 22:46:57 +03:00
Arseniy Seroka
c7b320656f Merge pull request #11714 from ericsagnes/jumanji
jumanji: fixed source
2015-12-14 22:46:41 +03:00
Arseniy Seroka
1e5aef3451 Merge pull request #11717 from ericsagnes/vips
vips: 8.0.2 -> 8.1.1
2015-12-14 22:46:29 +03:00
aszlig
45e335aabd
linux-testing: 4.4.0-rc4 -> 4.4.0-rc5
Upstream changes can be found at:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=v4.4-rc5

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 20:29:10 +01:00
Eric Sagnes
f22aefbba0 vips: 8.0.2 -> 8.1.1 2015-12-15 03:46:35 +09:00
aszlig
90997daab6
Merge branch 'fix-nixos-test-failures'
This fixes #10828 by removing the msize option and also disabling the
writeback cache for the root file system of the test machines.

I've tested this across 5 evaluations on my Hydra, where I run tests for
specific machine configurations:

https://headcounter.org/hydra/eval/304437?filter=tests
https://headcounter.org/hydra/eval/304438?filter=tests
https://headcounter.org/hydra/eval/304439?filter=tests
https://headcounter.org/hydra/eval/304440?filter=tests
https://headcounter.org/hydra/eval/304441?filter=tests

So to summarize on the test failures:

Eval    Test failures
304437  quake3, virtualbox
304438
304439  virtualbox
304440  virtualbox
304441

Both the quake3 and virtualbox test failures are unrelated to this merge
and I didn't have to cancel or restart any other jobs. The only jobs I
really had to cancel were the virtualbox jobs, so we no longer should
have "hanging" jobs in the queue due to page allocation failures of the
9p shares.

This is in controst to every evaluation before 304437, where I needed to
constantly restart VM tests.

Thanks a lot to @wizeman for finding the original issue and to
@domenkozar and @lethalman for testing and additional findings (such as
the issue with the cache option).
2015-12-14 19:31:48 +01:00
Domen Kožar
f4756c5e73 Merge pull request #11697 from mkovacs/add-python-pyrr
pythonPackages.pyrr: init at 0.7.0
2015-12-14 19:02:37 +01:00
Mate Kovacs
7e1ce60869 pythonPackages.pyrr: init at 0.7.0 2015-12-14 10:00:24 -08:00
Eric Sagnes
a77569fd97 jumanji: fixed source 2015-12-15 02:46:04 +09: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
Simon Vandel Sillesen
f7e2f8844d sundtek: 2015-09-07 -> 2015-12-12 2015-12-14 18:01:59 +01:00
aszlig
00934bb908
nixos/tests: Revert setting min_free_kbytes
This reverts commit 02b568414d.

With a5bc11f and 6353f58 in place, we really don't need this anymore.

After running about 500 VM tests on my Hydra, it still didn't improve
very much.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:40:28 +01:00
aszlig
6353f580f9
nixos/qemu-vm: Disable cache for $NIX_DISK_IMAGE
As @domenkozar noted in #10828, cache=writeback seems to do more harm
than good:

https://github.com/NixOS/nixpkgs/issues/10828#issuecomment-164426821

He has tested it using the openstack NixOS tests and found that
cache=none significantly improves startup performance.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:36:22 +01:00
aszlig
a5bc11f9eb
nixos/vm-tests: Remove msize mount option
This seems to be the root cause of the random page allocation failures
and @wizeman did a very good job on not only finding the root problem
but also giving a detailed explanation of it in #10828.

Here is an excerpt:

  The problem here is that the kernel is trying to allocate a contiguous
  section of 2^7=128 pages, which is 512 KB. This is way too much:
  kernel pages tend to get fragmented over time and kernel developers
  often go to great lengths to try allocating at most only 1 contiguous
  page at a time whenever they can.

  From the error message, it looks like the culprit is unionfs, but this
  is misleading: unionfs is the name of the userspace process that was
  running when the system ran out of memory, but it wasn't unionfs who
  was allocating the memory: it was the kernel; specifically it was the
  v9fs_dir_readdir_dotl() function, which is the code for handling the
  readdir() function in the 9p filesystem (the filesystem that is used
  to share a directory structure between a qemu host and its VM).

  If you look at the code, here's what it's doing at the moment it tries
  to allocate memory:

    buflen = fid->clnt->msize - P9_IOHDRSZ;

    rdir = v9fs_alloc_rdir_buf(file, buflen);

  If you look into v9fs_alloc_rdir_buf(), you will see that it will try
  to allocate a contiguous buffer of memory (using kzalloc(), which is a
  wrapper around kmalloc()) of size buflen + 8 bytes or so.

  So in reality, this code actually allocates a buffer of size
  proportional to fid->clnt->msize. What is this msize? If you follow
  the definition of the structures, you will see that it's the
  negotiated buffer transfer size between 9p client and 9p server. On
  the client side, it can be controlled with the msize mount option.

  What this all means is that, the reason for running out of memory is
  that the code (which we can't easily change) tries to allocate a
  contiguous buffer of size more or less equal to "negotiated 9p
  protocol buffer size", which seems to be way too big (in our NixOS
  tests, at least).

After that initial finding, @lethalman tested the gnome3 gdm test
without setting the msize parameter at all and it seems to have resolved
the problem.

The reason why I'm committing this without testing against all of the
NixOS VM test is basically that I think we can only go better but not
worse than the current state.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-14 17:26:24 +01:00
Kevin Cox
2f26b82411 Remove PATH assumption from fhs-userenv.
Previously is was assumed that bash was in the path when calling the
environment setup script. This changes all of the references of bash to
be absolute paths so that the user doesn't have to worry about the
environment they call it with.
2015-12-14 11:14:53 -05:00
Domen Kožar
9688c39709 Merge pull request #11702 from ericsagnes/udevil-patch
udevil: added patch
2015-12-14 16:46:26 +01:00