3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

127583 commits

Author SHA1 Message Date
Jan Malakhovski a3a8c1f54d lib: export option location in optionAttrSetToDocList 2018-02-11 22:04:09 +00:00
Graham Christensen ad78e52357
Merge pull request #29440 from oxij/pkg/linuxPackages
linuxPackages: various changes
2018-02-09 20:36:46 -05:00
Graham Christensen 5aabf0fc34
Merge pull request #33898 from oxij/nixos/related-packages-v5
nixos: doc: implement related packages in the manual (again)
2018-02-09 20:36:27 -05:00
Graham Christensen 94e62d505f
Merge pull request #34778 from oxij/os/allow-pkgs
nixos: export packages of the current configuration
2018-02-09 20:23:30 -05:00
Robert Schütz eaf55b1946 eschalot: init at 2018-01-19 (#34773) 2018-02-10 01:07:31 +00:00
Jörg Thalheim 2bffc88a51
Merge pull request #34631 from symphorien/targets-vim
vimPlugins.targets-vim: init at 2017-12-03
2018-02-10 00:52:17 +00:00
Jörg Thalheim 053453c9c6
Merge pull request #34782 from Pneumaticat/patch-1
looking-glass-client: restrict to x86_64-linux
2018-02-10 00:49:04 +00:00
Graham Christensen 573c52036c
Merge pull request #34793 from oxij/pkg/fetchurl-securely
trivial: fetchurl more securely
2018-02-09 19:44:12 -05:00
SLNOS 40bceae84e curl: fetchurl more securely 2018-02-10 00:25:37 +00:00
SLNOS 3be3c2906e stunnel: fetchurl more securely 2018-02-10 00:24:20 +00:00
Jörg Thalheim 2941217227 Revert "squashfuse: init at 0.1.101"
This reverts commit 17210fee46.
2018-02-10 01:03:42 +01:00
Jörg Thalheim b37fd0aa3a
Merge pull request #34770 from dotlambda/abcmidi
abcmidi: 2018.01.25 -> 2018.02.07
2018-02-09 22:52:06 +00:00
Jörg Thalheim 8d99502669
Merge pull request #34788 from dywedir/exfat
exfat: 1.2.7 -> 1.2.8
2018-02-09 22:11:31 +00:00
dywedir 29160973a7 exfat: 1.2.7 -> 1.2.8 2018-02-09 23:59:16 +02:00
Kevin Liu a5524e46f9
looking-glass-client: restrict to x86_64-linux
The AArch64 build fails after trying to pull in tmmintrin.h:

```
../common/memcpySSE.h:24:23: fatal error: tmmintrin.h: No such file or directory
 #include <tmmintrin.h>
                       ^
compilation terminated.
make: *** [Makefile:29: .build/renderers/opengl.o] Error 1
```

Which are SSSE3 intrinsics unsupported on ARM. This package also likely would
not be useful on ARM, as it requires KVM and a compatible KVM guest running
the frame relay (usually Windows).
2018-02-09 15:48:18 -05:00
Jan Malakhovski 0d1a643210 nixos/xen-dom0: add related packages, make it play well with them
This is a custom attribute set example of `relatedPackages` option usage.
2018-02-09 19:51:07 +00:00
Jan Malakhovski 06adc17455 xen, qemu: passthru the path to qemu-system-i386 2018-02-09 19:51:07 +00:00
Jan Malakhovski e5268344fe nixos/adb: add related package
This is an attribute path example of `relatedPackages` option usage.
2018-02-09 19:51:06 +00:00
Jan Malakhovski eb38b8676a nixos/tmux: add related package
This is a trivial example of `relatedPackages` option usage.
2018-02-09 19:51:06 +00:00
Jan Malakhovski 660806066a nixos, lib: implement relatedPackages option
This allows one to specify "related packages" in NixOS that get rendered into
the configuration.nix(5) man page. The interface philosophy is pretty much
stolen from TeX bibliography.

See the next several commits for examples.
2018-02-09 19:51:06 +00:00
Jan Malakhovski a7d75ab648 nixos/doc: push all the enable*' and package*` options to the top of their option group
Why? Because this way configuration.nix(5) can be read linearly.

Before:

> virtualisation.xen.bootParams
> ...
> virtualisation.xen.enable
> ...
> virtualisation.xen.package
> ...

After:

> virtualisation.xen.enable
> virtualisation.xen.package
> virtualisation.xen.bootParams
> ...
2018-02-09 19:51:05 +00:00
Jan Malakhovski ee3220440d lib: implement compare, splitByAndCompare, and compareLists 2018-02-09 19:51:05 +00:00
Jan Malakhovski a5227789d2 linuxPackages: add more predefined kernels with Xen Dom0 2018-02-09 19:50:05 +00:00
Jan Malakhovski ac073fe77a linuxPackages: point linux_hardened to the hardened default linux, not hardened linux_latest 2018-02-09 19:50:04 +00:00
Jan Malakhovski 3a2ee6e5c3 linuxPackages: introduce hardenedLinuxPackagesFor and cleanup some expressions using it 2018-02-09 19:50:04 +00:00
Frederik Rietdijk 84a6d8a718
Merge pull request #34777 from dotlambda/pytest-httpbin
pythonPackages.pytest-httpbin: actually run tests
2018-02-09 19:42:58 +00:00
Frederik Rietdijk 75c5b8c01f
Merge pull request #34768 from dotlambda/dateparser
pythonPackages.dateparser: 0.6.0 -> 0.7.0
2018-02-09 19:42:41 +00:00
Robert Schütz 6ae627b01e pythonPackages.pytest-httpbin: actually run tests 2018-02-09 20:37:56 +01:00
Jan Malakhovski e1b1683981 nixos: export packages of the current configuration (its pkgs argument)
Allows one to access a package configured with overrides given in `nixpkgs.config`, e.g.:

nix-build ./nixos/default.nix -A pkgs.ffmpeg
2018-02-09 19:35:27 +00:00
Peter Simons 13dda44b8b haskell-with-packages-wrapper: don't bother with extraOutputsToInstall
symlinkJoin doesn't recognize this parameter, so this functionality has been
broken ever since 4b77d425aa.
2018-02-09 20:26:35 +01: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
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
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