3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

33705 commits

Author SHA1 Message Date
dywedir bad837fd3b linux_testing_bcachefs: 4.11.2017.08.23 -> 4.15.2018.02.09 2018-02-10 00:41:04 +02: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
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
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 807d76b30b
Merge pull request #34765 from greedy/fix/libproxy-darwin
libproxy: fix building on darwin
2018-02-09 16:02:42 +00: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
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
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
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 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
Matthieu Chevrier 00970f76f9 theharvester: init at 2.7.1 (#34704) 2018-02-09 09:00:15 +00:00
adisbladis d1c5b483d2
yaml2json: init at unstable-2017-05-03 2018-02-09 16:46:21 +08:00
Jörg Thalheim 7ca084292a
Merge pull request #34714 from vbgl/coq-default-to-8.7
coq: default to 8.7
2018-02-09 08:45:31 +00:00
mkgvt f41eb52bc9 rename: init at 1.9 (#34719) 2018-02-09 08:05:11 +00:00
Raymond Gauthier 1d1209381a pythonnet: Init at 2.3.0 2018-02-08 21:29:36 -05:00
Daniel Peebles d21a31f15c
Merge pull request #34750 from copumpkin/fix-pkgs-fedoraproject-org
treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/
2018-02-08 17:11:48 -05:00
Tim Steinbach 250df5c8fd
Merge pull request #34126 from nicknovitski/kubectl
init: kubectl at 1.7.9 (alias for kubernetes with only kubectl component)
2018-02-08 21:49:57 +00:00
Dan Peebles dfd300c81d treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/
Upstream killed the pkgs server but src continues to serve up the exact
same content, so we can just point there and all hashes should be unchanged.
2018-02-08 16:38:08 -05:00
Daiderd Jordan 693ab60bb4
Merge pull request #34685 from cransom/fix-darwin-v8_3_16_14
v8_3_16_14: fix on darwin
2018-02-08 21:53:22 +01:00
Robert Helgesson 76f3f22d27
perl-Encode: 2.93 -> 2.95 2018-02-08 21:01:12 +01:00
Robert Helgesson d3fc84de94
perl-Sub-Quote: 2.003001 -> 2.005000 2018-02-08 21:00:12 +01:00
Robert Helgesson c086125ce5
perl-Crypt-JWT: 0.019 -> 0.020 2018-02-08 20:21:54 +01:00
Robert Helgesson 6dfb0be3ce
perl-bignum: 0.47 -> 0.49 2018-02-08 20:07:50 +01:00
Graham Christensen a1383aa75f
Merge pull request #34571 from esoeylemez/ertes-slade
slade-git: init at 2018.01.29
2018-02-08 09:35:17 -05:00
Graham Christensen 6e782a0ef6
Merge pull request #34572 from esoeylemez/ertes-bcc
doom-bcc-git: init at 2018.01.04
2018-02-08 09:34:37 -05:00
Frederik Rietdijk 28e0126876
Merge pull request #34733 from geistesk/fpdf
fpdf: init at 1.7.2
2018-02-08 12:43:08 +00:00
geistesk 266292a4bc fpdf: init at 1.7.2 2018-02-08 13:39:10 +01:00
Frederik Rietdijk 50a9d51a09 Merge commit '30d031b5d8d05422586043c3f105f4d9110e4f59' into HEAD 2018-02-08 12:14:07 +01:00
Frederik Rietdijk 712c322122
Merge pull request #34532 from unode/pysam
pysam: init at 0.13
2018-02-08 11:02:32 +00:00
Frederik Rietdijk c0c366c8af
Merge pull request #34533 from unode/dendropy
dendropy: init at 4.3.0
2018-02-08 11:00:32 +00:00
sjau 0d65e2e0e5 zfs: add migration path for new crypto format
fixes #34559
2018-02-07 20:46:16 +00:00
Vincent Laporte 202fb6faea
coq: default to 8.7 2018-02-07 19:28:38 +00:00
Daiderd Jordan c0aa8f5fb8
Merge pull request #34630 from varunpatro/lsusb
lsusb for OSX
2018-02-07 18:34:41 +01:00
Graham Christensen c46c2e281b
Merge pull request #33237 from jluttine/add-diskrsync
diskrsync: init at 20170927
2018-02-07 08:15:20 -05:00
Frank Doepper ef727716cf uudeview: init at 0.5.20 2018-02-07 11:38:58 +01:00
Daniel Peebles 30d031b5d8
Merge pull request #34339 from bdarnell/curl-http2-darwin
curlFull: Add http2Support for darwin
2018-02-07 00:28:53 -05:00
Ben Darnell c6aa69f48c curl: Enable http2Support for darwin
http2Support was disabled due to a bootstrapping issue involving xz.
Now that xz is available in the bootstrap environment for all
platforms, http2Support can be enabled globally.
2018-02-06 21:50:28 -05:00
Peter Hoeg 237ae9a0d1
Merge pull request #34659 from peterhoeg/p/nmapsi4
nmapsi4: init at 0.5-alpha1
2018-02-07 10:14:53 +08:00
Tuomas Tynkkynen 4c6c919a31 Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	pkgs/os-specific/linux/kernel/generic.nix
2018-02-07 03:41:24 +02:00
Casey Ransom 72cd8c09ce v8_3_16_14: fix on darwin
This was switched to use gcc5 for all platforms due to a mkSnapshot
error, which fixes Linux but currently fails for Darwin. I'm unsure if
there are other runtime failures, but this hasn't been building for
quite some time.
2018-02-06 17:54:16 -05:00
Michael Raskin 907474e649
Merge pull request #33088 from exFalso/add-subdl
init subdl package
2018-02-06 21:32:53 +00:00
Michael Raskin fdcbb263ac
Merge pull request #32579 from leenaars/lwan
lwan: init -> 0.1
2018-02-06 21:26:18 +00:00
Michael Raskin 8eba2a5be8
Merge pull request #31312 from binarin/emacs-package-set-overrides
emacs-packages: Cleanup and document for overrides
2018-02-06 21:22:23 +00:00
Michael Raskin 5e8ae8d597
Merge pull request #34674 from dtzWill/feature/diff-pdf
diff-pdf: init at 2017-12-30.
2018-02-06 19:33:59 +00:00
Will Dietz b963f06f5a diff-pdf: init at 2017-12-30. 2018-02-06 11:57:55 -06:00
John Ericson 63b8175281
Merge pull request #34351 from teto/kernel_wip
[RDY] buildLinux: Add more overrides
2018-02-06 12:08:12 -05:00
Matthieu Coudron f620b1b693 kernel: buildLinux replaces import ./generic.nix
- defined buildLinux as generic.nix instead of manual-config.nix. This
makes kernel derivations a tad more similar to your typical derivations.
- moved $buildRoot to within the source folder, this way it doesn't have to be created before the unpackPhase
and make it easier to work on kernel source without running the unpackPhase
2018-02-07 10:07:13 +09:00
Frederik Rietdijk ec26c65bce
Merge pull request #34643 from dotlambda/dateparser
pythonPackages.dateparser: switch to parameterized and thereby fix Hydra test
2018-02-06 16:23:58 +00:00