Commit Graph
100 Commits
Author SHA1 Message Date
Jan Malakhovski 92265e807e nixos: xserver: add related packages 2018-04-27 18:10:04 +01:00
Jan Malakhovski 5ec94de03c nixos: alsa: better docstring 2018-04-27 18:07:19 +01:00
Jan Malakhovski 87651b32fe stdenv: steal checkInputs from buildPythonPackage
Note that a bunch of non-python packages use this attribute already.
Some of those are clearly unaware of the fact that this attribute does
not exists in stdenv because they define it but don't to add it to
their `bulidInputs` :)

Also note that I use `buildInputs` here and only handle regular
builds because python and haskell builders do it this way and I'm not
sure how to properly handle the cross-compilation case.
2018-04-26 20:22:51 +00:00
Jan Malakhovski 9345fc51d1 haskell-generic-builder: be explicit about doCheck, cleanup 2018-04-26 20:22:44 +00:00
Jan Malakhovski 912cfb8aaa buildPythonPackage: use config.doCheckByDefault 2018-04-26 20:15:52 +00:00
Jan Malakhovski 845fa56921 stdenv: cleanup things a little bit 2018-04-26 20:15:51 +00:00
Jan Malakhovski d834ba6654 stdenv: introduce and use config.doCheckByDefault option 2018-04-26 20:15:47 +00:00
Jan Malakhovski 43dbc268cb gccCrossStageStatic: don't override name 2018-04-26 15:07:06 +00:00
Jan Malakhovski 82dd4501f4 bintools-wrapper, cc-wrapper: don't add targetPrefix the second time
... binutils and gcc add it already anyway.

Without this it's easy to get cross-toolchain paths longer than 256
chars and nix-daemon will then fail to commit them to /nix/store on XFS.
2018-04-26 15:06:52 +00:00
Jan Malakhovski 50af975d85 stdenv: implement checkTarget and installCheckTarget autodetection 2018-04-25 19:53:25 +00:00
Jan Malakhovski e9e06888ed stdenv: generic/setup.sh: cleanup installPhase 2018-04-25 19:53:25 +00:00
Jan Malakhovski ad98c36f1b stdenv: generic/setup.sh: simplify buildPhase Makefile check 2018-04-25 19:53:24 +00:00
Jan Malakhovski d531a1e967 texinfo: merge expressions for 5.2 and 6.5
Also add me as a maintainer.
2018-04-25 19:50:55 +00:00
Jan Malakhovski 3c7f6572ce bash: simplify expression, add withDocs option 2018-04-25 19:50:54 +00:00
Jan Malakhovski a809fdc8e1 stdenv: linux: stop recompiling texinfo
This makes stdenv bootstraping a bit more efficient.
We don't recompile most of other stuff used in bootstrapping stdenv too.
2018-04-25 19:50:54 +00:00
Jan Malakhovski bd1d0e0292 flashrom: fix build with gcc7 2018-04-25 04:21:27 +00:00
Jan Malakhovski 7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Jan Malakhovski 2460063575 nixos: installer: cleanup a bit 2018-04-25 00:55:22 +00:00
Jan Malakhovski 2afd3c901e gcc: prepend crossNameAddon instead of appending it (like binutils does) 2018-04-25 00:41:14 +00:00
Jan Malakhovski fbd4563b53 nixos: documentation: implement documentation.dev.enable option
I know that "devinfo" output does not currently exist, but so does "devman".
It is mentioned in the nixpkgs manual, but no derivation in nixpkgs actually uses it.
2018-04-23 15:08:58 +02:00
Jan Malakhovski 483815a743 nixos: documentation: move some code around, make docstrings more informative 2018-04-23 15:08:58 +02:00
Jan Malakhovski c3148948ff memtest86plus: 5.01 -> 5.01+coreboot-20180113
aka 5.01+coreboot-001+

The version maintained by coreboot project is superior to Debian, it
integrates all the Debian patches and fixes a bunch more bugs.

In particular, it fixes SMP freezes and apparent memory errors when
running under coreboot ROM.
2018-04-22 21:51:05 +03:00
Jan Malakhovski 7de43f38e0 memtest86plus: disable all hardening
With hardening enabled it reports errors on known-good memory modules
on my Thinkpad X230 (Ivy Bridge). It's the same bug as reported in
https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/1071209 but
memtest86+ fails on test #9 instead of test #7 (because #7 in 4.20
became #9 in 5.01) and with all the addresses multiplied by 2 (I guess
the bug was reported for i686, and I test on x86_64, it was 2012 after
all).
2018-04-22 21:51:05 +03:00
Jan Malakhovski b57a6e9a5f nixos: rename.nix: fix bugs
Introduced in 286b007bd3 and then
in 2e6b796761.

This a proper fix for what 70c6f6572d tried to do.
Removing the "config" prefix triggers the bug on pure nixos too, not only
on nixops.
2018-04-17 09:05:21 +00:00
Jan Malakhovski 4018d44641 Revert "nixos/version: fix nixops pre 1.6 compatibility"
This reverts commit 70c6f6572d.
2018-04-17 09:05:20 +00:00
Jan Malakhovski 44b8202cab nixos: tcpcrypt: /var/run -> /run, don't drop files out of rundir 2018-03-30 06:56:38 +00:00
Jan Malakhovski 02da27de52 nixos: dysnomia: move into services subtree 2018-03-30 06:56:12 +00:00
Jan Malakhovski 98fd9b7f86 nixos: doc: introduce documentation config subtree 2018-03-30 06:52:26 +00:00
Jan Malakhovski 11f43a2ce9 perlPackages.MathVecStat: init at 0.08 2018-03-30 06:49:31 +00:00
Jan Malakhovski 55a101e002 perlPackages.PodPerldoc: 3.25 -> 3.28 2018-03-30 06:49:31 +00:00
Jan Malakhovski 302c170e1c nixos: replace optionals -> optional in nsswitch 2018-03-30 06:44:18 +00:00
Jan Malakhovski 6d7854a9a8 nixos: users-groups: cleanup 2018-03-30 06:40:13 +00:00
Jan Malakhovski d0849b6fdd tahoe-lafs: run tests 2018-03-30 06:27:25 +00:00
Jan Malakhovski 23a814e1ad tahoe-lafs: build HTML and info documentation 2018-03-30 06:26:59 +00:00
Jan Malakhovski 7e00b9d652 tahoelafs: rename to tahoe-lafs 2018-03-30 06:26:39 +00:00
Jan Malakhovski c7cf808ff8 libva: make libva-full the default
It seems that all uses of `libva` it in nixpkgs except `mesa` and itself actually
either will gain from using `libva-full` instead of `libva-minimal` by default
or simply won't care.
2018-03-26 14:02:06 +03:00
Jan Malakhovski 8f6f69cb0f nvidia_x11.settings: fix build 2018-03-26 14:02:06 +03:00
Jan Malakhovski 53af02b5bb kodi: fix build 2018-03-26 14:02:06 +03:00
Jan Malakhovski 98a8a9b08a webkitgtk218x: fix build 2018-03-26 14:02:06 +03:00
Jan Malakhovski e822c85287 spice-gtk: fix build 2018-03-26 14:02:06 +03:00
Jan Malakhovski 228eee6cd4 qemu: fix options 2018-03-26 14:02:06 +03:00
Jan Malakhovski 8bbd48e40f nixos: fix install-grub.pl dependencies
fallback from updates to perl
2018-03-15 04:51:12 +00:00
Jan Malakhovski 3e3d72b95a xenPackages: deprecate Xen 4.5, security support ended 2018-03-10 21:35:55 +00:00
Jan Malakhovski 7079e744d4 Merge branch 'master' into staging
Resolved the following conflicts (by carefully applying patches from the both
branches since the fork point):

   pkgs/development/libraries/epoxy/default.nix
   pkgs/development/libraries/gtk+/3.x.nix
   pkgs/development/python-modules/asgiref/default.nix
   pkgs/development/python-modules/daphne/default.nix
   pkgs/os-specific/linux/systemd/default.nix
2018-03-10 20:38:13 +00:00
Jan Malakhovski 23e2ea9cba firefoxPackages: add a patch to fix pulseaudio initialization bug
This is optional (`libcardiacarrest` has a workaround for this bug
because there's `firefox-bin` that I can't fix), but with this applied things
are a bit smoother.
2018-03-09 21:21:06 +00:00
Jan Malakhovski 7cd02c8a4c pamixer: apply a patch to fix pulseaudio initialization bug 2018-03-09 20:49:31 +00:00
Jan Malakhovski 0712a61ac1 pkgs: reorganize things related to libpulseaudio 2018-03-09 20:49:30 +00:00
Jan Malakhovski 0b60cb9310 libcardiacarrest: init at 11.0-6 2018-03-09 20:49:30 +00:00
Jan Malakhovski 82c6426916 apulse: 0.1.11 -> 0.1.11 git, enable tracing by default
This adds LOG_TO_STDERR support and uses it for tracing.
2018-03-09 20:48:24 +00:00
Jan Malakhovski a1832cf633 firefoxPackages.tor-browser: update meta 2018-03-09 15:29:33 +00:00
Jan Malakhovski 2af121e687 libpressureaudio: better descriptions 2018-03-09 15:29:29 +00:00
Jan Malakhovski bf448029d9 vpnc: fix url 2018-03-09 15:05:43 +00:00
Jan Malakhovski 5797ba9d4a pkgs: tiny OCD fix 2018-03-09 15:05:41 +00:00
Jan Malakhovski 2e3077c907 SDL: propagate X11 libs even when building statically against them on Darwin
Packages like SDL_image, SDL_mixer, SDL_net, SDL_ttf depend on this.

This reverts a piece of 19130ebc5d.
2018-03-08 11:21:04 +00:00
Jan Malakhovski 19130ebc5d SDL: build statically against x11 on Darwin 2018-03-06 15:57:27 +00:00
Jan Malakhovski 39319f3a75 SDL2: don't compile any static outputs
After the previous patch there's no reason to have them. But I didn't try to
rebuild every single thing that depends on this, so try reverting this patch first
if something does break and you can't fix it.
2018-03-06 15:43:29 +00:00
Jan Malakhovski f114118842 SDL, SDL2: don't link statically to any of the inputs 2018-03-06 15:43:27 +00:00
Jan Malakhovski 6166027ca8 SDL, SDL2: cleanup and cross-pollinate with useful changes to either expression 2018-03-06 15:42:26 +00:00
Jan Malakhovski d3c3364bfa SDL: add a patch to fix https://bugzilla.libsdl.org/show_bug.cgi?id=1769 2018-03-06 15:24:56 +00:00
Jan Malakhovski 610b5b8045 rename lib/maintainers-list.nix into maintainers/maintainer-list.nix
Many commits unrelated to `lib` touch that file, this will make `git log ./lib` much saner.

This is what I meant in https://github.com/NixOS/nixpkgs/pull/36119#issuecomment-370184101.
2018-03-06 14:15:21 +00:00
Jan Malakhovski 1d4f3fa371 stdenv: check-meta: fix fallout from #36119 2018-03-06 14:14:17 +00:00
Jan Malakhovski 7966e0efeb telegram/tdesktop: fix pulseaudio references 2018-03-06 13:46:28 +00:00
Jan Malakhovski 0c7b8931f9 firefox-bin: fix pulseaudio references 2018-03-06 13:46:27 +00:00
Jan Malakhovski 1e36cea00c libmatthew-java: fix 2018-03-04 05:13:19 +01:00
Jan Malakhovski 1fe5badd05 dbus-java: fix 2018-03-04 05:13:19 +01:00
Jan Malakhovski d45e39c9a9 bash, bashInteractive: install manpages for both variants
This mostly reverts commit bd0e161f0c.
2018-02-26 22:46:35 +00:00
Jan Malakhovski 49afe1d490 stdenv: darwin: give distinct names to all the stages 2018-02-26 22:46:34 +00:00
Jan Malakhovski e654d9a9ca stdenv: linux: give distinct names to all the stages
Mainly for debugging.
2018-02-26 22:46:34 +00:00
Jan Malakhovski 522437362a stdenv: linux, darwin: don't build documentation for the the intermediate stages
For the cc of the intermediate stages, to be precise. Doing the same for
bintools requires lots of refactoring.

This is mainly for the future extensibility as now you can change
documentation generation with impunity without rebuilding the
whole of stdenv.
2018-02-26 22:45:10 +00:00
Jan Malakhovski f1074211ce cc-wrapper: allow building without documentation, propagate info pages 2018-02-26 22:42:33 +00:00
Jan Malakhovski 0ab1067d12 bintools-wrapper: allow building without documentation 2018-02-26 22:42:32 +00:00
Jan Malakhovski 4997ac681d mono: add 5.8.108 (current stable) 2018-02-20 11:25:54 +01:00
Jan Malakhovski a89899ce4e fetchurl: cleanup, better errors
Also fix what seems like bugs in uncommon `stdenv`s.
2018-02-18 14:24:53 +00:00
Jan Malakhovski 23e68d119d xenPackages.xen_4_8-vanilla: stop overriding cc
Nothing requires gcc49 in this version.
2018-02-18 13:46:51 +00:00
Jan Malakhovski b1047f34f7 xenPackages.xen_4_8-vanilla: fix build of qemu-xen
They merged that XSA and moved the tag.
2018-02-18 13:46:44 +00:00
Jan Malakhovski 810c4702cf stdenv.mkDerivation: rename meta.evaluates -> meta.available
A much better name.
2018-02-18 13:33:25 +00:00
Jan Malakhovski c6d8a58e8d nixos: allow overriding labels with environment variables
This reintroduces a better version of what 2a05368ff3 removed.
2018-02-18 12:56:31 +00:00
Jan Malakhovski 0fd8ce96ac nixos: introduce system.nixos.tags 2018-02-18 12:56:31 +00:00
Jan Malakhovski 2e6b796761 nixos: rename config.system.nixos* -> config.system.nixos.* 2018-02-18 12:56:30 +00:00
Jan Malakhovski 09512be289 nixos: use nixosLabel in more places 2018-02-18 12:56:30 +00:00
Jan Malakhovski 8200e08b0b nixos: move nixosLabel to its own module 2018-02-18 12:56:30 +00:00
Jan Malakhovski e1782e342f nixos: add system.boot.loader.initrdFile option and use it where appropriate 2018-02-18 12:56:29 +00:00
Jan Malakhovski 2f4eb68241 libpressureaudio: init at apulse.version 2018-02-17 17:51:07 +00:00
Jan Malakhovski 771d635f0e apulse: 0.1.10 -> 0.1.11 2018-02-17 16:02:53 +00:00
Jan Malakhovski dcad8f1654 firefox: patch to fix bug 1430274 (broken ALSA output) in 58, add more comments 2018-02-16 17:01:30 +00:00
Jan Malakhovski b468f98b02 nixos: doc: trivial cleanup and docstring fix 2018-02-11 22:41:06 +00:00
Jan Malakhovski 252ec7da0a nixos: doc: make option sorting somewhat more efficient 2018-02-11 22:07:11 +00:00
Jan Malakhovski a3a8c1f54d lib: export option location in optionAttrSetToDocList 2018-02-11 22:04:09 +00:00
Jan Malakhovski 5e41e65f5f tor-browser: remove outdated 6.5.2 2018-02-11 16:19:11 +00:00
Jan Malakhovski 21080e627b tor-browser: 7.0.1 -> 7.5.2 2018-02-11 16:19:10 +00:00
Jan Malakhovski 97c43bf285 firefox: common: cleanup configure phase 2018-02-11 16:19:10 +00:00
Jan Malakhovski a2cf5577c2 firefox: common: tiny cleanup 2018-02-11 16:19:04 +00:00
Jan Malakhovski f036df0321 libclc: 2017-02-25 -> 2017-11-29 2018-02-10 15:07:14 +00:00
Jan Malakhovski d64748295a ocl-icd: fix cross-compilation 2018-02-10 15:07:14 +00:00
Jan Malakhovski 63a1c0c807 ocl-icd: provide a variant for each opencl-headers version 2018-02-10 15:07:13 +00:00
Jan Malakhovski 67a058eda7 opencl-headers: 2016-11-29 -> 2017-07-18, provide multiple versions 2018-02-10 15:07:13 +00:00
Jan Malakhovski 7f7e117c94 hwloc: disable x11 by default
I think nothing actually uses what this feature provides but all headless
machines suffer.
2018-02-10 15:07:12 +00: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