Commit Graph
84 Commits
Author SHA1 Message Date
Kirill ElaginandMario Rodas 084bd32bad postgresql: Fix formatting in option description
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
2020-05-13 23:33:08 +03:00
Kirill Elagin 652958eefa postgres: Do not log timestamp
By default, postgres prefixes each log line with a timestamp. On NixOS
logs are written to journal anyway, so they include an external
timestamp, so the timestamp ends up being printed twice, which clutters
the log.

* Add a module option to change the log prefix.
* Set it to upstream default sans timestamp.
2020-05-08 00:13:20 +03:00
Kirill Elagin 5470d96645 pgpgme: Fix build with python on macOS
* Replace LD_LIBRARY_PATH with OS-specific name (e.g. DYLD_LIBRARY_PATH
  on macOS).
* Disable Python tests on macOS, because they use gpg, which fails due
  to a very long socket path (https://github.com/NixOS/nix/pull/1085).

The former should be fixed upstream. The latter is a Nix-specific issue,
but it can be worked-around upstream by making Python tests respect
--disable-gpg-test.
2020-04-21 08:37:12 +02:00
Kirill Elagin daac85d991 fixup! systemd: Add prefix to unit script derivations
* Avoid extra string interpolation.
2020-04-20 12:01:54 +03:00
Kirill Elagin bff2c1258e gmailieer: 1.0 -> 1.1, rename to lieer 2020-04-19 21:59:13 +03:00
Kirill Elagin a9e9d37fc8 systemd: Add prefix to unit script derivations
Add a distinctive `unit-script` prefix to systemd unit scripts to make
them easier to find in the store directory. Do not add this prefix to
actual script file name as it clutters logs.
2020-04-17 13:55:48 +03:00
Kirill Elagin f1a78e1b5e fixup! systemd: Simplify unit script names 2020-04-17 13:44:48 +03:00
Kirill Elagin 5822d03851 systemd: Simplify unit script names
Current journal output from services started by `script` rather than
`ExexStart` is unreadable because the name of the file (which journalctl
records and outputs) quite literally takes 1/3 of the screen (on smaller
screens).

Make it shorter. In particular:

* Drop the `unit-script` prefix as it is not very useful.
* Use `writeShellScriptBin` to write them because:
  * It has a `checkPhase` which is better than no checkPhase.
  * The script itself ends up having a short name.
2020-04-17 10:17:46 +03:00
Kirill Elagin c0d1f26d42 gettext: Remove the rebuild optimisation hack 2020-01-31 15:49:26 -05:00
Kirill Elagin d9e4fc31ea gettext: Add macOS warning patch
gettext 0.20 fixed a bug with handling locale on macOS, but this caused
it to report an annoying warning on systems where “language”
differs from “region”. See Homebrew issue for details:
<https://github.com/Homebrew/homebrew-core/issues/41139>.

Add upstream patch that has not been released yet.
Details:
<https://www.mail-archive.com/bug-gnulib@gnu.org/msg36768.html>.
2020-01-30 21:22:32 -05:00
Kirill Elagin 0d774cdfd4 multitime: init at 1.4 2019-11-21 12:50:59 +03:00
Kirill Elagin 2e79c2d969 android: Install platform-tools binaries on all OSes 2019-11-19 22:29:21 +01:00
Kirill Elagin 2e8ed0f443 Revert "lvm2: enable parallel building" (#72823)
* Revert "lvm2: enable parallel building"

This reverts commit 494d2deebf.

I am getting

```
gcc: error: ../../device_mapper/libdevice-mapper.a: No such file or directory
```
2019-11-05 11:29:14 +01:00
Kirill Elagin 7cacaea1db gnu-efi: Use their crosscompilation support correctly
IIUC, previously, the cross-compilation support was done in a somewhat
hacky way and was, basically, special-cased for ARM.

Now we use the cross-compilation support intergrated into their own
build system.

Test:

* nix-build --arg crossSystem '(import <nixpkgs/lib>).systems.examples.musl64' '<nixpkgs>' -A gnu-efi
2019-11-03 13:29:30 +03:00
Kirill Elagin 8e912bcb30 fixup! Tweak cross-compilation of some netbsd stuff 2019-11-03 12:04:39 +03:00
Kirill Elagin 60944c7efd Tweak cross-compilation of some netbsd stuff
This makes, at least, the following packages compile with musl:

* netbsd.compat
* netbsd.getent
* netbsd.fts
2019-11-03 02:08:27 +03:00
Kirill Elagin 47a3b73b7f reuse: 0.4.1 -> 0.5.0 2019-10-15 18:34:54 +02:00
Kirill Elagin 18a95439ec haskell.buildStackProject: Pass nativeBuildInputs 2019-08-11 14:21:13 +03:00
Kirill Elagin a057dd2f8f reuse: 0.3.4 -> 0.4.1 2019-08-10 13:18:53 +03:00
Kirill Elagin a5180b1017 pythonPackages.license-expression: init at 0.999 2019-08-10 13:18:25 +03:00
Kirill Elagin 6ba379d604 pythonPackages.boolean-py: init at 3.6 2019-08-10 13:17:48 +03:00
Kirill Elagin 335373c965 telegraf: 1.9.2 -> 1.10.2
Note: For some reason, I had to manually tweak the hash of
      ApplicationInsights-Go generated by dep2nix.
2019-04-16 10:22:38 +02:00
Kirill Elagin 047def418e git: Do not split gitweb output
This partially reverts 9029ed933c as
`git-instaweb`, which comes with git, needs on gitweb and having them in
separate outputs results in a cycle.
2019-01-06 16:14:49 +03:00
Kirill Elagin 813c6d4664 git, gitweb: Fix git-instaweb
* Make the build system embed the correct path to gitweb into git-instaweb
* Move gitweb fixups to the git expression, to make sure that gitweb
used by git-instaweb is functional
* This will increase the closure size of git, but only with perlSupport
2019-01-06 14:56:54 +03:00
Kirill Elagin a162a562bd lighttpd: Enable tests
They seem to pass now, so why not.
2019-01-06 13:12:20 +03:00
Kirill Elagin bd141e9af1 lighttpd: Hide attr dependency behind an option
* Unbreak darwin
* It was unused anyway, as it is disabled by default
* Now there is an feature-argument to enable it
2019-01-06 13:12:19 +03:00
Kirill Elagin d94cbd4188 lighttpd: Disable WebDAV by default
* It is disabled by default in lighttpd itself
* Darwin doesn’t seem to have a function in libuiid that it needs
2019-01-06 13:12:14 +03:00
Kirill Elagin 121c264c7b b2sum: Update to master 2018-08-04 18:54:22 +03:00
Kirill Elagin 74732ec298 b2sum: init at 20160619 2018-08-04 17:59:20 +03:00
Kirill Elagin 6d5751bfa5 haskell: Add setup depends for Cabal 2018-06-18 16:22:21 -04:00
Kirill Elagin 43a62b66d0 ihaskell: Do not unset $PATH in the wrapper 2018-06-08 16:32:59 +02:00
Kirill Elagin 388b21436a wireguard-go: add myself as a maintainer 2018-05-19 14:25:57 +03:00
Kirill Elagin 95cf07fc95 wireguard: use fetchzip instead of fetchurl
Because cgit snapshots are not deterministic.
2018-05-19 13:09:14 +03:00
Kirill Elagin ab1dd9c585 wireguard-go: use fetchzip instead of fetchurl 2018-05-19 13:01:59 +03:00
Kirill Elagin 5f3480e04d wireguard-go: use deps2nix for dependencies 2018-05-19 13:01:41 +03:00
Kirill Elagin 3b44015e1a wireguard-go: use postPatch instead of patchPhase 2018-05-19 12:42:13 +03:00
Kirill Elagin b599f672e4 wireguard-go: init at 0.0.20180514 2018-05-19 11:19:33 +03:00
Kirill Elagin 865abfa609 wireguard: Enable tools on other platforms
Wireguard is now split into two pretty much independent packages:
`wireguard` (Linux-specific kernel module) and `wireguard-tools`,
which is cross-platform.
2018-05-19 01:17:26 +03:00
Kirill Elagin d70f426dfc mkdocs: Initialise at 0.16.3 2017-09-28 14:21:17 +03:00
Kirill Elagin ca5e22957c pythonPackages.livereload: 2.5.0 -> 2.5.1
Also move to development/python-modules.
2017-09-28 14:20:54 +03:00
Kirill Elagin 13d026e219 bind: Use rndc to control the daemon 2017-06-18 17:29:29 +03:00
Kirill Elagin e66d2753f3 nsd: Send stderr to /dev/null
nsd by default logs _both_ to syslog and to standard error which results
in all the messages ending up in the journal twice, the ones from stderr
with an ugly timestamp sticked in front of them.
2017-06-18 15:31:34 +03:00
Kirill Elagin b1f56b8b0c wirelessInterfaces: Add a missing parameter 2017-05-28 09:34:43 +03:00
Kirill Elagin 4f61dd7581 bonnie: Update Darwin patch 2017-04-11 16:23:10 +03:00
Kirill Elagin 2d1d8394e0 tarsnap: macOS 2017-02-06 05:21:19 +03:00
Kirill Elagin ade80db751 libnfc: Add missing dependency on readline
readline is used by the pn53x-tamashell example.
2017-02-05 03:21:59 +03:00
Kirill Elagin fcfe3c0909 jemalloc: 4.1.1 -> 4.3.1
Fixes #18466.
2016-11-12 21:13:11 +01:00
Kirill Elagin 22f2f6e045 gnupg: Use pintenty-mac on Darwin by default 2016-10-29 00:24:56 +03:00
Kirill Elagin 213dc21443 gnupg: Variable path to pinentry
This is needed for pinentry-mac which has the pinentry binary
at an OS X-ish path.
2016-10-29 00:24:51 +03:00
Kirill Elagin 62d9edb9b9 gnupg: Rename parameter x11Support -> guiSupport
Because it is really about GUI in general, not X11 (e.g. OS X).
2016-10-28 23:18:57 +03:00
Kirill Elagin 17b19977cf bonnie++: upgrade to 1.97
Also a patch with some OS X specific changes (stolen from Homebrew).
2016-06-16 19:49:46 +03:00
Kirill Elagin f49e9ce1be qutebrowser: Add @jagajaga as a maintainer 2015-06-28 02:38:01 +03:00
Kirill Elagin e2398a2361 qutebrowser: update to git master
qutebrowser is actively developed, sticking to stable
versions doesn’t make any sense.
Also fixed formatting.
2015-06-28 02:26:59 +03:00
Kirill Elagin 6209961810 pyqt5: make it actually 5.4.2 2015-06-28 02:18:58 +03:00
Kirill Elagin a35263d75e dmenu: build with Xft
It doesn’t make any sense to build dmenu without Xft. Really.
Extra bonus: getting rid of deprecated config.
2015-06-19 21:44:34 +03:00
Kirill Elagin 1bb72a8198 tabbed: update and add xft patch 2015-06-19 21:28:52 +03:00
Kirill Elagin e5b56cdfff firefox: add option to build with GTK3 (close #7743) 2015-06-11 21:15:48 +02:00
Kirill Elagin 29f431e2a4 cups-browsed: build with Avahi
Fixes 5409.
2015-04-13 23:21:44 +03:00
Kirill Elagin 82eed03bfa cups-filters: fix build on non-NixOS 2015-04-13 23:20:30 +03:00
Kirill Elagin efb4fe269e Yakuake: hardcode path to konsole 2015-03-21 18:57:28 -05:00
Kirill Elagin 370e40aef5 startkde: Fix kdostartupconfig5 path 2015-03-21 18:56:59 -05:00
Kirill Elagin 29808a11b6 startkde: Qt 5.4 is here 2015-03-21 18:56:49 -05:00
Kirill Elagin 356810b178 cupsd: rename cupsd.service to cups.service 2015-03-12 09:00:56 +03:00
Kirill Elagin 90a0fd8d43 keybase: update CLI to 0.7.7 2015-03-07 02:08:12 +03:00
Kirill Elagin 67d0e60f6c nox: Do not wrap
Fixes madjar/nox#17.
2015-01-09 21:34:48 +03:00
Kirill Elagin 75e211b102 xkb-switch: Update 2015-01-04 02:48:05 +03:00
Kirill Elagin 4b84049bd3 gitAndTools.hub: Update to 2.x 2015-01-04 02:28:38 +03:00
Kirill Elagin 766207ca1d zsh: profile-relative functions path
This is needed mostly for autocompletion.
2015-01-04 02:02:59 +03:00
Kirill Elagin 0c6d49da7d xsession: Start the right pulseaudio binary
Fixes #4663.
2014-10-27 15:43:19 +03:00
Kirill Elagin 751a01063d lib: Do not take string context into account
Close #2883.
2014-06-11 20:22:58 +02:00
Kirill Elagin f81434bdfe Fix trying to add users to non-existent groups 2014-06-11 13:36:15 +04:00
Kirill Elagin 1208dd4df0 Fix configuring apache with extra user/group
This fix is consistent with all the other modules.
2014-06-11 13:17:42 +04:00
Kirill Elagin 80721cdd41 Revert "Fix configuring httpd with custom user/group."
This reverts commit 08f9da2e8e.
2014-06-11 13:17:00 +04:00
Kirill Elagin a44fbeeaa4 samba: install pkg-config files
Close #2794, fixes #1341.
2014-05-30 13:46:02 +02:00
Kirill Elagin d15c34f677 zathura: mupdf plugin 2014-05-17 16:46:20 +04:00
Kirill Elagin cadbca8a6f openjpeg: provide .pc 2014-05-17 16:15:51 +04:00
Kirill Elagin a422c021b6 mupdf: build a shared library instead 2014-05-17 16:14:42 +04:00
Kirill Elagin fec634c25a mupdf: build with -fpic 2014-05-17 16:14:07 +04:00
Kirill Elagin 8dc287b88c Let users install fonts to their HOME directory 2014-04-29 12:27:03 +02:00
Kirill Elagin ca7978a09d ohci_pci is required in initrd since kernel 3.11 2014-04-21 15:42:05 +04:00
Kirill Elagin 72783a8c5b Add Symbola font 2014-02-28 21:55:07 +04:00
Kirill Elagin fce38e454b Make touchpad button mapping configurable 2013-11-03 13:00:49 +04:00
Kirill Elagin 1be62b87fe Handle invalid references 2012-06-20 23:28:53 -04:00
Kirill Elagin ba766ebcf4 Do not use old way of setting url and rev
This was breaking `nix-prefetch-git --url smth --ref smth` (when
expected hash is not specified)
2012-06-20 23:28:52 -04:00