Commit Graph
100 Commits
Author SHA1 Message Date
Bjørn Forsman ee56a2cc19 treewide: fix typo: asumed -> assumed 2018-08-30 10:19:20 +02:00
Bjørn Forsman ee1b7bf831 aspellDicts: use shortName to keep DRY
Prevents typos like the ones fixed in the parent commit.
2018-08-11 21:35:37 +02:00
Bjørn Forsman ada797e9aa aspellDicts: fix typos in shortName
Affected dicts: nn, pt_BR, pt_PT
2018-08-11 21:35:37 +02:00
Bjørn Forsman 970d5ef198 cgit: 1.1 -> 1.2.1
Fixes CVE-2018-14912.
2018-08-09 01:03:31 +02:00
Bjørn Forsman 09fcfb6168 Merge pull request #36621 from jfrankenau/init-rapid-photo-downloader
rapid-photo-downloader: init at 0.9.9
2018-07-31 01:59:50 +02:00
Bjørn Forsman 7dbd9a6378 lttng-modules: use kernel.moduleBuildDependencies
Instead of explicitly depending on libelf, use
kernel.moduleBuildDependencies which was introduced in 1e77d0b975
("kernel 4.14 require libelf to compile modules.").
2018-06-08 18:25:39 +02:00
Bjørn Forsman 0f8594170a lttng-modules: add 'libelf' to fix build against linux 4.14
Fixes this:

$ nix-build -A linuxPackages.lttng-modules
[...]
/nix/store/...-linux-4.14.48-dev/lib/modules/4.14.48/source/Makefile:948: \
  *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfu

(Linux 4.16+ has other issues, so mark as broken.)
2018-06-07 22:29:35 +02:00
Bjørn Forsman 8a5b142545 shutter: add missing dependencies for Screenshot->Export (Ctrl+U) support
However, none of the exporters I tried actually _worked_, but now
shutter at least returns an error to the user (pop-up UI element)
instead of silently hanging and only leaving messages on stdout/stderr
about the missing deps.

AFAICS, this changes the failure of Screenshot->Export functionality
from a packaging bug to an application bug (upstream).
2018-04-19 19:02:58 +02:00
Bjørn Forsman 80b6513fbf nixos: enable bash command completion by default
Because it improves out-of-the-box user experience a lot (IMHO).
(zsh completion is already on by default.)

Remove "programs.bash.enableCompletion = true" from
nixos-generate-config.pl, which feels superflous now.
2018-04-13 18:36:51 +02:00
Bjørn Forsman 1c2c7a976c smc: 6.6.0 -> 6.6.3 2018-03-31 20:49:46 +02:00
Bjørn Forsman 6ba7677665 pythonPackages.autopep8: 1.3.4 -> 1.3.5 2018-03-31 20:35:00 +02:00
Bjørn Forsman 5de8f99f03 nixos/jenkins: ensure postStart follows redirects
Pass the -L flag to curl to make it follow redirects. This fixes an
issue I found when setting up reverse proxy for Jenkins. Without this
fix, the returned HTTP code was stuck at 302, making postStart fail the
service (it expects 200 or 403).
2018-03-02 08:48:38 +01:00
Bjørn Forsman 9cad2a4f4a openocd: unbreak gcc7 build 2018-02-19 00:41:28 +01:00
Bjørn Forsman 09cf3506fa qt5X.full: add "-full" to package name
This aligns the package name more with the attrname.

This is a re-application of the idea behind 7405af72e6
("qt: make package names of "full" variants appear as such"), which
seems to have been lost on the way.
2018-02-18 14:44:16 +01:00
Bjørn Forsman d84f18e288 nixos/postfix: document that *Alias options support comma separated values
For the longest time I thought there could be only one rootAlias.
2018-02-18 13:04:08 +01:00
Bjørn Forsman 7ab180999b qt510.full: add missing modules
Specifically: qtquickcontrols2, qtvirtualkeyboard, qtwebchannel,
qtwebengine, qtwebkit.

This fixes a regression since qt56.full.
2018-02-18 12:58:26 +01:00
Bjørn Forsman 23cdc3224a qt59.full: add missing modules
Specifically: qtquickcontrols2, qtwebchannel, qtwebengine, qtwebkit.

This fixes a regression since qt56.full.
2018-02-18 12:58:26 +01:00
Bjørn Forsman 8ea7a302bd make-fonts-cache: remove CACHEDIR.TAG file from Nix store
A CACHEDIR.TAG file indicates that the contents can be automatically
re-generated. This is not really true for Nix store paths. (Well _Nix_
can recreate them, but that's different.)

I noticed this issue as I was restoring full system backup that "for
some reason" always missed /nix/store/*-fc-cache (found by `nix-store
--verify --repair`). Turns out I was excluding caches from my backup...
2018-02-11 16:07:43 +01:00
Bjørn Forsman e193d8674b astyle: 2.05.1 -> 3.1 2018-02-03 22:48:20 +01:00
Bjørn Forsman be40296afe qmmp: 1.1.10 -> 1.2.0
Fixes build failure since recent merge of staging branch:

$ nix-build -A qmmp
[...]
AutoMoc error
-------------
Included moc files with the same name will be generated from different sources.
Consider to
 - not include the "moc_<NAME>.cpp" file
 - add a directory prefix to a "<NAME>.moc" include (e.g "sub/<NAME>.moc")
 - rename the source file(s)
Include conflicts
-----------------
"moc_hotkeymanager.cpp" included in
 - "/tmp/nix-build-qmmp-1.1.10.drv-0/qmmp-1.1.10/src/plugins/General/hotkey/hotkeymanager_win.cpp"
 - "/tmp/nix-build-qmmp-1.1.10.drv-0/qmmp-1.1.10/src/plugins/General/hotkey/hotkeymanager_x11.cpp"
would be generated from
 - "/tmp/nix-build-qmmp-1.1.10.drv-0/qmmp-1.1.10/src/plugins/General/hotkey/hotkeymanager.h"
 - "/tmp/nix-build-qmmp-1.1.10.drv-0/qmmp-1.1.10/src/plugins/General/hotkey/hotkeymanager.h"

make[2]: *** [src/plugins/General/hotkey/CMakeFiles/hotkey_autogen.dir/build.make:58: src/plugins/General/hotkey/CMakeFiles/hotkey_autogen] Error 1
2018-02-03 21:26:41 +01:00
Bjørn Forsman 6b834384f6 bitscope: create derivations with version info
So far the store paths produced by the bitscope derivations have been
version-less. Fix it.
2018-02-03 21:14:50 +01:00
Bjørn Forsman 75867d8967 liburcu: 0.9.3 -> 0.9.5 2018-02-01 08:04:09 +01:00
Bjørn Forsman f08e330ed4 lttng-modules: 2.10.0 -> 2.10.5
Fixes build failure against newer linux kernels.
2018-02-01 08:04:09 +01:00
Bjørn Forsman b13230ce24 wildmidi: 0.3.9 -> 0.4.2
0.4.2 fixes the following CVEs:
CVE-2017-11661
CVE-2017-11662
CVE-2017-11663
CVE-2017-11664

Fixes #33877.
2018-01-15 08:53:43 +01:00
Bjørn Forsman 3168fcd07b apache-directory-studio: init at 2.0.0.v20170904-M13
Changes v1 -> v2:
 * Move from 'applications/misc' to 'applications/networking' category.
2017-12-21 08:53:36 +01:00
Bjørn Forsman dc9ea840c1 lighttpd: add enableLdap option (default false) 2017-12-21 08:50:22 +01:00
Bjørn Forsman 7c481aa7c1 nixos/gitolite: copy hooks with force
This makes the commonHook option work also for (read-only) Nix store
paths. Currently it fails on the second activation, because the
destination is read-only.
2017-12-21 08:41:59 +01:00
Bjørn Forsman b53407461a nixos/lighttpd: update allKnownModules list
lighttpd 1.4.46+ got three new modules.
2017-12-15 07:47:45 +01:00
Bjørn Forsman c55a6eef86 gerrit: 2.14.3 -> 2.14.6 2017-12-13 16:42:33 +01:00
Bjørn Forsman 72e635a4cd lighttpd: 1.4.45 -> 1.4.48 2017-12-10 21:05:24 +01:00
Bjørn Forsman 40e08aa870 stm32flash: use ${name} in fetchurl to keep DRY 2017-11-27 08:02:01 +01:00
Bjørn Forsman 1e5bdbb273 Merge pull request #27344 from lukeadams/gnuradio-update
Gnuradio: Enable Darwin Support
2017-11-23 08:23:07 +01:00
Bjørn Forsman 7e9b186fe4 owncloud-client: unbreak build
By reusing the nextcloud patch to find the "Sql" module (Qt5Sql).

https://hydra.nixos.org/build/64533236/nixlog/1/tail
2017-11-22 20:18:24 +01:00
Bjørn Forsman 1e05951a09 pythonPackages.demjson: bring back package attribute
Commit 2ca086da82
("pythonpackages.deform_bootstrap: Remove seemingly dead package")
removed it by mistake.
2017-11-22 19:59:01 +01:00
Bjørn Forsman aedba5c2af nixos: run parted with --script option (3rd)
Doh, should have included this in previous commit.

Ref. 0ff4bb5f87
("nixos: run parted with --script option").
2017-11-19 22:55:12 +01:00
Bjørn Forsman bf338ab9ee nixos: run parted with --script option (2nd)
Ref. 0ff4bb5f87
("nixos: run parted with --script option")
2017-11-19 22:50:24 +01:00
Bjørn Forsman 3f36f167e6 nixos/pam: fix docs about path to u2f_keys file
Looking at upstream git repo (git://github.com/Yubico/pam-u2f.git) the
docs initially said the path was ~/.yubico/u2f_keys, but it was later
changed to ~/.config/Yubico/u2f_keys (in 2015).

I have run pam_u2f.so with "debug" option and observed that the correct
path indeed is ~/.config/Yubico/u2f_keys.
2017-11-17 17:50:40 +01:00
Bjørn Forsman b06c5a678d libfaketime: 0.9.6 -> 0.9.7
* Project is hosted on github.com.
* The -Wno-nonnull-compare fix is included in 0.9.7, so remove it from
  this package expression.
2017-11-15 08:06:27 +01:00
Bjørn Forsman 6c7c3beea3 keepassxc: rename from keepassx-community
I think the new name is more appropriate, see https://keepassxc.org/.
2017-11-08 08:48:54 +01:00
Bjørn Forsman aa12eddb6c pythonPackages.nwdiag: unbreak eval
Oops, this should have been part of commit afd4a17ee5
("pythonPackages.nwdiag: move to python-modules/"). I noticed 2 seconds
to late!
2017-10-29 22:53:27 +01:00
Bjørn Forsman ccc1f9a540 pythonPackages.usbtmc: 0.6 -> 0.8 2017-10-29 22:35:16 +01:00
Bjørn Forsman 82ababbd83 pythonPackages.pyusb: 1.0.0 -> 1.0.2
Also, fetchurl -> fetchPypi.
2017-10-29 22:35:16 +01:00
Bjørn Forsman 4b3f729172 pythonPackages.dpkt: 1.8 -> 1.9.1
* fetchurl -> fetchPypi
* Tests work now.
* Package is py3k compatible now.
2017-10-29 22:35:16 +01:00
Bjørn Forsman 5065f0f258 pythonPackages.pycollada: 0.4.1 -> 0.5
* fetchurl -> fetchPypi
2017-10-29 22:35:16 +01:00
Bjørn Forsman 454ad93a35 pythonPackages.construct: 2.8.10 -> 2.8.16 2017-10-29 22:35:16 +01:00
Bjørn Forsman 41b89d1577 pythonPackages.autopep8: 1.0.4 -> 1.3.3
The pep8 package is renamed to pycodestyle and autopep8 references the
new name.

(Also, fetchurl -> fetchPypi.)
2017-10-29 22:35:16 +01:00
Bjørn Forsman adac3e43fd pythonPackages.llfuse: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 1402436395 pythonPackages.pyev: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 05bf2bdba1 pythonPackages.usbtmc: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman aaa3608b4b pythonPackages.pyusb: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 086ad07ed6 pythonPackages.scapy: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 628e1b9b4e pythonPackages.seqdiag: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman fb3973a43e pythonPackages.robotframework-ride: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman b6d345c4b0 pythonPackages.robotframework: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 3ab65ef6bf pythonPackages.robomachine: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 6de28d760a pythonPackages.Pyro: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman afd4a17ee5 pythonPackages.nwdiag: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 9e76c950a7 pythonPackages.gevent: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 34dbc6c01c pythonPackages.dpkt: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 95f29282fb pythonPackages.pycollada: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 0bc9f75dc1 pythonPackages.construct: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 4c0582d47d pythonPackages.blockdiag: move to python-modules/ 2017-10-29 22:35:15 +01:00
Bjørn Forsman 36ff83402a pythonPackages.autopep8: move to python-modules/ 2017-10-29 22:34:01 +01:00
Bjørn Forsman 489cdc23fc pythonPackages.robotsuite: move to python-modules/
Easier maintenance when expressions are in separate files.
2017-10-29 11:51:31 +01:00
Bjørn Forsman 7357b369d5 pythonPackages.pyodbc: move to python-modules/
Easier maintenance when expressions are in separate files.
2017-10-29 11:51:23 +01:00
Bjørn Forsman 013da4ef66 pythonPackages.demjson: move to python-modules/
Easier maintenance when expressions are in separate files.
2017-10-29 11:51:19 +01:00
Bjørn Forsman b1e23a87b1 pythonPackages.bitstring: move to python-modules/
Easier maintenance when expressions are in separate files.
2017-10-29 11:50:59 +01:00
Bjørn Forsman 0b93dbe9d6 pythonPackages.robotsuite: 1.4.2 -> 2.0.0
* fetchurl -> fetchPypi
* Remove commented out doCheck
2017-10-29 11:26:57 +01:00
Bjørn Forsman 235a31b79f pythonPackages.pyodbc: 3.0.7 -> 4.0.19
* fetchurl -> fetchPypi
* Update homepage (old page still works, but tells user to got to
  github).
2017-10-29 11:26:57 +01:00
Bjørn Forsman 2e44d576fd pythonPackages.demjson: 1.6 -> 2.2.4
* fetchurl -> fetchPypi
* Tests work now.
* jsonlint is installed for us by package buildsys.
* Disable for python3.6 (build/test error).
2017-10-29 11:26:57 +01:00
Bjørn Forsman f6b0aa8ad5 pythonPackages.bitstring: 3.1.2 -> 3.1.5
* fetchurl -> fetchPypi
* Tests work now
* Update homepage
2017-10-29 11:26:57 +01:00
Bjørn Forsman 12d6fed2ba nixos/tests: enable prometheus test
As far as I can tell, we've had this test since 2015, but it was never
enabled.
2017-10-16 20:31:49 +02:00
Bjørn Forsman 774d05878a nixos/tests: unbreak prometheus test
Commit 271d3f7a43 ("prometheus service: globalConfig.labels is obsolete")
removed globalConfig.labels. Update the test config accordingly.
2017-10-16 20:31:49 +02:00
Bjørn Forsman 10e79d43f6 nixos/tests: add gitolite test 2017-10-16 19:22:07 +02:00
Bjørn Forsman 497108b456 nixos/atd: remove "batch" from setuid wrappers
"batch" is a shell script so invoking it via setuid wrapper never worked
anyway. (The kernel drops perms on executables with shebang.) A previous
nixpkgs commit made "batch" invoke the NixOS setuid "at" wrapper to gain
needed privileges.

Thanks to @yesbox for noticing.
2017-10-16 19:08:19 +02:00
Bjørn Forsman 943730ff9b nixos/tests: add basic test for services.atd 2017-10-16 19:08:19 +02:00
Bjørn Forsman 38e6ae8e44 at: fix permission errors with "batch" on NixOS
Fixes https://github.com/NixOS/nixpkgs/issues/12392
2017-10-16 19:08:19 +02:00
Bjørn Forsman 0ff4bb5f87 nixos: run parted with --script option
-s, --script: never prompts for user intervention

Sometimes the NixOS installer tests fail when they invoke parted, e.g.
https://hydra.nixos.org/build/62513826/nixlog/1. But instead of exiting
right there, the tests hang until the Nix builder times out (and kills
the build). With this change the tests would instead fail immediately,
which is preferred.

While at it, use "parted --script" treewide, so nobody gets build
timeout due to parted error (or misuse). (Only nixos/ use it, and only
non-interactive.)

A few instances already use the short option "-s", convert them to long
option "--short".
2017-10-14 15:29:02 +02:00
Bjørn Forsman d26f8b5e00 nixos/lighttpd: add missing modules to allKnownModules
The output of ./configure shows all modules/plugins, both enabled and
disabled. With this info we can finally build the _complete_ list of
modules. We were missing these:

  mod_authn_gssapi
  mod_authn_ldap
  mod_geoip

(I hit this as I was building lighttpd with ldap support and the NixOS
module said ldap was unsupported, due to these missing entries in
allKnownModules.)
2017-10-10 20:14:38 +02:00
Bjørn Forsman a0aeb376a9 plantuml: 1.2017.16 -> 1.2017.18 2017-10-07 11:27:29 +02:00
Bjørn Forsman 92852fd193 ccid: change patchPhase to postPatch
This stops the derivation from overriding the default patchPhase, which
right now prevents adding a list of patches in the "patches" attribute.
2017-10-06 12:09:56 +02:00
Bjørn Forsman e570198980 lshw: fix built-in version info
Currently lshw says its version is "unknown". Make it report the current
package version instead.
2017-09-30 11:39:30 +02:00
Bjørn Forsman 3c6eb3a247 nixos/iso-image.nix: add top-level /version.txt file
This makes it easy to identify which NixOS version is written to an USB
stick without actually booting it.
2017-09-28 00:54:28 +02:00
Bjørn Forsman d757d8142e vimPlugins.robotframework-vim: init at 2017-04-14 2017-09-25 22:24:13 +02:00
Bjørn Forsman 3a58e41e43 nixos/gitolite: use group 'gitolite' instead of 'nogroup'
Having files (git repositories) owned by 'nogroup' is a bad idea.
2017-09-23 16:33:52 +02:00
Bjørn Forsman 983d01421e fpart: init at 0.9.3 2017-09-17 13:04:09 +02:00
Bjørn Forsman a2a9b53e77 cdrkit: fix 'dirsplit' tool by depending on perl
Or else dirsplit uses "/usr/bin/perl" shebang.
2017-09-17 10:06:53 +02:00
Bjørn Forsman f557aa49fb Fix eval
$ nix-env -f . -qa '*' --meta --xml --drv-path --show-trace
error: while querying the derivation named ‘python2.7-rpkg-1.50’:
attribute ‘gpl2plus’ missing, at .../pkgs/development/python-modules/rpkg/default.nix:24:15

Introduced by commit c29a721350
("rpkg: 1.14 -> 1.50").
2017-09-17 09:41:28 +02:00
Bjørn Forsman 6b7a9376f1 nixos/wpa_supplicant: use literalExample
For various reasons, big Nix attrsets look ugly in the generated manual
page[1]. Use literalExample to fix it.

[1] Quotes around attribute names are lost, newlines inside multi-line
strings are shown as '\n' and attrs written on multiple lines are joined
into one.
2017-09-15 20:27:48 +02:00
Bjørn Forsman 67c70aa581 OVMF: add 'src' attribute
No functional change, but allows getting the source via the standard
attribute: `nix-build -A OVMF.src`.
2017-09-13 17:30:28 +02:00
Bjørn Forsman 56a047c7a1 doc/submitting-changes.xml: suggest "nixos/<module>" prefix for NixOS changes
Commit 8537cf0f81
("CONTRIBUTING.md: suggest "nixos/<module>" prefix for NixOS changes")
only changed CONTRIBUTING.md file and forgot about the Nixpkgs manual.
(I didn't know this information was stored in two places.)
2017-09-13 14:10:25 +02:00
Bjørn Forsman 6b9ee30672 nixos/gitolite: don't leak nix store hash into gitolite-admin username/key
It doesn't look good when the initial admin user is named
"<hash>-gitolite-admin" and the key stored as
"<hash>-gitolite-admin.pub". Instead, make it simply "gitolite-admin"
and "gitolite-admin.pub".
2017-09-12 10:56:11 +02:00
Bjørn Forsman fc02a0265a nixos/samba: remove space in "[ global ]" heading
Use consistent no-space style. (All documentation I've seen use no
space, and the generated section headings from the NixOS module also use
no space.)
2017-09-12 08:03:14 +02:00
Bjørn Forsman 88ae298467 qmmp: 1.1.9 -> 1.1.10 2017-09-11 20:07:03 +02:00
Bjørn Forsman 4b84127f1c qmmp: 1.1.5 -> 1.1.9 2017-09-11 19:58:11 +02:00
Bjørn Forsman f4bac5cdb7 wireshark: 2.4.0 -> 2.4.1
Remove patches that have been merged upstream.
2017-09-11 17:24:33 +02:00
Bjørn Forsman 835b2ccfa8 t1utils: 1.39 -> 1.41 2017-09-11 17:24:33 +02:00
Bjørn Forsman 421949e436 gsoap: 2.8.49 -> 2.8.53 2017-09-11 17:24:33 +02:00
Bjørn Forsman 0a7d124eb0 basex: 8.6.4 -> 8.6.6 2017-09-11 17:24:33 +02:00
Bjørn Forsman 0177902337 ascii: 3.15 -> 3.18 2017-09-11 17:24:33 +02:00