Commit Graph
55 Commits
Author SHA1 Message Date
Luke Granger-Brown cfed3b8b22 treewide: update 21.03 to 21.05
The NixOS 21.03 release has been delayed to 21.05. See NixOS/rfcs#80.

There are two instances of 21.03 which have been left as is, since they
are in stateVersion comparisons. This will ensure that existing user
configurations which refer to 21.03 will continue to work.
2021-02-12 14:12:48 -08:00
Luke Granger-Brown 331935870a wimboot: fix builds under binutils 2.34+ 2021-01-31 03:05:47 +00:00
Luke Granger-Brown 9dda7b9ac3 factorio-headless-experimental, factorio-experimental: 1.1.8 -> 1.1.10 2021-01-14 14:38:18 +00:00
Luke Granger-Brown 6e684ca91e envoy: init at 1.16.2 2021-01-14 12:26:11 +00:00
Luke Granger-Brown c7102b26ce buildBazelPackage: only rewrite relevant symlinks 2021-01-13 21:34:09 +00:00
Luke Granger-Brown c0450301b4 python3Packages.optuna: mark as broken.
This doesn't compile. It's also very out-of-date (over a year old), and
has been broken by various library upgrades as well.
2021-01-11 21:49:23 +00:00
Luke Granger-Brown 7d9d1c5f15 mxnet: switch to GCC 9
mxnet currently doesn't compile under GCC 10 (linker failures).
2021-01-11 21:49:23 +00:00
Luke Granger-Brown 4a9066586c tensorflow-probability: mark as broken
This was broken by the Tensorflow version bump, and is non-trivial to
correct - it now depends on dm-tree, which requires some work to build
due to a C++ extension which appears to require Bazel to compile.
2021-01-11 21:49:23 +00:00
Luke Granger-Brown cf58429db8 factorio-experimental, factorio-headless-experimental: 1.1.7 -> 1.1.8 2021-01-08 00:16:41 +00:00
Luke Granger-Brown c5f8948665 oven-media-engine: 0.10.8 -> 0.10.9-hotfix 2021-01-07 15:50:53 +00:00
Luke Granger-Brown 77f45ee01f factorio-experimental, factorio-headless-experimental: 1.1.5 -> 1.1.7 2021-01-07 10:23:04 +00:00
Luke Granger-Brown 0a922750bd kdeApplications.kaccounts-integration: unbreak derivation 2021-01-03 20:22:15 +00:00
Luke Granger-Brown 699e402705 prometheus-bird-exporter: init at 1.3.5-git 2021-01-01 04:43:59 +00:00
Luke Granger-Brown d0a9e1ec83 nixos/grafana: add support for declarative plugin installation 2020-12-30 17:59:52 +00:00
Luke Granger-Brown fafe7b24bf grafanaPlugins.grafana-worldmap-panel: init at 0.3.2 2020-12-30 17:33:48 +00:00
Luke Granger-Brown 83d1835dc5 grafanaPlugins.grafana-polystat-panel: init at 1.2.2 2020-12-30 17:33:23 +00:00
Luke Granger-Brown ee4c056c5f grafanaPlugins.grafana-piechart-panel: init at 1.6.1 2020-12-30 17:32:46 +00:00
Luke Granger-Brown 007ae56973 grafanaPlugins.grafana-clock-panel: init at 1.1.1 2020-12-30 17:32:19 +00:00
Luke Granger-Brown 3ba1a06a78 grafanaPlugins: init
This contains the base infrastructure (including a basic update script)
for maintaining Grafana plugins inside Nix, which, in a subsequent
commit, will be used for allowing the NixOS Grafana module to
automatically install plugins.
2020-12-30 17:30:54 +00:00
Luke Granger-Brown 3a6a8e59d2 grafana: 7.3.5 -> 7.3.6 2020-12-29 21:35:02 +00:00
Luke Granger-Brown 3297ac72f1 nixos/prometheus: add smokeping and corresponding NixOS test 2020-12-29 18:59:51 +00:00
Luke Granger-Brown 2c329d7954 prometheus-smokeping-prober: init at 0.3.1 from git 2020-12-29 18:59:51 +00:00
Luke Granger-Brown 68fdbc6be1 gstreamer: 1.18.1 -> 1.18.2 2020-12-17 07:33:19 +01:00
Luke Granger-Brown ff9d4cc09b factorio-experimental, factorio-headless-experimental: 1.1.4 -> 1.1.5 2020-12-04 19:38:40 +00:00
Luke Granger-Brown 1f6d750097 fetchzip: get write permission on unpacked directory
This is a workaround for NixOS/nix#4295, which caused single-user Linux
Nix installations using sandboxed builds to start failing to build
fetchzip derivations after 4a5c49363a.

In short: removing write permissions for the entire directory is great,
except we then can't rename(2) it to the final Nix store path out of the
sandbox, because we don't have write permission on the directory and
thus cannot update the ".." directory entry.
2020-12-04 03:28:00 +00:00
Luke Granger-Brown 41742f1139 factorio-experimental, factorio-headless-experimental: 1.1.3 → 1.1.4 2020-12-03 16:55:33 +00:00
Luke Granger-Brown 87f4676492 cacert: add lukegb as maintainer 2020-12-01 17:55:59 +00:00
Luke Granger-Brown b5a328e58f nixos/tests/misc: account for cgroupv2
Since #104094 (d22b3ed4bc), NixOS is
using the unified cgroup hierarchy by default (aka cgroupv2).

This means the blkio controller isn't there, so we should test for
something else (e.g. the presence of the io controller).

Fixes #105581.
2020-12-01 17:36:04 +01:00
Luke Granger-Brown b28436a7e9 cacert: remove broken includeEmail option
This doesn't do anything. Building with includeEmail = true produces
the same set as includeEmail = false, and the substitute rule removes
a random dictionary index operation.
2020-12-01 15:54:58 +00:00
Luke Granger-Brown b1f9e9c259 cacert: fix blacklist
It's broken under Python 3, ironically due to the patch we're carrying.
Fix it, and add a test to check it works.

Fixes #93230.
2020-12-01 15:54:58 +00:00
Luke Granger-Brown f838208033 factorio-experimental, factorio-headless-experimental: 1.1.2 -> 1.1.3 2020-11-30 20:27:23 +01:00
Luke Granger-Brown 8a63eaab52 factorio: add lukegb as maintainer 2020-11-30 18:07:19 +00:00
Luke Granger-Brown 2c8f7755d4 factorio: add an updateScript
The updateScript knows how to automatically fetch and update the version
data from the Factorio versions API (and update the hashes
appropriately), which makes it easier to update whenever experimental
does.
2020-11-30 18:07:16 +00:00
Luke Granger-Brown d29428523e rl-21.03: add PulseAudio 13.0 -> 14.0 upgrade to release notes 2020-11-29 13:27:46 +00:00
Luke Granger-Brown b4ca0dd5f5 pulseaudio: 13.0 -> 14.0 2020-11-29 13:27:45 +00:00
Luke Granger-Brown 31dfbca2d7 cmake: 3.19.0 -> 3.19.1
This fixes issues with building LibreSSL, which is required for the
NixOS tests: https://cmake.org/cmake/help/latest/release/3.19.html#id1

> CMake 3.19.0 compiles source files with the `LANGUAGE` property by
> passing an explicit language flag such as -x c. This is consistent
> with the property’s documented meaning that the source file is written
> in the specified language. However, it can break projects that were
> using the property only to cause the specified language’s compiler to
> be used. This has been reverted to restore behavior from CMake 3.18
> and below.
2020-11-29 13:49:07 +01:00
Luke Granger-Brown 6e39a67aec clickhouse: use system LLVM
Building LLVM pieces is a huge contributor to build times, and probably
bloats binary size as well. Fortunately, there's a knob for this
specific thing (-DUNBUNDLED=ON seems broken and requires some libraries
which aren't packaged for Nix at the moment).

Hopefully this will make clickhouse able to build on OfBorg.
2020-11-28 20:40:22 +00:00
Luke Granger-Brown ebeaae1454 teamspeak_client: 3.5.3 -> 3.5.6 2020-11-25 17:52:06 +00:00
Luke Granger-Brown 6421a1b0ce factorio-experimental, factorio-headless-experimental: 1.1.0 -> 1.1.1 2020-11-25 14:45:57 +01:00
Luke Granger-Brown ad62155cb6 nixos/zram: add zramSwap.memoryMax option
This allows capping the total amount of memory that will be used for
zram-swap, in addition to the percentage-based calculation, which is
useful when blanket-applying a configuration to many machines.

This is based off the strategy used by Fedora for their rollout of
zram-swap-by-default in Fedora 33
(https://fedoraproject.org/wiki/Changes/SwapOnZRAM), which caps the
maximum amount of memory used for zram at 4GiB.

In future it might be good to port this to the systemd zram-generator,
instead of using this separate infrastructure.
2020-11-25 13:43:38 +00:00
Luke Granger-Brown 0508481dc9 factorio-experimental, factorio-headless-experimental: 1.0.0 -> 1.1.0 2020-11-24 04:05:30 +01:00
Luke Granger-Brown 86aa2a57d3 factorio: fail fetch early if no credentials provided
The download URL will redirect to the login page if credentials are not
present, but will return an error if the credentials are wrong.

Since we know we always expect credentials, we can fail the fetch in
the preHook if they're not provided.

We can't use e.g. builtins.throw because we want the fetchurl derivation
to be evaluated in all cases - because that's the mechanism which allows
you to just manually add the tarball to the Nix store.
2020-11-24 01:32:53 +00:00
Luke Granger-Brown 46e30163ff gstreamer: 1.18.0 -> 1.18.1 2020-11-23 18:22:32 +01:00
Luke Granger-Brown 7d8631190a pythonPackages.emv: init at 1.0.11 2020-11-08 15:30:17 +00:00
Luke Granger-Brown 2c330cba4a pythonModules.pyscard: 1.9.9 -> 2.0.0 2020-11-08 10:41:06 +00:00
Luke Granger-Brown 1f4133acd4 unifiBeta: update to 6.0.28 2020-11-05 13:00:00 +01:00
Luke Granger-Brown a30a084b37 gopls: don't build integration tests or documentation generator (#101641)
Not only are these not used, but they also have super generic names,
which is confusing when they appear on the path, and possibly leads
to conflicts with other binaries.
2020-10-28 23:42:07 +01:00
Luke Granger-Brown 5ecf942c11 oven-media-engine: init at 0.10.4 2020-07-17 20:07:11 +02:00
Luke Granger-Brown d7d4a92695 buildBazelPackage: add "fetchConfigured" for fetching only things required for the build
"bazel fetch" will, by default, fetch everything that _might_ be used,
including things that will later be discarded due to the way the build
is configured.

Concretely, this means that for some builds of Java packages, this will
avoid failures where the builder tries to retrieve the JDK from /usr/share/java
(or equivalent).

This also means that for most packages we can fetch _fewer_ dependencies,
since the standard tree pruning for artifacts to fetch will take effect.

fetchConfigured is disabled by default since it changes the fetch hashes
of tensorflow/tensorflow2 (since it ends up fetching less).
2020-07-17 18:29:58 +02:00
Luke Granger-Brown 47801afc3d ffmpeg-full: add support for libsrt 2020-06-27 23:45:28 +00:00
Luke Granger-Brown d45fd11a81 reuse: 0.7.0 -> 0.11.0 2020-06-13 11:36:01 +05:30
Luke Granger-Brown 5a8de77166 mercurial: 5.3.1 -> 5.4.1 2020-06-06 13:06:07 +01:00
Luke Granger-Brown 029d3b3fa4 teamspeak_client: 3.3.2 -> 3.5.3
This now requires Qt5WebSockets, so that's been added as a dependency now.
2020-05-17 00:56:10 +01:00
Luke Granger-Brown 5da1393030 deluge: add glib so its hook works.
At the moment, runing `deluge` with the deluge package installed returns
"No GSettings schemas are installed on the system".

After this patch, XDG_DATA_DIRS includes the gsettings-desktop-schemas,
which means the program actually manages to launch.
2020-05-10 19:24:09 +02:00
Luke Granger-Brown c13df548a3 php: override outputsToInstall when using withExtensions
At the moment, using .withExtensions on a PHP derivation will
produce something which can't be used inside an
environment.systemPackages array, because outputsToInstall refers
to an output which doesn't exist on the final derivation.

Instead, override it back to just containing the single output
"out".
2020-05-06 21:44:27 +01:00