Commit Graph

2024 Commits

Author SHA1 Message Date
Arseniy Seroka
167ef887f7 Merge pull request #14179 from DamienCassou/vdirsyncer-0.9.3
vdirsyncer: 0.9.2 -> 0.9.3
2016-03-24 23:12:46 +03:00
Damien Cassou
f965c8f207 vdirsyncer: 0.9.2 -> 0.9.3
Regarding homepage update, changelog says "Moved to pimutils
organization on GitHub. Old links should redirect, but be aware of
client software that doesn't properly handle redirects."
2016-03-24 18:50:35 +01:00
Pascal Wittmann
f942b09bf9 abduco: 0.5 -> 0.6 2016-03-24 15:52:35 +01:00
Pascal Wittmann
92d59b37cb parallel: 20160222 -> 20160322 2016-03-24 00:07:40 +01:00
Michael Fellinger
6da0a54d2b zsh-navigation-tools: include znt-* functions 2016-03-23 10:05:52 +01:00
Nikolay Amiantov
ad1f158111 Merge pull request #14088 from jgillich/rust-head
Rust updates
2016-03-23 00:10:07 +04:00
Jakob Gillich
74ef06dab6 exa: 2016-02-15 -> 2016-03-22 2016-03-22 15:54:23 -04:00
Marius Bakke
23befca742 yubikey-personalization-gui: 3.1.21 -> 3.1.24 2016-03-20 18:49:05 +00:00
Marius Bakke
451a7ec4a9 yubikey-personalization: 1.17.2 -> 1.17.3 2016-03-20 18:48:49 +00:00
Marius Bakke
1489af2153 yubico-piv-tool: 1.0.2 -> 1.3.0 2016-03-20 18:42:23 +00:00
Pascal Wittmann
88a62b3aea datamash: 1.0.6 -> 1.0.7 2016-03-20 13:23:31 +01:00
Pascal Wittmann
6ea546e3b9 entr: 3.2 -> 3.4 2016-03-20 13:23:31 +01:00
Tobias Geerinckx-Rice
ec8484734b debian-devscripts: 2.16.1 -> 2.16.2 2016-03-20 01:22:13 +01:00
Peter Hoeg
c6a717d212 dynamic-colors: 2013-12-28 -> 0.2.1 2016-03-19 23:45:28 +00:00
Joachim Fasting
8dfb8d06f0 ipxe: fix gcc5 build
gcc5 enables additional warnings, causing the build to fail with
-Werror.  The build could be fixed by specifically disabling errors
for `discarded-array-qualifiers` and `logical-not-parentheses` warnings,
but simply passing -Wno-error is more future proof.

See https://hydra.nixos.org/build/33274006/nixlog/1/raw
2016-03-19 19:52:47 +01:00
Robin Gloster
420bc33efa Merge pull request #13984 from regnat/moreutils
moreutils : 0.57 -> 0.58
2016-03-17 12:19:28 +01:00
Théophane Hufschmitt
93856f36a2 moreutils : 0.57 -> 0.58 2016-03-17 08:54:36 +01:00
Tobias Geerinckx-Rice
df0f4baec4 hddtemp: correct licence: gpl2 -> gpl2Plus 2016-03-16 21:10:20 +01:00
joachifm
4369f06ab5 Merge pull request #13934 from jraygauthier/jrg/update_plantuml_from_8012_to_8037
plantuml: 8012 -> 8037
2016-03-16 00:20:09 +00:00
Raymond Gauthier
5e9a344e62 plantuml: 8012 -> 8037
Updated to latest stable version.
2016-03-15 09:10:20 -04:00
Damien Cassou
32dcc5a31b vdirsyncer: 0.9.0 -> 0.9.2
Also activate the automated testing
2016-03-14 09:59:27 +01:00
宋文武
93feb5d115 drop my maintainership (close #13881) 2016-03-13 18:39:01 +01:00
Thomas Tuegel
d2dc8cc47f kde5.colord-kde: init at 0.5.0.20160224 2016-03-11 08:45:41 -06:00
Nikolay Amiantov
08893956fb Merge pull request #13823 from abbradar/colord
colord color management daemon
2016-03-11 13:50:12 +03:00
Nikolay Amiantov
4ebc7f74f7 colord-kde: fix build 2016-03-11 02:31:47 +03:00
Nikolay Amiantov
cf9ddb27d6 colord: fix udev rules, add sane support 2016-03-11 01:58:40 +03:00
Nikolay Amiantov
776845bbeb xiccd: init at 0.2.2 2016-03-11 01:26:56 +03:00
Thomas Tuegel
da972b6cc4 ncurses: move runtime utilities to $out
All the programs provided by ncurses were being installed to the $dev
output, but several of them are intended for runtime use, e.g. to
operate on the running terminal. These user-facing programs are moved to
the $bin output.

Several packages referred to "${ncurses}/bin" or "${ncurses.dev}/bin" at
runtime; these paths are also updated to refer to "${ncurses.bin}/bin".
2016-03-08 11:35:24 -06:00
Thomas Tuegel
394ffcb3e5 staruml: fix evaluation on closure-size 2016-03-08 11:34:52 -06:00
Vladimír Čunát
09af15654f Merge master into closure-size
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Robert Helgesson
9206abe642 mimeo: init at 2016.2 2016-03-06 20:44:09 +01:00
Maxwell
65dd28c569 xdo from 0.3 -> 0.5
This incorporates a number of bugfixes, as well as adding the
`below` and `above` actions

Also moved package from fetchurl to fetchFromGitHub
2016-03-06 08:45:23 -05:00
Tuomas Tynkkynen
ad47355786 Merge remote-tracking branch 'upstream/master' into staging 2016-03-06 11:48:57 +02:00
Tobias Geerinckx-Rice
225edbd9b5 ms-sys: 2.5.2 -> 2.5.3 2016-03-06 01:09:12 +01:00
Eelco Dolstra
e9b408936c findutils: Disable tests on Darwin
The strftime test fails with:

NZST-12NZDT,M9.5.0,M4.1.0/3: expected "1970-01-01 13:00:00 +1300 (NZDT)", got "1970-01-01 12:00:00 +1200 (NZST)"

The source in fact marks this test as "ahistorical", so the result on
Darwin might not be incorrect.

http://hydra.nixos.org/build/32578562/nixlog/1/raw
2016-03-01 16:14:58 +01:00
Pascal Wittmann
5a0dbaabad parallel: 20160122 -> 20160222 2016-02-29 23:35:32 +01:00
rnhmjoj
838379f117 bdf2psf: 1.134 -> 1.137 2016-02-28 02:56:22 +01:00
Eelco Dolstra
015c7afffa findutils: 4.4.2 -> 4.6.0
The first findutils update in six years! Changes:

https://lists.gnu.org/archive/html/info-gnu/2015-12/msg00014.html
2016-02-27 23:18:50 +01:00
zimbatm
17348dc094 Remove all dots at end of descriptions
Specially crafted for @JagaJaga

    find pkgs -name "*.nix" -exec \
      sed -e 's|\(description.*\)\.";|\1";|g' -i {} \;
2016-02-27 17:30:29 +00:00
zimbatm
35ab3d301f Merge remote-tracking branch 'upstream/staging' 2016-02-26 22:37:04 +00:00
Tristan Helmich
3234ca49d1 gti: init at 2015-05-21 (edaac79) 2016-02-25 18:52:19 +01:00
Vladimír Čunát
93f6af1071 Merge branch 'master' into staging 2016-02-25 09:01:48 +01:00
Frederik Rietdijk
40ca841c5c Merge pull request #13124 from FRidh/buildPythonApplication
buildPythonApplication: use new function for Python applications
2016-02-23 16:02:10 +01:00
Franz Pletz
06e37e9008 youtube-dl: 2016.01.01 -> 2016.02.13 2016-02-22 04:55:22 +01:00
Eugene Akentyev
f0b072abaa staruml: init at 2.6.0 2016-02-21 21:42:43 +03:00
Charles Strahan
11bf7888fb Merge pull request #13041 from Baughn/mprime
mprime: Init at 28.7
2016-02-20 20:45:56 -05:00
Tuomas Tynkkynen
6820d7fc5b Merge pull request #13157 from dezgeg/pr-diffoscope-2
diffoscope: 45 -> 49
2016-02-21 01:34:38 +02:00
Tuomas Tynkkynen
2a3d8fc70c diffoscope: 45 -> 49
We have a new tool dependency for cd-iccdump which comes from the colord
package - put this in the bloat category.
2016-02-21 01:21:12 +02:00
Tuomas Tynkkynen
8bfc5d7e72 coreutils: Remove ARM patch (coreutils-tail-inotify-race.patch)
The patch no longer applies as it's applied in the 8.25 release.

While at it don't use FORCE_UNSAFE_CONFIGURE on ARM as I don't see why
it's needed and it works for me without it.

Build-tested GNU hello on ARMv7 and verified that this affect its hash
on i686.
2016-02-20 19:36:21 +02:00
Frederik Rietdijk
4d06bf70f4 buildPythonApplication: use new function for Python applications 2016-02-19 13:16:41 +01:00
Damien Cassou
dda9f0ba23 Merge pull request #13098 from DamienCassou/vdirsyncer-0.9.0
vdirsyncer: 0.8.1 -> 0.9.0
2016-02-19 12:48:27 +01:00
Damien Cassou
38f0628928 vdirsyncer: 0.8.1 -> 0.9.0 2016-02-19 12:44:49 +01:00
Eelco Dolstra
854c27c69c coreutils: 8.24 -> 8.25 2016-02-18 21:59:11 +01:00
Rob Vermaas
1ecb2a8782 Fix xclip hash, make revision explicit, in stead of depending on HEAD.
(cherry picked from commit c9ef3b51a3e910f3850ab10378c8b58f0d2d97e8)
2016-02-17 12:00:20 +00:00
Vladimír Čunát
e9520e81b3 Merge branch 'master' into staging 2016-02-17 10:06:31 +01:00
Franz Pletz
0884b63e53 Merge pull request #13039 from rycee/bump/svtplay-dl
svtplay-dl: 0.30.2016.01.10 -> 0.30.2016.02.08
2016-02-17 04:52:43 +01:00
Ricardo M. Correia
957ed2c08c Merge pull request #13015 from ehegnes/exa
exa: init at git 2016-02-15
2016-02-16 18:11:42 +01:00
Svein Ove Aas
6efcbd8950 mprime: Init at 28.7 2016-02-16 16:37:45 +00:00
Robert Helgesson
b60ceea903 svtplay-dl: 0.30.2016.01.10 -> 0.30.2016.02.08 2016-02-16 17:06:48 +01:00
Arseniy Seroka
c98602d281 Merge pull request #13031 from matthiasbeyer/update-packages
Update packages
2016-02-16 19:02:58 +03:00
Eric Hegnes
23ab6bf6b2 exa: init at git 2016-02-15 2016-02-16 11:02:38 -05:00
Matthias Beyer
acd75605a2 vdirsyncer: 0.8.1 -> 0.9.0 2016-02-16 14:13:53 +01:00
Tobias Geerinckx-Rice
6b9ae8bada debian_devscripts: 2.15.10 -> 2.16.1
Changes:
http://metadata.ftp-master.debian.org/changelogs/main/d/devscripts/devscripts_2.16.1_changelog
2016-02-15 03:33:44 +01:00
Vladimír Čunát
d039c87984 Merge branch 'master' into closure-size 2016-02-14 08:33:51 +01:00
Eelco Dolstra
aea262f654 Fix misspelled meta.maintainers attributes 2016-02-10 14:59:50 +01:00
Pascal Wittmann
ee90c703be progress: 0.12.1 -> 0.13 2016-02-09 21:51:41 +01:00
宋文武
3c168a714e dvtm: 0.14 -> 0.15 2016-02-08 13:10:27 +08:00
Pascal Wittmann
23a9b9b88a rrdtool: move perl libraries to the expected place
closes #12801
2016-02-07 17:17:37 +01:00
Vladimír Čunát
a115bff08c Merge branch 'master' into staging 2016-02-07 13:52:42 +01:00
Damien Cassou
ee1a843371 Merge pull request #12774 from matthiasbeyer/update-vdirsyncer
Update vdirsyncer
2016-02-04 11:41:54 +01:00
Vladimír Čunát
ae74c356d9 Merge recent 'staging' into closure-size
Let's get rid of those merge conflicts.
2016-02-03 16:57:19 +01:00
Matthias Beyer
aa6deb40e8 vdirsyncer: 0.7.3 -> 0.8.1 2016-02-02 21:14:02 +01:00
Robin Gloster
d89e84f859 gnokii: use mkDerivation 2016-01-30 20:31:01 +00:00
Robin Gloster
3f417e6272 Merge pull request #12660 from garrison/bibutils
Add bibutils 5.6 package
2016-01-30 18:30:32 +01:00
Jim Garrison
d68b516341 bibutils: init at 5.6 2016-01-30 09:13:37 -08:00
Pascal Wittmann
4c8aab9140 parallel: 20151222 -> 20160122 2016-01-29 23:02:09 +01:00
Vladimír Čunát
de0af30716 Merge branch 'master' into staging 2016-01-29 10:19:48 +01:00
Frederik Rietdijk
e366168d22 Merge pull request #12552 from NixOS/python-wip
pythonPackages: update setuptools, many updates and fixes
2016-01-27 13:19:00 +01:00
Frederik Rietdijk
ef4f65293b pythonPackages.youtube-dl: disable tests 2016-01-27 13:11:22 +01:00
Pascal Wittmann
9c6f3dcbcc cpuminer: 2.4.2 -> 2.4.3 2016-01-26 22:36:14 +01:00
Tobias Geerinckx-Rice
9fb8020e4e Add version attribute where maintainers |= nckx
This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
2016-01-25 17:35:21 +01:00
Vladimír Čunát
2af19df364 Merge branch 'master' into staging 2016-01-25 10:02:25 +01:00
Aaron Schif
9aac99ccb0 homesick: init at 1.1.3 (close #12465) 2016-01-24 17:22:13 +01:00
Tobias Geerinckx-Rice
32d40f0f98 Remove no longer (or never) referenced patches
55 files changed, 6041 deletions. Tested with `nix-build -A tarball`.
2016-01-24 02:02:21 +01:00
Marius Bakke
c1eec00179 heimdall: 1.4.1 -> 1.4.2pre 2016-01-23 04:08:28 +00:00
Nikolay Amiantov
c3abcd8415 Merge pull request #12368 from abbradar/ghostscript-update
Ghostscript and CUPS updates
2016-01-22 21:46:52 +03:00
Pascal Wittmann
de1aba33e8 progress: 0.9 -> 0.12.1 2016-01-22 19:38:21 +01:00
Franz Pletz
400499aeb4 Merge pull request #12482 from rycee/bump/svtplay-dl
svtplay-dl: 0.20.2015.11.29 -> 0.30.2016.01.10
2016-01-22 17:32:56 +01:00
Vladimír Čunát
0957359568 Merge branch 'staging' 2016-01-22 13:48:35 +01:00
Tobias Geerinckx-Rice
4d5293d8c3 gparted: 0.24.0 -> 0.25.0
Key changes include:
- Add progress bar during additional ext2/3/4 and ntfs operations
- Enhance SWRaid member detection and file system clearing
- Always use blkid file system detection before libparted

See the Release Notes for more details:
https://sourceforge.net/projects/gparted/files/gparted/gparted-0.25.0/gparted-0.25.0-README.md/view
2016-01-21 16:10:36 +01:00
Tobias Geerinckx-Rice
f1f2b87fdd snapper: various tweaks and fixes
Fix numerous configuration files referring to ‘/usr’ and ‘/lib’.

Some paths were still ending up in ‘/nix/store/.../nix/store/...’,
despite some well-intended hacks meant to avoid that. Replace them
with other hacks. It's all very fragile and ugly, so snapper should
feel right at home.

Oh, and `snapper create-config ~` still won't actually *do*
anything, because D-Bus (#12452). Use `--no-dbus` and add files
to ‘/etc’ as long as it complains.

Only fair that I help maintain this mess.
2016-01-20 09:21:44 +01:00
Tobias Geerinckx-Rice
94a47eeea1 debian_devscripts: 2.15.8 -> 2.15.10
Changes: http://metadata.ftp-master.debian.org/changelogs/main/d/devscripts/
2016-01-19 21:36:23 +01:00
Robert Helgesson
553ab970bd svtplay-dl: 0.20.2015.11.29 -> 0.30.2016.01.10 2016-01-19 20:20:19 +01:00
Vladimír Čunát
716aac2519 Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
Tobias Geerinckx-Rice
f499c03ec0 snapper: add missing dependencies (chattr, lv*) 2016-01-19 02:04:18 +01:00
Tobias Geerinckx-Rice
593489b144 snapper: remove outdated (no-op) substitution 2016-01-19 02:04:18 +01:00
Tobias Geerinckx-Rice
a07e5839af snapper: use autoreconfHook 2016-01-18 19:32:48 +01:00
Tobias Geerinckx-Rice
6c2b00bcb2 Merge pull request #12452 from Profpatsch/snapper
snapper: 0.2.4 -> 0.2.8
2016-01-18 19:13:59 +01:00
Profpatsch
9a1f430e53 snapper: 0.2.4 -> 0.2.8 2016-01-18 16:16:29 +01:00
Robin Gloster
53b389327e refactor to use autoreconfHook where possible
Close #12446.
2016-01-18 10:45:31 +01:00
Vladimír Čunát
620c147cce Merge branch 'master' into staging 2016-01-18 09:48:49 +01:00
Tobias Geerinckx-Rice
8b57eb8f17 tldr: use fetchFromGitHub; pkgconfig
pkgconfig is unrelated, but trivial (removes a harmless but
distracting error message) and doesn't warrant its own commit.
2016-01-18 03:04:56 +01:00
Tobias Geerinckx-Rice
ebad3ffeb4 tldr: 1.0 -> 1.1.0; maintain 2016-01-18 02:47:10 +01:00
Tobias Geerinckx-Rice
7f2d6d8ee6 ms-sys: correct licence 2016-01-18 01:41:57 +01:00
Tobias Geerinckx-Rice
6f640acfba ms-sys: 2.5.1 -> 2.5.2; maintain
Changes:
  - Added german man page,
  - added support for Grub2 and Grub4Dos MBR,
  - added support for KolibriOS MBR and FAT32 boot record,
  - added support for ReactOS MBR, FAT32 and FAT16 BR,
  - added support for Rufus MBR,
  - added experimental support for large sectors ( > 512),
  - now possible to alter OEM ID of FAT and NTFS boot records.
  - now possible to alter Windows Disk Signature in MBR.
2016-01-18 01:41:57 +01:00
Robin Gloster
656acf3719 mates: remove package
see #11926 for context

closes #11926
2016-01-17 18:11:08 +00:00
Pascal Wittmann
67a61addf4 abduco: 0.4 -> 0.5 2016-01-17 14:06:42 +01:00
Nikolay Amiantov
03353ce6ff system-config-printer: 1.3.12 -> 1 5.7 2016-01-17 15:50:40 +03:00
Vladimír Čunát
2d0893088f Merge branch 'master' into staging 2016-01-15 13:43:57 +01:00
Nikolay Amiantov
9aca5edfdd grub4dos: 0.4.6a -> 0.4.6a-2015-12-31 2016-01-13 21:21:43 +03:00
lethalman
1046a57f79 Merge pull request #12340 from dezgeg/pr-xfstests
xfstests: init at 2016-01-11
2016-01-13 14:01:11 +01:00
Nikolay Amiantov
dbac5951de pg_top: add license and platforms 2016-01-13 14:58:21 +03:00
Nikolay Amiantov
d0e3cca04e tlp: add more shell script dependencies 2016-01-13 13:38:21 +03:00
Louis Taylor
1587e1e578 screenfetch: 2015-04-20 -> 2016-01-13
This brings in the all-important new NixOS logo.
2016-01-13 09:06:44 +00:00
Tuomas Tynkkynen
7a81d47023 xfstests: init at 2016-01-11 2016-01-12 21:57:22 +02:00
Eelco Dolstra
eda93bb51f diffoscope: Ignore different link counts and inode change times
Nix does not canonicalize these, so ignore them to prevent lots of
spurious differences.
2016-01-12 17:01:13 +01:00
Eelco Dolstra
1ecba0c1d7 diffoscope: 44 -> 45 2016-01-12 16:38:23 +01:00
Eelco Dolstra
bbfbadf327 diffoscope: Reduce closure size
This reduces diffoscope's closure size from 2470 MiB to 579 MiB by
leaving out some less crucial dependencies (like GHC and Free
Pascal). These can be re-enabled by turning on enableBloat.
2016-01-12 14:25:26 +01:00
Tobias Geerinckx-Rice
464f327aa6 Move some excess description to longDescription 2016-01-12 03:08:10 +01:00
Nikolay Amiantov
038241a761 ltunify: init at 20140331 2016-01-11 05:21:59 +03:00
Leroy Hopson
1a6016825e txtw: init at 0.4 2016-01-10 11:08:17 +13:00
Yann Hodique
5db5a0daf4 tmate: 1.8.10 -> 2.2.0
additional changes:
- tmate now depends on external libmsgpack and libssh
- postPatch is no longer useful as it applied to embedded msgpack
- regular automake can now be used
2016-01-08 18:04:25 -08:00
Jakob Gillich
4f4eebbded mcrypt: fix several security issues (close #12194)
CVE-2012-4409, CVE-2012-4426, CVE-2012-4527

Patches taken from https://gitweb.gentoo.org/repo/gentoo.git/tree/app-crypt/mcrypt/files
2016-01-07 10:10:30 +01:00
Jos van den Oever
6c377c43a9 testdisk 6.14 -> 7.0 2016-01-06 12:10:54 +01:00
Tobias Geerinckx-Rice
42420a30d5 xmltv: remove dead package
Not updated since 2008. Broken since 2013. Nothing else will miss it.
2016-01-06 01:46:16 +01:00
Peter Simons
af8c1f3368 youtube-dl: take advantage of the improved getVersion function 2016-01-05 20:09:39 +01:00
Peter Simons
41a91a5495 youtube-dl: remove meta.version 2016-01-05 12:46:01 +01:00
Vladimír Čunát
b1acaffe67 Merge branch 'master' into staging 2016-01-05 10:28:58 +01:00
Vladimír Čunát
7c879d342d Merge #10816: improve FreeBSD support 2016-01-05 09:50:10 +01:00
Bjørn Forsman
d1cb42f297 system-config-printer: set meta.platforms 2016-01-04 14:21:43 +01:00
Radvendii
2371acdeb2 tldr: init at 1.0
added tldr to all-packages.nix

cleaned up style

added metadata

semicolons

didn't test on mac. removed platform

wrong types

fixed duplication of version
2016-01-03 17:51:34 -05:00
Mateusz Kowalczyk
1e630749d8 youtube-dl: 2015.11.24 -> 2016.01.01 2016-01-03 20:51:14 +00:00
Bjørn Forsman
9cdf17e822 colord: fix use of /var
Currently the package is built with /var in $out/var. That fails when it
tries to create/write things at runtime (nix store is read-only).
Instead, tell it to use /var (global directory) and fixup the
installation phase so it doesn't touch /var (leave that for runtime).

This unbreaks the colord dbus service, which apparently is needed by
cups to create color profiles for printers.
2016-01-03 21:07:04 +01:00
Tobias Geerinckx-Rice
82419575aa btrfsProgs -> canonical btrfs-progs 2016-01-03 20:38:44 +01:00
Pascal Wittmann
13572ae8a3 parallel: 20151122 -> 20151222 2016-01-03 15:49:55 +01:00
Bjørn Forsman
1979034956 system-config-printer: remove bad /usr/bin reference in dbus service file 2016-01-02 22:04:52 +01:00
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
Vladimír Čunát
f9f6f41bff Merge branch 'master' into closure-size
TODO: there was more significant refactoring of qtbase and plasma 5.5
on master, and I'm deferring pointing to correct outputs to later.
2015-12-31 09:53:02 +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