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
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
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
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
Jan Malakhovski
41df994001
lib: deprecate addPassthru
2018-01-14 19:54:47 +00:00
Jan Malakhovski
85cd22cf7d
treewide: replace addPassthru
2018-01-14 19:53:57 +00:00
Jan Malakhovski
8606dd8556
lib: change the order of arguments of addPassthru
2018-01-14 13:24:30 +00:00
Jan Malakhovski
fac3d49e48
stdenv: provide meta.name
2018-01-14 13:24:30 +00:00
Jan Malakhovski
50148f0630
stdenv: hide name under check-meta assert
...
This is a temporary workaround to make `nix-env -qa` and `nix search` ignore
broken packages as they they did before this patchset.
This patch should be reverted after `nix` gets a proper fix for this.
See NixOS/nix#1771 .
2018-01-14 13:24:30 +00:00
Jan Malakhovski
eaee2a1199
stdenv: implement config.checkMetaRecursively
...
This option makes `meta.evaluate` into a close approximation of the result of
evaluating `.outPath` by checking all the dependencies recursively at a cost of
2x slowdown. Note that actually evaluating `.outPath` costs some
5x-7x more because `.outPath` also computes all the hashes.
2018-01-14 13:24:30 +00:00
Jan Malakhovski
ecd3990cd4
stdenv: provide meta.evaluates
...
This gives a way to see the result of `check-meta` without triggering any assertions.
2018-01-14 13:24:29 +00:00
Jan Malakhovski
9956687151
stdenv: change some indent
2018-01-14 13:24:22 +00:00
Jan Malakhovski
d1d5ecb3bf
stdenv: perform checks only when evaluating .drv and .out
...
This pushes check-meta evaluation to derivation evaluation step, leaving all other
attributes accessible.
Before this commit:
> $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen --argstr system aarch64-linux
> Package ‘xen-4.5.5’ in pkgs/applications/virtualization/xen/generic.nix:226 is not supported on ‘aarch64-linux’, refusing to evaluate.
as expected
> $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen.name --argstr system aarch64-linux
> Package ‘xen-4.5.5’ in pkgs/applications/virtualization/xen/generic.nix:226 is not supported on ‘aarch64-linux’, refusing to evaluate.
> $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen.meta.description --argstr system aarch64-linux
> Package ‘xen-4.5.5’ in pkgs/applications/virtualization/xen/generic.nix:226 is not supported on ‘aarch64-linux’, refusing to evaluate.
which is unfortunate since its impossible to use packages in autogenerated
documentation on all platforms.
After this commit:
> $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen --argstr system aarch64-linux
still fails
> $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen.name --argstr system aarch64-linux
> "xen-4.5.5"
> $ HOME=/homeless-shelter NIX_PATH=nixpkgs=$(pwd) nix-instantiate --eval --strict ./default.nix -A xen.meta.description --argstr system aarch64-linux
> "Xen hypervisor and related components (vanilla)"
2018-01-03 12:20:25 +00:00
Jan Malakhovski
b1ca8517ee
lib: generalize addPassthru to extendDerivation
2018-01-03 12:20:24 +00:00
Jan Malakhovski
ea477463a2
libtoxcore-old: remove unused derivation
2017-12-17 14:33:45 +00:00
Jan Malakhovski
3be0e1bd72
nixos/xen-dom0: add related packages, make it play well with them
2017-12-07 21:27:32 +00:00
Jan Malakhovski
7a92c2074d
xen, qemu: passthru the path to qemu-system-i386
2017-12-07 21:27:32 +00:00
Jan Malakhovski
f56b5824ad
nixos/tmux: use related packages
2017-12-07 21:27:28 +00:00
Jan Malakhovski
67ec6371d5
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.
2017-12-07 21:26:35 +00:00
Jan Malakhovski
182463dc79
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
> ...
2017-12-07 21:26:34 +00:00
Jan Malakhovski
bccab965b9
lib: implement compare, splitByAndCompare, and compareLists
2017-12-07 21:26:30 +00:00
Jan Malakhovski
1858e8909e
tree-wide: fix either check-meta or meta attrs of all the packages I evaluate
2017-12-05 13:46:52 +01:00
Jan Malakhovski
8ae51ff9c1
stdenv/generic/check-meta: fix error message evaluation
2017-12-05 13:46:52 +01:00
Jan Malakhovski
d43b41fd5e
firmware-linux-nonfree: 2017-10-09-iwlwifi-fw-2017-11-03 -> 2017-10-13-iwlwifi-fw-2017-11-15
...
Also switch to https for privacy and use shallow fetches to save on network bandwidth.
2017-12-05 11:46:43 +00:00