Commit Graph
100 Commits
Author SHA1 Message Date
Bjørn Forsman 72d906a0ea nixos: fix "nixos-rebuild build-vm-with-bootloader" for EFI systems
(The first version of this change, in commit 39fad297fd, broke
`nix-build -A nixosTests.installer.simpleUefiSystemdBoot`. This is the
2nd version, which hopefully does not break anything.)

`nixos-rebuild build-vm-with-bootloader` currently fails with the
default NixOS EFI configuration:

  $ cat >configuration.nix <<EOF
  {
    fileSystems."/".device = "/dev/sda1";
    boot.loader.systemd-boot.enable = true;
    boot.loader.efi.canTouchEfiVariables = true;
  }
  EOF

  $ nixos-rebuild build-vm-with-bootloader -I nixos-config=$PWD/configuration.nix -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-20.09.tar.gz
  [...]
  insmod: ERROR: could not insert module /nix/store/1ibmgfr13r8b6xyn4f0wj115819f359c-linux-5.4.83/lib/modules/5.4.83/kernel/fs/efivarfs/efivarfs.ko.xz: No such device
  mount: /sys/firmware/efi/efivars: mount point does not exist.
  [    1.908328] reboot: Power down
  builder for '/nix/store/dx2ycclyknvibrskwmii42sgyalagjxa-nixos-boot-disk.drv' failed with exit code 32
  [...]

Fix it by setting virtualisation.useEFIBoot = true when needed.

Before:
* release-20.03: successful build, unsuccessful run
* release-20.09 (and master): unsuccessful build

After:
* Successful build and run.

Fixes #107255
2021-01-08 19:36:10 +01:00
Bjørn Forsman d0ecbe67b8 eclipses.plugins.cdt: fix hash
The last update had a copy-pasta error: the hash for jdt was also used
for cdt.

Fixes: 66a14b3e23 ("eclipses: 2020-09 -> 2020-12")
2020-12-28 20:54:33 +01:00
Bjørn Forsman 39fad297fd nixos: fix "nixos-rebuild build-vm-with-bootloader" for EFI systems
`nixos-rebuild build-vm-with-bootloader` currently fails with the
default NixOS EFI configuration:

  $ cat >configuration.nix <<EOF
  {
    fileSystems."/".device = "/dev/sda1";
    boot.loader.systemd-boot.enable = true;
    boot.loader.efi.canTouchEfiVariables = true;
  }
  EOF

  $ nixos-rebuild build-vm-with-bootloader -I nixos-config=$PWD/configuration.nix -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-20.09.tar.gz
  [...]
  insmod: ERROR: could not insert module /nix/store/1ibmgfr13r8b6xyn4f0wj115819f359c-linux-5.4.83/lib/modules/5.4.83/kernel/fs/efivarfs/efivarfs.ko.xz: No such device
  mount: /sys/firmware/efi/efivars: mount point does not exist.
  [    1.908328] reboot: Power down
  builder for '/nix/store/dx2ycclyknvibrskwmii42sgyalagjxa-nixos-boot-disk.drv' failed with exit code 32
  [...]

Fix it by setting virtualisation.useEFIBoot = true in qemu-vm.nix, when
efi is needed.

And remove the now unneeded configuration in
./nixos/tests/systemd-boot.nix, since it's handled globally.

Before:
* release-20.03: successful build, unsuccessful run
* release-20.09 (and master): unsuccessful build

After:
* Successful build and run.

Fixes https://github.com/NixOS/nixpkgs/issues/107255
2020-12-21 08:55:13 +01:00
Bjørn Forsman 8f13d3cada asciidoctor: add revealjs support
This allows creating HTML presentations with
`asciidoctor-revealjs presentation.adoc`.

NOTE: The generated HTML file implicitly depend on reveal.js (and I see
no good way to bundle it with Nix). Either provide reveal.js in a local
path next to the generated HTML file[1], or override the revealjsdir
attribute, for example by pointing to an URL (can also be a path):

  asciidoctor-revealjs -a revealjsdir=https://cdn.jsdelivr.net/npm/reveal.js@3.9.2 presentation.adoc

Implementation details:
1. Added "gem 'asciidoctor-revealjs'" to the Gemfile.
2. Ran "nix-shell -p bundler --run 'bundle lock --update'"
   from pkgs/tools/typesetting/asciidoctor/.
3. Hand edited Gemfile.lock to remove all but the asciidoctor-revealjs
   changes. (Rationale: allow backporting to release-20.09.)
4. Finish off with "nix-shell -p bundix --run 'bundix'".

[1] Of course Nix can help with _that_, but that's external to the
asciidoctor-revealjs program.
2020-12-05 15:20:35 +01:00
Bjørn Forsman 7ad5e816fa basex: fix build
An unmatched double quote in installPhase broke the build in the last update.
Fix it.

Reported by @solson (thanks!).

Fixes: 21b9c04a2c ("basex: 8.6.6 -> 9.4.3")
2020-10-25 08:12:25 +01:00
Bjørn Forsman 3d4e133e77 parallel: fix calculation of max line length
parallel >= 20200822 uses /bin/echo to calculate the max allowed line
length. Patch it to a correct path, so that it doesn't (silently) fail
and fall back to a low value of 324.

Before:
  $ parallel --max-line-length-allowed
  324

After:
  $ parallel --max-line-length-allowed
  131063

Fixes: 16ca8725ff ("parallel: 20200722 -> 20200822")
2020-10-24 09:55:06 +02:00
Bjørn Forsman 66f90b84b8 fatsort: 1.5.0.456 -> 1.6.2.605
The patch to set PREFIX needed updating to apply. Rewrite it in a way
that allows submitting upstream. That means we don't hardcode
PREFIX=$out inside the patch but allow the PREFIX to be passed to make
at build time.
2020-05-10 21:40:35 +02:00
Bjørn Forsman eb12149979 gnomeExtensions: add 'uuid' attr to all extensions
Some already have it, this adds it to the rest.

With all extensions having an 'uuid' attr we can do cool things like
declaratively enable extensions on NixOS.
2020-05-09 19:26:29 +02:00
Bjørn Forsman d394c82cde build-fhs-userenv: runCommand -> runCommandLocal (#77253)
It's a trivial derivation, no need to build remotely (it's slower that
way).
2020-02-14 20:16:49 +02:00
Bjørn Forsman 14e842ec02 openocd: fix build with new glibc
Fixes this build error:

  In file included from src/helper/options.c:38:
  /nix/store/dl4h1p847f2rsrsfvlmm6cxxx7q21kxj-glibc-2.30-dev/include/sys/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror=cpp]
     21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
        |  ^~~~~~~
  cc1: all warnings being treated as errors

Fixes: 48a997cd ("Merge #66528: glibc: 2.27 -> 2.30 (into staging)")
2020-02-10 16:27:08 +01:00
Bjørn Forsman f16019c58f opencc: fix build
LD_LIBRARY_PATH isn't expanded properly in makeFlags, so move it to
preBuild.

Fixes: 3cd8ce3bce ("treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH")
2020-02-03 16:49:41 +01:00
Bjørn Forsman 804fbc9c87 eclipses.plugins.cdt: fix source hash 2020-01-24 20:18:14 +01:00
Bjørn Forsman acca4bcbe5 Merge pull request #77775 from dtzWill/fix/fpart-musl-fts
fpart: fts (fix w/musl)
2020-01-16 13:15:03 +01:00
Bjørn Forsman 1a9fcf4f34 gnomeExtensions.gsconnect: 27 -> 30 (#76633) 2019-12-30 01:55:14 +01:00
Bjørn Forsman e488670764 makeDesktopItem: use runCommandLocal
This derivation only creates a simple text file, so it makes sense to do
it locally.

On my setup this reduces build time from 2.2s to 1.2s.
2019-12-08 20:47:27 +01:00
Bjørn Forsman 9e144d5527 wrap-qt-apps-hook.sh: wrap binaries in ./sbin/
wrap-qt-apps-hook.sh runs before move-sbin.sh, so programs in ./sbin are
currently not wrapped. Fix it.
2019-12-08 20:44:29 +01:00
Bjørn Forsman b345649811 uncrustify: 0.67 -> 0.70.1
It depends on python now (only build time).
2019-11-27 20:50:04 +01:00
Bjørn Forsman 0fd63b40b0 Revert "gnomeExtension.system-monitor-applet: mark as broken"
This reverts commit b9f3160c2a.

It builds and runs fine. I'm not sure why it was marked broken in the
first place, I successfully built it on commit b9f3160. A runtime issue
that was later fixed?
2019-11-18 20:57:55 +01:00
Bjørn Forsman 204bce4bfb treewide: improve more deprecation/removal messages
I missed these in 41832d9100 ("treewide: include missing package names
in deprecation/removal messages").

I changed "deprecated" to "removed" where needed.
2019-11-18 08:32:40 +01:00
Bjørn Forsman 41832d9100 treewide: include missing package names in deprecation/removal messages
Most deprecation/removal messages already do this, but these were
missing.

Now the user does not have to `--enable-trace` and parse the quite long
trace just to find the package name.
2019-11-18 08:15:09 +01:00
Bjørn Forsman 2c09cfc097 nixos-rebuild: add explicit option to enable (remote) sudo
Add --use-remote-sudo option. When set, remote commands will be prefixed
with 'sudo'. This allows using sudo remotely _without_ having to use
sudo locally (when using --build-host/--taget-host).
2019-11-07 17:03:12 +01:00
Bjørn Forsman 1ee040724a trompeloeil: 34 -> 35 2019-11-02 20:05:06 +01:00
Bjørn Forsman 13859d0bda eagle7: unbreak by using openssl 1.0 instead of 1.1
The default openssl version in nixpkgs is too new for eagle7 and it
fails to start:

  eagle: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
2019-10-23 16:54:12 +02:00
Bjørn Forsman 263a81e285 nixos-rebuild: support sudo + --target-host
This adds support for deploying to remote hosts without being root:

  sudo nixos-rebuild --target-host non-root@host

Without this change, only root@host is able to deploy.

The idea is that if the local command is run with sudo, so should the
remote one, thus there is no need for adding any CLI options.
2019-10-22 20:44:25 +02:00
Bjørn Forsman 3fc66462de qsynth: use qt5.mkDerivation
Fixes

  $ qsynth
  qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

  Aborted (core dumped)

(Also, take qt5.* attrs as input instead of the whole qt5 attrset itself.)
2019-10-10 23:58:45 +02:00
Bjørn Forsman 0a18e8f311 gnome3.accerciser: add missing dependency: setuptools
Fixes "ModuleNotFoundError: No module named 'pkg_resources'" messages in
the GUI.
2019-10-10 23:42:22 +02:00
Bjørn Forsman bf7a1d6afe retroarch: 1.7.5 -> 1.7.8.4
Fixes missing GUI elements.
2019-09-26 08:11:32 +02:00
Bjørn Forsman e584eba7f8 xdg-utils: add missing perl dependencies
Or else `xdg-screensaver suspend <WINDOW_ID>` fails with errors like:

  Can't locate Net/DBus.pm in @INC [...]

This increases the closure of xdg-utils from 53 MiB to 119 MiB.

(The issue was found when testing retroarch.)
2019-09-26 08:11:32 +02:00
Bjørn Forsman 5af0d0b5da kicad: fix build
Fix configure time error:
  ...
  ImportError: No module named wx
  CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
    wxPython/Phoenix does not appear to be installed on the system

Only build tested.

Fixes: f7e28bf5d8 ("Split buildPythonPackage into setup hooks")
2019-09-20 08:17:58 +02:00
Bjørn Forsman 6b3832a519 mdadm: fix path to sendmail
Without this, mdadm won't be able to send email notifications:

  $ sudo mdadm --monitor --scan --test
  sh: /nix/store/2v8jn0lxza72grcm6hciak9fpgm7xb3a-system-sendmail-1.0: Is a directory

Fixes: b074a40f74 ("mdadm: use shared system-sendmail")
2019-09-18 20:56:40 +02:00
Bjørn Forsman 879f851cfc gnome3.gnome-boxes: set maintainers = gnome3.maintainers
All packages under ./pkgs/desktops/gnome-3/apps/ are maintained by
gnome3.maintainers except this one. Fix it.
2019-09-17 23:59:04 +02:00
Bjørn Forsman 5667484b64 ntopng: mark as broken 2019-09-17 20:24:28 +02:00
Bjørn Forsman 6ba044c166 pythonPackages.demjson: disable on python 3
It doesn't seem to support _any_ python 3 versions.
2019-09-15 16:36:46 +02:00
Bjørn Forsman d6e65ec4a0 wrapQtAppsHook: skip directories
Prevents messages like this in the build log:

  grep: <PATH>/bin: Is a directory
2019-09-13 16:53:11 +02:00
Bjørn Forsman c6d516dfc4 wrapQtAppsHook: use patchelf --print-interpreter instead of isELFExec
Some executables are built as PIEs (e.g. keepassxc) and are technically
isELFDyn, not isELFExec. Without this change those executables will not
be wrapped.
2019-09-13 16:53:11 +02:00
Bjørn Forsman 1a1a7ed266 gnomeExtensions.system-monitor: 36 -> 38
Remove "broken = true" since this version supports GNOME 3.32.
2019-09-08 19:51:57 +02:00
Bjørn Forsman a920c2aabd v4l-utils: align attr with pkg name 2019-08-07 20:44:13 +02:00
Bjørn Forsman f6763cc130 v4l-utils: use qt5's mkDerivation
Fixes

  qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

See https://github.com/NixOS/nixpkgs/issues/65399
2019-08-07 20:40:08 +02:00
Bjørn Forsman a26168ff46 gqrx: use qt5's mkDerivation
Fixes

  qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

See https://github.com/NixOS/nixpkgs/issues/65399
2019-08-07 20:40:02 +02:00
Bjørn Forsman 76458054b8 Merge pull request #64770 from r-ryantm/auto-update/babeltrace
babeltrace: 1.5.6 -> 1.5.7
2019-07-15 12:53:41 +02:00
Bjørn Forsman 462944e5e3 Merge pull request #63985 from bjornfor/trompeloeil
trompeloeil: init at 34
2019-07-01 11:04:45 +02:00
Bjørn Forsman 4f4eaf5805 trompeloeil: init at 34
Trompeloeil is a header only C++14 mocking framework.
2019-07-01 08:50:21 +02:00
Bjørn Forsman 4cb1d299dd Merge pull request #63291 from r-ryantm/auto-update/lttng-ust
lttng-ust: 2.10.3 -> 2.10.4
2019-06-17 21:40:04 +02:00
Bjørn Forsman 8f551be935 nixos-generate-config: don't emit tmpfs entry for /tmp
Because it most likely comes from the boot.tmpOnTmpfs option in
configuration.nix (managed declaratively).
2019-06-16 16:21:54 +02:00
Bjørn Forsman 4213e48dd9 nixos-generate-config: add dm-snapshot module if LVM is detected
Without this, the system becomes unbootable if the user creates a LVM
snapshot and reboots.

Fixes https://github.com/NixOS/nixpkgs/issues/33646

(The same kind of problem was fixed in RHEL a few years back:
https://bugzilla.redhat.com/show_bug.cgi?id=1287940)
2019-06-16 15:30:54 +02:00
Bjørn Forsman 9e45f6feac nixos-generate-config: don't generate swapDevices for *files*
Up until now, the output has been the same for swap devices and swap
files:

  { device = "/var/swapfile"; }

Whereas for swap *files* it's easier to manage them declaratively in
configuration.nix:

  { device = "/var/swapfile"; size = 8192; }

(NixOS will create the swapfile, and later resize it, if the size
attribute is changed.)

With the assumption that swap files are specified in configuration.nix,
it's silly to output them to hardware-configuration.nix.
2019-06-16 15:26:33 +02:00
Bjørn Forsman 4755811a12 nixos-generate-config: add support for bcache
Add "bcache" to boot.initrd.availableKernelModules if a bcache device is
detected.

This fixes a problem I've had one too many times: I install NixOS and
forget to add "bcache", resulting in an unbootable machine (until fixed
with Live CD). Now NixOS will do it for me.
2019-06-10 21:22:07 +02:00
Bjørn Forsman 03398be1b9 saleae-logic: 1.2.28 -> 1.2.18
Yes, this is a downgrade. The .28 version is beta software, whereas .18
is the latest stable version.
2019-05-17 15:21:20 +02:00
Bjørn Forsman 83d56298aa lcov: 1.13 -> 1.14
No need to set BIN_DIR, MAN_DIR anymore, but have to set LCOV_PERL_PATH
now.
2019-03-17 11:04:02 +01:00
Bjørn Forsman 38ae8aed16 deadpixi-sam: remove duplicate alias
It is already listed in aliases.nix, and I managed to get this from Nix:

  error: Alias deadpixi-sam is still in all-packages.nix

Fixes: 218d81bc9d ("all-packages: move aliases to aliases.nix")
2019-03-12 12:53:56 +01:00
Bjørn Forsman a90062d46f moreutils: unbreak 'ts -r'
Fix this:

  $ ts -r
  Can't locate Date/Parse.pm in @INC [...]
2019-02-01 11:32:46 +01:00
Bjørn Forsman 3dee561c34 gitolite: 3.6.10 -> 3.6.11
From https://github.com/sitaramc/gitolite/blob/master/CHANGELOG:

2019-01-08  v3.6.11 fix security issue in 'rsync' (bundle helper); see commit
                    5df2b81 for more
2019-01-16 13:37:01 +01:00
Bjørn Forsman 9e1b5f1115 gitolite: change patchPhase to postPatch
Overriding patchPhase is bad practice, it prevents customizing the
package with "patches = []".
2019-01-16 12:52:04 +01:00
Bjørn Forsman 651ee38dea jnetmap: init at 0.5.4 2019-01-07 16:57:33 +01:00
Bjørn Forsman daf3d7d49f websocketd: init at 0.3.0 2019-01-03 19:39:36 +01:00
Bjørn Forsman 53a0bff01f pythonPackages.blockdiagcontrib-cisco: init at 0.1.8
blockdiagcontrib-cisco is a noderenderer plugin for blockdiag containing
Cisco networking symbols.
2019-01-02 20:34:22 +01:00
Bjørn Forsman af34745862 fsv: fix typo: callPackages -> callPackage
Fixes nixpkgs eval warning:

  $ nix-env -f . -qa '*' --meta --xml --drv-path --show-trace
  derivation 'fsv-0.9-1' has invalid meta attribute 'override'
  derivation 'fsv-0.9-1' has invalid meta attribute 'overrideDerivation'
2019-01-02 17:17:32 +01:00
Bjørn Forsman bb94d419fb nixos/jenkins-job-builder: add accessTokenFile option
The new option allows storing the secret access token outside the world
readable Nix store.
2018-12-03 17:07:29 +01:00
Bjørn Forsman 8ebfd5c45c nixos/jenkins-job-builder: stop reloadScript on error
Currently there are two calls to curl in the reloadScript, neither which
check for errors. If something is misconfigured (like wrong authToken),
the only trace that something wrong happened is this log message:

  Asking Jenkins to reload config
  <h1>Bad Message 400</h1><pre>reason: Illegal character VCHAR='<'</pre>

The service isn't marked as failed, so it's easy to miss.

Fix it by passing --fail to curl.

While at it:
* Add $curl_opts and $jenkins_url variables to keep the curl command
  lines DRY.
* Add --show-error to curl to show short error message explanation when
  things go wrong (like HTTP 401 error).
* Lower-case the $CRUMB variable as upper case is for exported environment
  variables.

The new behaviour, when having wrong accessToken:

  Asking Jenkins to reload config
  curl: (22) The requested URL returned error: 401

And the service is clearly marked as failed in `systemctl --failed`.
2018-12-03 17:07:29 +01:00
Bjørn Forsman 84a2463499 jpeginfo: init at 1.6.1
jpeginfo prints information and tests integrity of JPEG/JFIF files.
2018-12-03 17:03:48 +01:00
Bjørn Forsman ad28261ad2 audit-tmpdir hook: clean up whitespace 2018-12-02 11:45:34 +01:00
Bjørn Forsman ed0cee645f audit-tmpdir hook: use abspath matching on RPATH entries
This ensures that RPATH entries like "/foo/build/bar" doesn't trigger a
match when TMPDIR is "/build/bar". (I've had this problem with a
prebuilt package.)
2018-12-02 11:45:18 +01:00
Bjørn Forsman 1be626afba pythonPackages.musicbrainzngs: remove breaking tests
Some tests rely on networking, breaking sandboxed builds. Remove them.

Fixes: b8e0a873c1 ("python36Packages.musicbrainzngs: 0.5 -> 0.6")
2018-11-17 14:30:48 +01:00
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