Commit Graph
100 Commits
Author SHA1 Message Date
Bjørn Forsman 79cfaa09fa phoronix-test-suite: run missing hooks: preInstall, postInstall
(cherry picked from commit ef448795997dd7bde63cdb1a50413e3f0f855af6)
2021-09-19 11:45:41 +02:00
Bjørn Forsman e887706c1f eagle: put the desktop icon where it can be found
Apparently $out/share/icons/ doesn't work anymore, but
$out/share/pixmaps/ do.

(cherry picked from commit 7f6cb5a22675f9b0d8217d44ffad252e1714b473)
2021-08-25 19:13:01 +02:00
Bjørn Forsman 991e12bfdb nixos: fix release notes about linux_latest version
It's version 5.13, not 5.12.

(cherry picked from commit a37965f7c5d26938774677e97b9f6c9e35bce701)
2021-08-17 07:12:42 +00:00
Bjørn Forsman 688f6ec8d7 nixos/hamster: fix programs.hamster.enable text
mkEnableOption already adds "Whether to enable" and ends with a ".", so
remove that duplication from the help text.

Also reword it slightly while at it.

(cherry picked from commit 5d3dca497ba7d20c662e8144c0bedb69433a9e4a)
2021-07-05 14:32:16 +02:00
Bjørn Forsman 5ca9576f49 doc: point out that nixos-21.05 has gnuradio 3.9
Logically re-apply 64c70a8c4c ("doc: point out that nixos-21.05 has gnuradio
3.9"), because it was lost in the conversion from docbook to markdown, in
commit 32c2dd304d ("docs: nixos release notes to CommonMark (2105)").

(Apparently we have both .md and .xml release notes now, and CI fails
unless they have the same content (after .md processing), so update the
.xml file to match...)

(cherry picked from commit cfe8c3a75eaa427f48bc93b15c65b826c00d7401)
2021-07-03 17:44:27 +00:00
Bjørn Forsman 950142c900 doc: fix link to kodi-19.0 announcement
Logically re-apply 7afaacf9a8 ("doc: fix link to kodi-19.0 announcement"),
because it was lost in the conversion from docbook to markdown, in commit
32c2dd304d ("docs: nixos release notes to CommonMark (2105)").

(Hm, apparently we have *both* docbook and markdown? CI failed before I
updated the .xml file.)

(cherry picked from commit c2a3ff28be9712b598d84cdc94a7894ca59c772c)
2021-07-03 17:44:02 +00:00
Bjørn Forsman d99688bba4 doc: point out that nixos-21.05 has gnuradio 3.9
Reading the release notes I got the impression that the latest (and
default) was GR3.8, but it is in fact 3.9. Make that more obvioius.

(cherry picked from commit c789c53ce55d26d4963b48cb109fd3f02838fa11)
2021-06-21 10:24:50 +02:00
Bjørn Forsman c40c611ff9 doc: fix link to kodi-19.0 announcement
(cherry picked from commit 14c8246c0c69e3cf48d332ede319238ec36247ed)
2021-06-20 20:10:29 +02:00
Bjørn Forsman 2d857bc5fe gnomeExtensions.system-monitor: 2021-05-04 -> 2021-06-19
Fixes crash when opening "Preferences" in NixOS with GNOME 40.

Closes #123260.

(cherry picked from commit 7073a3722fc0173da59012f751ea7192be03aa4f)
2021-06-20 19:08:28 +02:00
Bjørn Forsman ad213d9539 gnuradio.pkgs.ais: 2015-12-20 -> 2020-08-13
This adds support for GR3.8.

(cherry picked from commit 3e8fb944c24f1e6761e94a66aa7d347053375ea3)
2021-06-20 16:55:06 +00:00
Bjørn Forsman c3094b06ce qcachegrind: license gpl2 -> gpl2Plus
According to https://apps.kde.org/kcachegrind/.

(cherry picked from commit 1b1f196fe6f46e6f713946e5c423bbbc90771328)
2021-06-11 23:09:20 +02:00
Bjørn Forsman bfff2cbbcd qcachegrind: fix fatal Could not find the Qt platform plugin "xcb" in ""
(cherry picked from commit 16cbc80a9370b13db95a75b74d20e1d2beb578b3)
2021-06-11 23:09:20 +02:00
Bjørn Forsman 0d417a343c nixos/jenkins: test declarative jobs
(cherry picked from commit a655b712015f1a37466371234620b8958887e9bf)
2021-06-11 23:08:41 +02:00
Bjørn Forsman a0fc6a7861 nixos/jenkins-job-builder: add support for folder jobs
Add support for folder jobs
(https://plugins.jenkins.io/cloudbees-folder/) by reworking the service
to support nested jobs.

This also fixes this deprecation warning (as a happy side effect):

  WARNING:jenkins_jobs.cli.subcommand.test:(Deprecated) The default output behavior of `jenkins-jobs test` when given the --output flag will change in JJB 3.0. Instead of writing jobs to OUTPUT/jobname; they will be written to OUTPUT/jobname/config.xml. The new behavior can be enabled by the passing `--config-xml` parameter

(cherry picked from commit 4bcb22e17aa8677c6b3fc4625732d4da791a576f)
2021-06-11 23:08:41 +02:00
Bjørn Forsman 2256ad2214 whipper: 0.9.1.dev7 -> 0.10.0 2021-05-17 19:13:13 +02:00
Bjørn Forsman 3d18eddae2 pulseview: fix patch hash 2021-05-16 08:56:46 +02:00
Bjørn Forsman 2e8f6e0d93 fetchgit: document --fetch-lfs flag
Fixes: 74128561 ("fetchgit: add lfs support")
2021-05-07 15:38:54 -07:00
Bjørn Forsman 9ba09d80e1 conan: unbreak by downgrading pyjwt (#121802)
Pin pyjwt to 1.7.1 (the last of the 1.x series) to fix building conan:

  ERROR: Could not find a version that satisfies the requirement PyJWT<2.0.0,>=1.4.0 (from conan)

Ref. upstream issue https://github.com/conan-io/conan/issues/8876.
2021-05-05 15:52:56 +02:00
Bjørn Forsman 13cadfac15 zoom-us: fix overriding source
Without this using .overrideAttrs to change the source still uses the
old source.
2021-05-02 17:38:55 +02:00
Bjørn Forsman 5d47dc750f nixos/wpa_supplicant: prefer 'install' over 'touch/chmod/mkdir/chgrp'
Ref #121293.
2021-05-01 15:34:04 +02:00
Bjørn Forsman 225d915e5c nixos/atd: prefer 'install' over 'mkdir/chmod/chown'
I don't think there was a security issue here, but using 'install' is
preferred.

Ref #121293.
2021-05-01 15:16:19 +02:00
Bjørn ForsmanandSandro 8b6a8e44d2 qmmp: switch from ffmpeg_3 to ffmpeg (#120771)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-27 14:16:05 +02:00
Bjørn Forsman 738e8eb967 python3Packages.robotframework: run the unit tests
The zip-file from PyPI lacks a few directories, notably the one
containing the unit tests. So switch from fetchPypi to fetchFromGitHub.
2021-04-25 19:51:25 +02:00
Bjørn Forsman 9db80bb156 python3Packages.robotframework: 4.0 -> 4.0.1 2021-04-25 16:22:36 +02:00
Bjørn Forsman c6df94ce56 sdcc: use nativeBuildInputs
Ref https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/build-tools-in-build-inputs.md
2021-04-18 10:32:43 +02:00
Bjørn Forsman 73fdc55b4f sdcc: clarify license
Ref https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md
2021-04-18 10:32:43 +02:00
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