1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
Commit graph

127944 commits

Author SHA1 Message Date
Frederik Rietdijk 9c105bdf8f Merge remote-tracking branch 'upstream/master' into HEAD 2018-02-09 20:02:53 +01:00
Frederik Rietdijk 8754d64185
Merge pull request #34640 from knedlsepp/reduce-graphviz-impurity
graphviz: Explicitly specify libltdl directories
2018-02-09 19:01:19 +00:00
aszlig 1cba74dfc1
setup-hooks: Add autoPatchelfHook
I originally wrote this for packaging proprietary games in Vuizvui[1]
but I thought it would be generally useful as we have a fair amount of
proprietary software lurking around in nixpkgs, which are a bit tedious
to maintain, especially when the library dependencies change after an
update.

So this setup hook searches for all ELF executables and libraries in the
resulting output paths after install phase and uses patchelf to set the
RPATH and interpreter according to what dependencies are available
inside the builder.

For example consider something like this:

stdenv.mkDerivation {
  ...
  nativeBuildInputs = [ autoPatchelfHook ];
  buildInputs = [ mesa zlib ];
  ...
}

Whenever for example an executable requires mesa or zlib, the RPATH will
automatically be set to the lib dir of the corresponding dependency.

If the library dependency is required at runtime, an attribute called
runtimeDependencies can be used to list dependencies that are added to
all executables that are discovered unconditionally.

Beside this, it also makes initial packaging of proprietary software
easier, because one no longer has to manually figure out the
dependencies in the first place.

[1]: https://github.com/openlab-aux/vuizvui

Signed-off-by: aszlig <aszlig@nix.build>
Closes: #34506
2018-02-10 00:27:24 +05:30
Robert Schütz d436d3dac5 pythonPackages.dateparser: 0.6.0 -> 0.7.0 2018-02-09 19:57:22 +01:00
Peter Simons 2c13435734 haskell-generic-builder: revert "set LD_LIBRARY_PATH in shellHook"
This reverts commit e73e5c884f. Please don't
set $LD_LIBRARY_PATH! Instead, pass appropriate --extra-include-dir and
--extra-lib-dir arguments to "cabal configure" to ensure that Cabal knows
about system dependencies.
2018-02-09 19:56:20 +01:00
Peter Simons bd3379c443 haskell-generic-builder: include build-tool dependencies in shell environments
For a Haskell package "foo" the environment foo.env now contains the build tool
dependencies required for compiling the package in $PATH.

Fixes https://github.com/NixOS/cabal2nix/issues/331.
2018-02-09 19:56:20 +01:00
Frederik Rietdijk e44d763b1d
Merge pull request #34771 from Mic92/flexget
flexget: mark as broken
2018-02-09 18:49:22 +00:00
Franz Pletz 1fcbc7055c
Merge pull request #33700 from roberth/nixos-externalpkgs
nixos: Add nixpkgs.pkgs option
2018-02-09 18:47:48 +00:00
Franz Pletz 3748f3aac8
Merge pull request #32582 from Ma27/yabar-module
yabar: add module
2018-02-09 18:43:59 +00:00
symphorien 0146074560 nixos/tests: add predictable-interface-names.nix (#34305) 2018-02-09 18:40:39 +00:00
Frederik Rietdijk 2f8f967a0c
Merge pull request #34769 from dotlambda/pytz
pythonPackages.pytz: 2017.3 -> 2018.3
2018-02-09 18:36:58 +00:00
Franz Pletz a51cda85ff
Merge pull request #34434 from markuskowa/uhd-fix-boost-pr
uhd: 3.10.2.0 -> 3.10.3.0
2018-02-09 18:33:11 +00:00
Robert Hensing 209f8b1acd nixos/release*.nix: Clean nixpkgs sources by default
Currently, when building NixOS from a git clone, Nix has to copy
the entire repo at >1GB into the store by default. That is not
necessary and causes a dumping large path message.
If you need the old behaviour for some reason, you will have to
specify it by passing the path to your repo explicitly as the
nixpkgs argument like this:

  --arg nixpkgs '{outPath = ./.; revCount = 56789; shortRev = "gfedcba"; }'
2018-02-09 18:32:26 +00:00
Jörg Thalheim 9622cdb69f flexget: mark as broken 2018-02-09 17:08:28 +00:00
Robert Schütz 334dd9cbf5 abcmidi: 2018.01.25 -> 2018.02.07 2018-02-09 18:04:23 +01:00
Jörg Thalheim 2e86479790
Merge pull request #34627 from dtzWill/update/rhash-git
rhash: 1.3.3 -> 2018-02-05
2018-02-09 17:01:06 +00:00
Robert Schütz bd92592e7e pythonPackages.pytz: 2017.3 -> 2018.3 2018-02-09 17:56:19 +01:00
Peter Simons 9861064f35
Merge pull request #34766 from mnacamura/r-pbdZMQ-fix-darwin
rPackages.pbdZMQ: fix package loading on Darwin
2018-02-09 17:43:03 +01:00
Jörg Thalheim 7d9313fff3
Merge pull request #34635 from zauberpony/hcloud-init-v1.3.0
hcloud: init at 1.3.0
2018-02-09 16:38:12 +00:00
Jörg Thalheim 4cf5684250
Merge pull request #34673 from jensbin/typora_0.9.43
typora: 0.9.41 -> 0.9.44
2018-02-09 16:34:54 +00:00
Jens Binkert 56a21983f9 typora: 0.9.41 -> 0.9.44 2018-02-09 17:16:32 +01:00
Jörg Thalheim 03ad93a879
Merge pull request #34701 from holidaycheck/chromedriver-2.35
chromedriver: 2.33 -> 2.35
2018-02-09 16:09:21 +00:00
Jörg Thalheim 807d76b30b
Merge pull request #34765 from greedy/fix/libproxy-darwin
libproxy: fix building on darwin
2018-02-09 16:02:42 +00:00
thorstenweber83 814a9310dc python.pkgs.awesome-slugify: fix build (#34764)
It broke because Unidecode went out of
its defined range (Unidecode>=0.04.14,<0.05)
with commit 57e9ed3719
2018-02-09 16:02:23 +00:00
Jörg Thalheim 465d7c55d9
Merge pull request #34763 from zimbatm/asciidoctor-pdf-fix
asciidoctor: expose all the bins
2018-02-09 15:59:09 +00:00
Mitsuhiro Nakamura c4658ac0a4 rPackages.pbdZMQ: fix package loading on Darwin 2018-02-10 00:54:28 +09:00
Geoffrey Reedy 7f6c4e2703 libproxy: fix building on darwin 2018-02-09 08:33:41 -07:00
Tim Steinbach 4ffe462b10
docker-edge: 18.01.0 -> 18.02.0 2018-02-09 10:25:58 -05:00
aszlig 855e66860a
gajim: 0.16.8 -> 0.16.9
Upstream changes:

  * Improve Zeroconf behavior
  * Fix showing normal message event
  * remove usage of OpenSSL.rand
  * a few minor bugfixes

The really important part here is the third point about OpenSSL.rand,
because the rand attribute no longer exists in pyopenssl and thus Gajim
doesn't even start.

Also the fix-tests.patch has been fixed upstream as well, so we don't
need it anymore.

Another change in 0.16.9 that's not included in the changelog is that
there is a test_nogui target, which is also run by the CI upstream is
using, so let's use that and remove xvfb_run.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @7c6f434c, @Mic92
2018-02-09 16:22:42 +01:00
Frederik Rietdijk 669e03ecce
Merge pull request #34647 from jraygauthier/jrg/pythonnet-rebased
pythonnet: Init at 2.3.0
2018-02-09 15:20:25 +00:00
José Luis Lafuente 3b6f8b5b15 youtube-dl: 2018.01.27 -> 2018.02.08 (#34762) 2018-02-09 15:17:22 +00:00
zimbatm 6f56749b07 asciidoctor: expose all the bins
asciidoctor has multiple binaries, expose them all to the user
2018-02-09 14:40:22 +00:00
Andreas Rammhold 04051ee9d0
Merge pull request #34562 from griff/rspamd-workers
nixos/rspamd: worker configuration, socket activation and tests
2018-02-09 14:45:54 +01:00
Will Dietz 2286c9b315 diffpdf: move to using qt5
Patch is used by Gentoo, Debian, etc.
2018-02-09 07:04:37 -06:00
Chris Hodapp c6bd327af8
darktable: Removed unneeded dependencies
Based on what LebedevRI told me on IRC and in
https://github.com/darktable-org/darktable/pull/1474
2018-02-09 13:13:31 +01:00
Andreas Rammhold 7ae9699e1c
Merge pull request #34759 from dotlambda/dovecot
nixos/dovecot: no " in mailbox.name
2018-02-09 12:43:03 +01:00
Sam Parkinson 8a7fd9d41f
spice-up: init at 1.2.1 2018-02-09 22:30:09 +11:00
Sam Parkinson 197d9a8d90
granite: refactor package
* move build time dependencies into nativeBuildInputs
* convert cmakeFlags to an array
* use `with` in the meta section
* add `ninja`
2018-02-09 22:23:37 +11:00
Robert Schütz 6ceece6b59 nixos/dovecot: no " in mailbox.name 2018-02-09 12:20:55 +01:00
Peter Hoeg 0cdc0ac3a1 screenfetch: 2016-10-11 -> 3.8.0 2018-02-09 18:05:10 +08:00
Jörg Thalheim 3b9beaf842
Merge pull request #34658 from thorstenweber83/add-package-slic3r-prusa3d
slic3r-prusa3d: init at 1.38.7
2018-02-09 09:51:13 +00:00
Jörg Thalheim 9e39a7b4e0
Merge pull request #34652 from mbrgm/upgrade-keepalived
keepalived: 1.3.6 -> 1.4.1
2018-02-09 09:47:44 +00:00
Hamish 3a2b0cdf5c nixos/traefik: make group configurable for docker support (#34749) 2018-02-09 09:37:29 +00:00
Jörg Thalheim 5b247f741d
Merge pull request #34677 from dtzWill/feature/busybox-sandbox-shell
busybox-sandbox-shell: extract basic shell to new attribute
2018-02-09 09:32:55 +00:00
Jörg Thalheim abfac62df5 alacritty: 2017-12-29 -> 2018-01-31 2018-02-09 09:31:18 +00:00
Jörg Thalheim a1fe3ee2f9
Merge pull request #34689 from dtzWill/fix/zsh-modern
zsh: set configureFlags and checkFlags at nix level, also fix cross
2018-02-09 09:29:32 +00:00
Jörg Thalheim a0a3298091
Merge pull request #34663 from bignaux/squashfuse
squashfuse: init at 0.1.101
2018-02-09 09:23:23 +00:00
Jörg Thalheim d0bac026ec
Merge pull request #34695 from woffs/uudeview
uudeview: init at 0.5.20
2018-02-09 09:11:08 +00:00
Jörg Thalheim b797b2b961
Merge pull request #34709 from sifmelcara/fix/rstudio-version
rstudio: 1.1.414 -> 1.1.423
2018-02-09 09:00:58 +00:00
Matthieu Chevrier 00970f76f9 theharvester: init at 2.7.1 (#34704) 2018-02-09 09:00:15 +00:00