Commit Graph
100 Commits
Author SHA1 Message Date
Jan Malakhovski 7c48015019 openssl: fix cryptodev fallout from d836b811cb 2018-11-22 09:45:34 +00:00
Jan Malakhovski 8dcf831978 fetchurl: mirrors: http -> https, https before http, http before ftp
Because HTTP has a higher probability of working behind proxies.
2018-11-22 09:38:22 +00:00
Jan Malakhovski 1b3629ef34 lib: implement setPrio
For when `hiPrio` and `lowPrio` are not enough.
2018-11-22 08:59:48 +00:00
Jan Malakhovski 58ff402b40 pkgs/test/nixos-functions: use dummy versioning
With this OfBorg and similar tools won't report this derivation as
changed every single time.
2018-11-19 19:26:52 +00:00
Jan Malakhovski ce5ba1ca44 mesa: don't require wayland things with wayland disabled (#50559) 2018-11-18 16:36:24 +01:00
Jan Malakhovski f78835e791 kodiPlugins.exodus: remove
No loner exists, I couldn't find an official replacement repo, should be
removed according to
https://github.com/NixOS/nixpkgs/pull/46196#discussion_r215762595
2018-11-18 11:19:20 +01:00
Jan Malakhovski e220331903 kodiPlugins.yatp: init at 3.3.2 2018-11-18 11:19:20 +01:00
Jan Malakhovski 607c6e78e7 kodiPlugins.simpleplugin: init at 2.3.2 2018-11-18 11:19:20 +01:00
Jan Malakhovski 60ba7d233e pythonPackages.requests: disable multiple outputs
The `dev` output is empty anyway.

The problem is that it interacts badly with other parts of python and
stdenv infrastructure. In particular, before this patch it installs
code into `out` output (with only generated `nix-support` in `dev`),
but `makePythonPath` then uses `propagatedBuildInputs` to generate
`PYTHONPATH` while stdenv selects `dev` outputs for
`propagatedBuiltInputs`. This results in `makePythonPath` linking to
the empty `dev` output in `PYTHONPATH`.

This reverts a piece of commit 28299f669a.
2018-11-18 11:19:20 +01:00
Jan Malakhovski ac09051cf5 pythonPackages.gpgme: inherit python
else building via e.g. `python3Packages.gpgme` produces the wrong result.
2018-11-18 09:08:06 +00:00
Jan Malakhovski e426758d0e vlc: fix build without qt5 2018-11-18 09:08:06 +00:00
Jan Malakhovski 980043347d mr: fix src
The tag was moved, the diff is fine.
2018-11-18 09:08:05 +00:00
Jan Malakhovski 50aef6015f curl: move option defaults from all-packages.nix to the derivation itself 2018-11-18 07:59:40 +00:00
Jan Malakhovski 38a32d9ccf redshift: introduce withGeolocation option
For simpler control.
2018-11-18 07:48:01 +00:00
Jan Malakhovski 9d35a02dab metrics.nix: add a metrick for the current number of packages as seen by nix-env 2018-11-17 10:24:46 +00:00
Jan Malakhovski 5f54bb9919 mdf2iso: fix src
Debian's anonscm is dead, they use a Gitlab instance now.

The hash changed because the branch was rebased upstream, the diff is
a noop.
2018-11-17 10:16:33 +00:00
Jan Malakhovski 1e7516a31c datefudge: fix src
Debian's anonscm is dead, they use a Gitlab instance now.
2018-11-17 10:16:32 +00:00
Jan Malakhovski fe50c0c096 cmake_2_8: fix fetchpatch src
Old link no longer works. There're other broken patches in that file,
but I was too lazy to investigate where one can download them now.
2018-11-17 10:16:30 +00:00
Jan Malakhovski 56802ad698 gnuradio-rds: fix src 2018-11-08 05:29:47 +00:00
Jan Malakhovski 67a5c0da41 tree-wide: fix all revs of fetchsvn 2018-11-08 05:29:47 +00:00
Jan Malakhovski 3902085b3f mesa: tiny cleanup 2018-11-08 05:20:19 +00:00
Jan Malakhovski c0a4e46714 qt5: use https, tiny cleanup 2018-11-08 05:20:19 +00:00
Jan Malakhovski f623f8c51e espeak-ng: tiny cleanup 2018-11-08 05:20:19 +00:00
Jan Malakhovski 2f5e4c733b lib: commitIdFromGitRepo: simplify a tiny bit 2018-11-08 05:20:18 +00:00
Jan Malakhovski d2d80e6d30 firefox: disable pulseaudio support on non-Linux by default 2018-11-08 05:20:18 +00:00
Jan Malakhovski 2403464720 nixos/release.nix: generalize modules copy-paste into makeModules 2018-11-08 05:20:09 +00:00
Jan Malakhovski d32f51c618 cc-wrapper, bintools-wrapper: simply symlink man and info outputs
With the previous commit `propagateDoc` is now always given the correct value
(i.e. it is never set to `true` when there are no `man` and `info` outputs).
Hence, we can simply symlink the original outputs to the wrapper outputs.

Pros:

- simpler, less indirection compared to `propagated-user-env-packages`,
- uses less inodes (1 symlink, which nix then simply automatically resolves
  and removes, vs. two directories and a file),
- makes direct references like "export MANPATH=${stdenv.cc.man}/share/man"
  simply work.

Cons:

- I'm not aware of any.

This and the previous commit together almost completely revert commits
fde7296a47,
fa41297209, and
c981787db9.
2018-11-07 08:37:51 +00:00
Jan Malakhovski 110f16e43e llvm_5: cleanup with a mass rebuild, but no idea why, and can not test 2018-10-21 18:26:37 +00:00
Jan Malakhovski eae890db12 gcc-*: homogenize and cleanup expressions with a mass rebuild 2018-10-21 18:26:37 +00:00
Jan Malakhovski 141eb8b843 anki: update meta 2018-10-19 21:59:47 +00:00
Jan Malakhovski 9f32d79ef4 remmina: reindent 2018-10-19 19:14:31 +00:00
Jan Malakhovski 972ec8b3be remmina: make gnome support optional
There's no runtime option to disable GNOME stuff, and storing things in
GNOME Keyring is very inconvenient for non-GNOME users.
2018-10-19 19:14:25 +00:00
Jan Malakhovski 8ec6322711 remmina: remove webkitgtk dependency
It was used by "survey" module which was removed in revision
d97920eb9b32dbe17b85f8eff12928d26c19fd3d of their repository
on 2016-12-13.

Meanwhile, WebKit plugin is a separate package
https://aur.archlinux.org/packages/remmina-plugin-webkit/
not packaged in nixpkgs.
2018-10-19 19:12:36 +00:00
Jan Malakhovski 0779d71915 anki: use send2trash from nixpkgs 2018-10-19 18:20:35 +00:00
Jan Malakhovski c57892462b nixos/networking: add hostname to /etc/hosts by default
We use `127.0.1.1` instead of `127.0.0.1` because some applications will fail if
`127.0.0.1` resolves to something other than `localhost`.

Debian does the same.

See #1248 and #36261.
2018-10-02 23:58:36 +00:00
Jan Malakhovski 1ece5041a4 nixos/networking: simplify /etc/hosts generation, add asserts
Since `networking.hosts` is properly typed all of that magic `/etc/hosts` generator
does can be dropped. People that disagree with the value of `networking.hosts` can
simply `mkForce`.
2018-10-02 23:58:35 +00:00
Jan Malakhovski 1a6ce11518 nixos: doc: fix minimal profile and installer configs 2018-09-24 21:07:59 +00:00
Jan Malakhovski 3c0cced272 nixos: doc: nixos-manual: fix assert 2018-09-24 21:07:55 +00:00
Jan Malakhovski 6ebad0821f bluez-alsa: init at 1.3.1 (#47236) 2018-09-24 22:42:20 +02:00
Jan Malakhovski 563d5b1c87 nixos: top-level: indent 2018-09-24 19:45:16 +00:00
Jan Malakhovski fece91537b nixos: top-level: evaluate assertions before warnings
or else at least the following config will fail with an evaluation error
instead of an assert

```
{
  services.nixosManual.enable = false;
  services.nixosManual.showManual = true;
}
```
2018-09-24 19:45:15 +00:00
Jan Malakhovski e0b5919197 gcc-*: homogenize and cleanup expressions without a rebuild
Looks scary but it is a noop.
2018-09-23 20:56:19 +00:00
Jan Malakhovski 0f3b89bbed nixos: doc: move non-service parts of service.nixosManual to documentation.nixos 2018-09-23 20:50:47 +00:00
Jan Malakhovski fe744d3fb1 nixos: doc: rename manual to manualHTML, cleanup references
Because when I see "config.system.build.manual.manual" after I forgot
what it means I ask "Why do I need that second `.manual` there again?".
Doesn't happen with `config.system.build.manual.manualHTML`.
2018-09-23 20:47:58 +00:00
Jan Malakhovski 87c0206038 linuxHeaders: cleanup with a mass rebuild 2018-09-23 17:57:17 +00:00
Jan Malakhovski d0c6bf0a73 libdaemon: cleanup with a mass rebuild 2018-09-23 17:57:17 +00:00
Jan Malakhovski d5ddae51bd pkgconfig: cleanup with a mass rebuild 2018-09-23 17:57:17 +00:00
Jan Malakhovski c77ba8b8f6 newt: cleanup with a mass rebuild 2018-09-23 17:57:17 +00:00
Jan Malakhovski 2067b2a524 texinfo: cleanup with a mass rebuild 2018-09-23 17:57:13 +00:00
Jan Malakhovski e51b70c714 libcardiacarrest: 12.1-6 -> 12.1-7 2018-09-23 17:46:43 +00:00
Jan Malakhovski ed10043f75 llvmPackages_6.libcxx: cleanup with a mass rebuild 2018-09-23 17:30:32 +00:00
Jan Malakhovski d2674c5e15 llvm_5: cleanup with a mass rebuild 2018-09-23 17:30:32 +00:00
Jan Malakhovski 1abf1971cd gcc7: cleanup with a mass rebuild 2018-09-23 17:30:32 +00:00
Jan Malakhovski b2c7a5a271 bintools-wrapper, cc-wrapper, stdenv: infer propagateDoc automatically
02c09e0171 (NixOS/nixpkgs#44558) was reverted in
c981787db9 but, as it turns out, it fixed an issue
I didn't know about at the time: the values of `propagateDoc` options were
(and now again are) inconsistent with the underlying things those wrappers wrap
(see NixOS/nixpkgs#46119), which was (and now is) likely to produce more instances
of NixOS/nixpkgs#43547, if not now, then eventually as stdenv changes.

This patch (which is a simplified version of the original reverted patch) is the
simplest solution to this whole thing: it forces wrappers to directly inspect the
outputs of the things they are wrapping instead of making stdenv guess the correct
values.
2018-09-23 17:29:56 +00:00
Jan Malakhovski 53c9efe9e5 gpgme: use default texinfo 2018-09-08 23:04:55 +00:00
Jan Malakhovski 7705c76c49 git: use default texinfo 2018-09-08 23:04:51 +00:00
Jan Malakhovski b23f6a3714 nixos: xdg: fix indent and eol spaces 2018-09-08 17:20:56 -05:00
Jan Malakhovski b7bd0561be Merge branch 'master' into staging 2018-09-08 22:08:32 +00:00
Jan Malakhovski 4e5e240770 nixos/release.nix: add configuration parameter 2018-09-08 21:49:12 +00:00
Jan Malakhovski c3593f3599 nixos/release.nix: import lib once 2018-09-08 21:49:08 +00:00
Jan Malakhovski fe0b5273cc nixos/release.nix: make makeNetboot more like makeIso 2018-09-08 21:49:06 +00:00
Jan Malakhovski 031e1cf674 kodiPlugins: simplify, generalize, implement kodiWithPlugins 2018-09-06 20:21:04 +00:00
Jan Malakhovski e883b86c0e kodiPlugins: inline commons.nix 2018-09-06 19:55:55 +00:00
Jan Malakhovski 1d64f70bd7 kodi: wrapper: set PYTHONPATH from plugins 2018-09-06 19:55:55 +00:00
Jan Malakhovski 02557dade2 kodi: passthu pythonPackages 2018-09-06 19:55:55 +00:00
Jan Malakhovski 88d69df250 kodi: wrapper: simplify 2018-09-06 19:55:55 +00:00
Jan Malakhovski 574f2a33c0 kodiPlugins.steam-launcher: fix what is clearly a bug 2018-09-06 19:55:54 +00:00
Jan Malakhovski 0b89ece569 Revert "texinfoInteractive: fixup build by using older perl"
This reverts commit 7a22083e12.
2018-09-05 16:39:37 +00:00
Jan Malakhovski 2ad99bcc82 texinfo: fix perl issues by applying patches from upstream 2018-09-05 16:39:36 +00:00
Jan Malakhovski 6abd75067a ffmpeg: add support for libssh and speex (#46078) 2018-09-05 17:17:01 +02:00
Jan Malakhovski 4e735835e0 nix: make AWS support optional 2018-09-05 14:35:15 +00:00
Jan Malakhovski c9fcabcf4b nix: fix a tiny option bug 2018-09-05 14:34:58 +00:00
Jan Malakhovski e48f2d0226 tor: disable parallel checking 2018-09-05 01:14:40 +00:00
Jan Malakhovski 20106e1066 gettext: disable parallel checking 2018-09-05 01:14:40 +00:00
Jan Malakhovski c63ca0a431 stdenv: implement enableParallelChecking option
Works similarly to `enableParallelBuilding`, but is set by default when
`enableParallelBuilding` is set. In my experience most packages that build
fine in parallel also check fine in parallel.
2018-09-05 01:14:39 +00:00
Jan Malakhovski 4092708261 treewide: cleanup some references to bash 2018-09-04 22:05:02 +00:00
Jan Malakhovski 7931d455a4 stdenv: linux: cleanup a bit 2018-09-04 22:04:56 +00:00
Jan Malakhovski 033ed93da2 all-packages.nix: cleanup a bit 2018-09-04 17:59:52 +00:00
Jan Malakhovski 1ee3c294bf all-packages.nix: rename emacs functions Gen -> For
This was introduced when it was unclear which suffix was better, but now it's
clear that the "For" convention won.
2018-09-04 17:59:51 +00:00
Jan Malakhovski a402c8f295 fbreader: 0.99.4 -> 0.99.6, switch to fetchFromGitHub, add more build options (#45840)
This, apparently, is not an official release (it's tagged, but the tarball is not
available on the official site), but this repo is the official repo mentioned on
the official site.

This fixes a bunch of very annoying bugs present in 0.99.4, e.g.

```
$ FBReader filename
```

does not crash anymore. Yay!
2018-09-02 21:47:06 +02:00
Jan Malakhovski e4babb32d5 treewide: write better docstrings for tor-browser things 2018-08-31 03:33:25 +00:00
Jan Malakhovski 8952375b48 nixos/shells: fix indent everywhere
to comply with `doc/coding-conventions.xml`
2018-08-30 13:20:39 +00:00
Jan Malakhovski cad8fc3447 firefoxPackages: avoid BINDGEN_CFLAGS on some versions
... to fix build; vcunat included the old ESR firefox, too.
2018-08-21 15:32:39 +02:00
Jan Malakhovski 1acbc939c5 stdenv: linux: inherit texinfo in stage4 instead of the final stdenv
This reverts commit a809fdc8e1 and then
achieves the same result (not rebuilding texinfo three times)
but without dragging bootstrap tools into the closure.
2018-08-12 11:47:18 +00:00
Jan Malakhovski 35c9435d15 binutils: disable installcheck for different targetPlatforms 2018-08-11 09:35:40 +00:00
Jan Malakhovski fed9423825 knot-dns: enable check, disable installcheck 2018-08-11 09:35:40 +00:00
Jan Malakhovski a77ee3b5a5 pixman: libpng is an optional dependency, not a member of checkInputs
Since it was used before, let's keep using it.
2018-08-11 09:35:40 +00:00
Jan Malakhovski 50176ef3fc glibmm: disable tests 2018-08-11 09:35:40 +00:00
Jan Malakhovski c23c2cf606 recode: disable tests 2018-08-11 09:35:40 +00:00
Jan Malakhovski 10a4cc14de system-config-printer: disable tests 2018-08-11 09:35:39 +00:00
Jan Malakhovski f360278c8d memtest86plus: disable tests 2018-08-11 09:35:39 +00:00
Jan Malakhovski 0a953cc803 strace: disable tests. Spooky! 2018-08-11 09:35:39 +00:00
Jan Malakhovski 441f3b548f vigra: disable tests 2018-08-11 09:35:39 +00:00
Jan Malakhovski 37f69cad82 twolame: disable tests 2018-08-11 09:35:39 +00:00
Jan Malakhovski 1d5e35fc61 sqlite: disable tests 2018-08-11 09:35:38 +00:00
Jan Malakhovski b2563a55b7 nifticlib: disable tests 2018-08-11 09:35:38 +00:00
Jan Malakhovski f3057114fb nss: disable tests 2018-08-11 09:35:38 +00:00
Jan Malakhovski d8cbcb75d4 libdbusmenu: disable tests 2018-08-11 09:35:38 +00:00
Jan Malakhovski 7371fe5493 libappindicator: disable tests 2018-08-11 09:35:38 +00:00
Jan Malakhovski ead797e78b gd: disable tests 2018-08-11 09:35:37 +00:00