Commit Graph
100 Commits
Author SHA1 Message Date
Nikolay Amiantov cd92184f3d matrix-synapse service: add plugins option 2020-06-01 10:30:22 +02:00
Nikolay Amiantov b5e9f87f82 matrix-synapse-plugins.matrix-synapse-pam: init at 0.1.2 2020-06-01 10:30:22 +02:00
Nikolay Amiantov 9f0da72abc matrix-synapse: factor out plugins
We build plugins separately from the server now.
2020-06-01 10:30:22 +02:00
Nikolay Amiantov e5e4d387e1 pythonPackages.python-pam: init at 1.8.4 2020-06-01 10:08:02 +02:00
Nikolay Amiantov de171ba0c6 cntk: partially unbreak
* Use GCC 7 to unbreak the build;
* Mark CUDA build as broken due to cub incompatibility.
2019-10-05 16:18:20 +03:00
Nikolay Amiantov 9004c0b017 Merge pull request #70414 from primeos/tdesktop
tdesktop: 1.8.9 -> 1.8.13, range-v3: 0.5.0 -> 0.9.1
2019-10-05 02:06:47 +03:00
Nikolay Amiantov 2219129888 matrix-synapse service: blacklist local IPv6 addresses by default 2019-10-03 19:08:48 +03:00
Nikolay Amiantov 2dfb002a9b python2.pkgs.mkrose: mark as broken
It supports only Python 3 now.
2019-10-03 18:24:51 +03:00
Nikolay Amiantov 0c02ecaea2 gnome15: mark as broken
It doesn't support Python 3 and newer versions of libraries are Python 2-only.
2019-10-03 18:24:51 +03:00
Nikolay Amiantov 1c429acbff tensorflow: add OpenGL path to find libcudart 2019-10-02 10:33:31 +03:00
Nikolay Amiantov 4947ddf347 libtensorflow: add meta 2019-10-02 10:33:31 +03:00
Nikolay Amiantov 46b7933d9a tensorflow: fix CUDA build using wrong GCC 2019-10-02 10:33:31 +03:00
Nikolay Amiantov 280f17c893 buildBazelPackage: remove rules_cc
It's a new builtin dependency from Bazel 0.29.
2019-10-02 00:46:55 +03:00
Nikolay Amiantov b70ed464fc Merge pull request #69653 from r-ryantm/auto-update/logmein-hamachi
logmein-hamachi: 2.1.0.198 -> 2.1.0.203
2019-09-27 21:42:20 +03:00
Nikolay Amiantov 7b35f8bccc mtprotoproxy: add uvloop 2019-09-26 22:48:03 +03:00
Nikolay Amiantov e06aa820c9 Merge pull request #68744 from dtzWill/update/krita-4.2.6
krita: 4.2.5 -> 4.2.6, gz -> xz
2019-09-14 14:57:19 +03:00
Nikolay Amiantov 7eb6027aa4 lutris: add fribidi as winetricks dependency 2019-09-11 22:06:37 +03:00
Nikolay Amiantov 194b732bf6 Merge pull request #68215 from abbradar/zeroc-ice
ZeroC Ice - update, add Python module, fix Murmur RC
2019-09-06 19:41:46 +02:00
Nikolay Amiantov daa9ea2987 murmur service: fix typo in description 2019-09-06 20:29:20 +03:00
Nikolay Amiantov 094a399fca mumble: use different zeroc-ice versions
Needed to unbreak ICE support in murmur RC version.
2019-09-06 20:21:09 +03:00
Nikolay Amiantov b667dd981d python3.pkgs.zeroc-ice: init at 3.7.2 2019-09-06 20:21:09 +03:00
Nikolay Amiantov 3a0c6f1402 zeroc-ice: 3.6.3 -> 3.7.2
Rename from zeroc_ice.
Take various improvements from Arch zero-ice package.
Move old version to zeroc-ice-36.
2019-09-06 20:21:09 +03:00
Nikolay Amiantov 50399b9546 mcpp: pname-ify 2019-09-06 19:11:07 +03:00
Nikolay Amiantov 0a29a2e37c syncplay module: init 2019-09-03 00:30:12 +02:00
Nikolay Amiantov e0795aa5e8 tensorflow: fix python2 build
Avoid using PYTHONPATH, switch to python envs instead.
2019-08-31 21:02:55 +03:00
Nikolay Amiantov 71095460b9 tensorflow: fix build
You know, Tensorflow.
2019-08-27 02:43:48 +03:00
Nikolay Amiantov 9015d7a4f1 sumorobot-manager: init at 0.9.0 2019-08-24 19:11:27 +03:00
Nikolay Amiantov 7498f0971b python3.pkgs.crc16: init at 0.1.1 2019-08-21 19:38:42 +03:00
Nikolay Amiantov fca97dfebc stage-1 init: fix debug menu
* Read one char at a time, so user doesn't have to enter "i<ENTER>"
  contrary to the menu;
* Exec shell inside setsid.
2019-08-19 19:54:00 +03:00
Nikolay Amiantov c3a6c8de88 edk2: 2017-12-05 -> 201905
* Move to stable version;
* Refactor `setup` to `mkDerivation`;
* Use flags instead of `sed`;
* Support Secure Boot builds.
2019-08-19 19:52:30 +03:00
Nikolay AmiantovandJon a92f71964f python.pkgs.python-unshare: init at 0.2 (#66893)
* python.pkgs.python-unshare: init at 0.2

* Update pkgs/development/python-modules/python-unshare/default.nix

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
2019-08-19 13:34:49 +03:00
Nikolay Amiantov 9b30cf0cb4 nixos release notes: mention systemd.packages changes 2019-08-19 13:25:15 +03:00
Nikolay Amiantov 3b3618ea3c buildBazelPackage: remove top-level symlinks
They always can be regenerated during the actual build, and they are sometimes
random, e.g in Tensorflow;

platforms -> NIX_BUILD_TOP/tmp/install/35282f5123611afa742331368e9ae529/_embedded_binaries/platforms
2019-08-19 11:23:17 +03:00
Nikolay Amiantov b7d04d6e6b flashplayer: 32.0.0.223 -> 32.0.0.238 2019-08-19 02:04:37 +03:00
Nikolay Amiantov e848ffe48c fetchurl mirrors: move steamrt mirror to another host
This one is hosted in a cloud so hopefully incidents like
https://github.com/NixOS/nixpkgs/pull/66853 won't repeat.
2019-08-19 01:26:01 +03:00
Nikolay Amiantov 79ebe562fb shadowsocks service: support dual-stack server
Enable IPv6 by default.
2019-08-18 23:07:51 +03:00
Nikolay Amiantov 44099371b2 bolt: 0.7 -> 0.8 2019-08-18 21:17:32 +03:00
Nikolay Amiantov 9960a2be9b umockdev: 0.12.1 -> 0.13.1
Enable testing and fix a bug which leads to bolt build failing on some host filesystems.
2019-08-18 21:17:32 +03:00
Nikolay Amiantov 2d0a2044b3 libbass: update and use real version numbers
Upstream doesn't indeed have any way of getting versioned library, as per
http://www.un4seen.com/forum/?topic=18614.0.
2019-08-17 10:52:41 +03:00
Nikolay Amiantov 17d29239b8 mumble: refactor and fix Qt 5 version
* Use -rc version instead of a git checkout. Rename derivation
  accordingly;
* Change PLUGIN_PATH similar to Arch;
* Fix install phase so that random files aren't installed and plugins
  use separate directory;
* Use linkSoVersions to remove duplicate libraries.
2019-08-01 23:06:13 +00:00
Nikolay Amiantov 717b8b3219 systemd service: remove generator-packages option
Use systemd.packages instead, it's less error prone and more in line with
what's expected.
2019-08-01 00:55:35 +03:00
Nikolay Amiantov ca780f4a18 swraid service: use upstream units
This fixes a serious bug on NixOS with swraid where mdadm arrays weren't
properly stopped on shutdown. Rather than fixing the unit by adding
`Before=final.target` we completely move to upstream units, which uses
systemd shutdown hooks instead. This also drives down maintenance costs
for us.
2019-08-01 00:55:35 +03:00
Nikolay Amiantov b9b27912ce mdadm: install systemd units 2019-08-01 00:55:35 +03:00
Nikolay Amiantov b458121105 stage-1 initrd: replace absolute paths for mdadm
We don't patch basename and readlink now too as they were added for
mdadm in 8ecd3a5e1d.
2019-08-01 00:55:35 +03:00
Nikolay Amiantov 88d5b40d40 mdadm: use absolute paths
We also correct paths in udev rules. This is cleaner and allows for less
unexpected behaviour. We still check for self-references, however we do
it manually now and only for binaries as udev rules can have them.
Rather, we patch them out during initrd generation now.
2019-08-01 00:55:35 +03:00
Nikolay Amiantov 5636fe572b systemd test: add test for systemd-shutdown scripts 2019-08-01 00:55:35 +03:00
Nikolay Amiantov a304fc5d75 systemd service: add support for shutdown packages
Shutdown hooks are executed right before the shutdown, which is useful
for some applications. Among other things this is needed for mdadm hook
to run.
2019-08-01 00:55:35 +03:00
Nikolay Amiantov fd405dab3e systemd service: rename generator-packages 2019-08-01 00:55:35 +03:00
Nikolay Amiantov cc9fb5f015 systemd: update revision 2019-08-01 00:55:35 +03:00
Nikolay Amiantov 6ee9799164 Merge pull request #64716 from abbradar/tensorflow-revive
Build Tensorflow and libtensorflow from source
2019-07-31 13:52:20 +03:00
Nikolay Amiantov cd0e461f93 tensorflow: expose binary builds 2019-07-31 13:33:26 +03:00
Nikolay Amiantov 19cdfe87f9 python.pkgs.tensorflow: update dependencies hash 2019-07-31 13:28:44 +03:00
Nikolay Amiantov 019c13616b tensorflow: cleanup and merge with libtensorflow
This merges work done by yorickvP and timokau in #63208 and #63616 respectively.
Now the derivation builds both libtensorflow and the Python package and puts them into
different outputs.

Quite a bit of improvements were done on the top, including:

* Use official tag revision as source, not a branch;
* Use all system libraries possible (before only one was actually used);
* Move various environment variables to the derivation itself from hooks;
* Use source Python build instead of wheel build to ensure fixup hooks do their important jobs on libraries;
* And more that I forgot!
2019-07-31 13:28:44 +03:00
Nikolay Amiantov 0a1bf4734f libtensorflow: add binary build and add automatic generation 2019-07-31 13:28:44 +03:00
Nikolay Amiantov 170dd558df python.pkgs.tensorflow: cleanup binary build 2019-07-31 13:28:44 +03:00
Nikolay Amiantov 68c1171185 python.pkgs.dm-sonnet: update dependencies hash 2019-07-31 11:28:06 +03:00
Nikolay Amiantov a956694aba buildBazelPackage: clear markers
Turns out markers are non-deterministic after all and even our patching still
doesn't solve this problem completely. For example (tensorflow deps, this is a
complete diff so actual dependencies don't differ):

30509c30509
< bc527ff00916b15caee38793bca8f294c748df4a256de55c5199281be0489e73  result/@bazel_skylib.marker
---
> 4e0303e815c78df1e43d4b88dfe65e73046e0c6157fb10aa9a4e8b910113cd9c  result/@bazel_skylib.marker
31045c31045
< fa13d04b2316214c3b4008b52546c2d5b633e006f6f019d597bb3f9745bacf7b  result/@bazel_toolchains.marker
---
> b36174bf5535e5157801b6de30c35ee03a03fe57766306393c3d65dd65cbebf4  result/@bazel_toolchains.marker
31144c31144
< b0ce4a3ac29ac22528336dd3a54b5b7af9ecc43bef2a2630713c1981a5cbbb51  result/@build_bazel_rules_swift.marker
---
> 7492528068ec4f8e7ace2ecf8f933ec4e1b2235bd7426ce6f70177919f1cd05e  result/@build_bazel_rules_swift.marker
36245c36245
< be2993536a8233d63251b664caf35b1e7cd57d194ab2a39a293876c232d6bbd0  result/@io_bazel_rules_closure.marker
---
> b6655cc3f2c78525e5a724d8a4e93b1e7f09f1e09fc817d231109e7f39103e88  result/@io_bazel_rules_closure.marker
36329c36329
< 087bc674c9509dfe157400d111db4a13eeb45fc76aeccd490cee9aad6771ecad  result/@io_bazel_rules_docker.marker
---
> f920ec07315ec71e800b05cd22b2a341c0a80807c6e335ee81739b13c532b422  result/@io_bazel_rules_docker.marker
79544d79543
< 85893a05a817036c61f6cd9f8247757baa1654f473c494ce4fc5253c2bbd2790  result/@platforms.marker

And here's an example of differences:

$ cat result-a/@bazel_skylib.marker
7dc7472d37424ba5ec6a5532765bc911
$MANAGED
cat result-b/@bazel_skylib.marker
a8f3f577798201157128e8e9934c4705
$MANAGED

Instead of trying to patch these markers further we now completely clear them.
Nix hacks for ignoring markers are restored and expanded so that we don't even
attempt to parse the marker.
2019-07-31 11:28:06 +03:00
Nikolay Amiantov 7b828532b9 bazel-deps: 2019-02-01 -> 2019-07-11, mark as broken
Also drop preInstall cleanup for dependencies. The reason is while it's more
thorough than default cleanup in buildBazelPackage if such a problem happens we
should fix buildBazelPackage instead. Perhaps even move this (awesome!) snippet
there but it's very slow-running so we'd rather attempt to fix it in other
ways.

Anyway after an update at least .deps build, checked with `nix-build -A --check`.
2019-07-25 17:40:46 +02:00
Nikolay Amiantov 969aec30b6 bazel-remote: mark as broken 2019-07-25 17:40:46 +02:00
Nikolay Amiantov a0ba42e3f4 Merge pull request #64268 from jameysharp/nscd-dynamicuser
nixos/nscd: DynamicUser and other cleanups
2019-07-22 16:23:07 +03:00
Nikolay Amiantov b24841dd22 lutris: add multilib dependencies
Fix 32-bit Wine, possibly PCSX2.
2019-07-22 14:51:00 +03:00
Nikolay Amiantov 5f4288d49d boot tests: don't use globbing
Turns out I broke all the boot tests except netboot.

Instead of relying on build-time search for .iso we can use a proper attribute.
2019-07-22 14:44:53 +03:00
Nikolay Amiantov 48d98b02f6 lutris: use optimus and nvidia from environment
That's the correct way because these should be enabled with NixOS
modules.
2019-07-18 12:43:14 +03:00
Nikolay Amiantov b0a961e6fa lutris: refactor, fix icons
* Split the package into wrapped and unwrapped versions;
* Use FHS chrootenv for libraries instead of adding them to
LD_LIBRARY_PATH;
* Fix wrapping so that icons now work.
2019-07-18 12:34:29 +03:00
Nikolay Amiantov b1fc8e24a2 primus: fix for libglvnd
Fixes #48795.
2019-07-17 11:44:21 +03:00
Nikolay Amiantov da295a1206 python2: backport fix for pyc race condition, part 2
Turns out fixing this only in importlib is not sufficient and we
need to backport CPython part of the fix too.

This patch is based on https://hg.python.org/cpython/rev/c16063765d3a
but because the code around is different there are some changes (C-strings
instead of Python objects etc.)

With this patch Tensorflow builds successfully on many-core machine.
2019-07-17 10:22:11 +02:00
Nikolay Amiantov 294751a4fc Merge pull request #62955 from abbradar/resolvconf
resolvconf service: init
2019-07-17 11:07:12 +03:00
Nikolay Amiantov 4dad0ae560 buildBazelPackage: cleanup hacks and enforce them for all builds
Timestamp verification skip is no longer needed (not sure why). Generally we
better off always using the environment hack for all packages because that
ensures all NIX_* flags are correctly applied.

One possible improvement in future is to filter only NIX_* variables to
passthru in Bazel.
2019-07-17 10:40:38 +03:00
Nikolay Amiantov bd98f3521c bazel: drop absolute Python path
Without this Bazel always picks Python 3 which breaks Python 2 packages.
Strangely enough just dropping this patch works, with all `bazel.tests`
passing.
2019-07-16 15:40:03 +03:00
Nikolay Amiantov b392c5ab4d Merge pull request #64815 from abbradar/ipxe-efi
IPXE EFI netboot fix
2019-07-15 21:21:29 +03:00
Nikolay Amiantov 01b90dce78 resolvconf service: init
This is a refactor of how resolvconf is managed on NixOS. We split it
into a separate service which is enabled internally depending on whether
we want /etc/resolv.conf to be managed by it. Various services now take
advantage of those configuration options.

We also now use systemd instead of activation scripts to update
resolv.conf.

NetworkManager now uses the right option for rc-manager DNS
automatically, so the configuration option shouldn't be exposed.
2019-07-15 20:25:39 +03:00
Nikolay Amiantov a2e8be9fc3 boot tests: add UEFI PXE netboot testing
Generalize netboot testing and add tests for UEFI PXE netboot.
2019-07-15 19:34:19 +03:00
Nikolay Amiantov 81d35a9d7e nixos-test-driver: support netRomFile
Needed for UEFI PXE netboot testing.
2019-07-15 19:33:26 +03:00
Nikolay Amiantov e4837acf21 nixos netboot: explicitly specify initrd
Needed for iPXE on UEFI, see http://forum.ipxe.org/archive/index.php/thread-7589.html
2019-07-15 19:33:21 +03:00
Nikolay Amiantov 6152007747 ipxe: add imgtrust and ping
imgtrust is needed to run netboot.xyz scripts.
ping is useful for testing network settings.
Also add HTTP option for clarity (it's already being built).
2019-07-15 19:33:15 +03:00
Nikolay Amiantov 9e12db91de ipxe: support renaming targets and add several
This allows to build several targets with conflicting names.
UEFI version of USB image is now built, and so is option ROM.
2019-07-15 19:32:41 +03:00
Nikolay Amiantov 8951505dc9 Merge pull request #62956 from abbradar/nm-fixes
NetworkManager fixes
2019-07-13 22:31:13 +03:00
Nikolay Amiantov f62f744ac2 gajim: fix audio calling
It appears it actually works with this fix!
2019-07-12 18:01:12 +03:00
Nikolay Amiantovandworldofpeace 48b3e70534 Update nixos/modules/services/networking/networkmanager.nix
Co-Authored-By: worldofpeace <worldofpeace@protonmail.ch>
2019-07-11 18:37:51 +03:00
Nikolay Amiantov 0bc362c485 dotnet-sdk: fix debugging
Without this attempt to run debugger fails with "Unknown error
0x80131c3c". Underlying problem is that libmscordbi.so cannot
find libmscordaccore.so.
2019-07-09 20:34:11 +03:00
Nikolay Amiantov 13b8156030 kvmgt service: use modprobe, force-load module 2019-07-08 22:21:09 +03:00
Nikolay Amiantov ef8addb919 qemu: fix documentation 2019-07-03 21:11:59 +03:00
Nikolay Amiantov 6f0b781bc1 virtualbox: enable Java bindings
Almost doesn't affect closure size:

Before:
/nix/store/0l23ahih0wzm39q7vgch9v86pw28shdh-virtualbox-6.0.8	 545.9M

After:
/nix/store/s7c6jgf6p0w64fxxh9iik9yi1rsmf2jz-virtualbox-6.0.8	 546.6M
2019-06-28 17:49:36 +03:00
Nikolay Amiantov 67ea4fcd3b intel-media-driver: disable tests
Works only on hosts with suitable CPUs.

Fixes Hydra failures:
https://hydra.nixos.org/build/95442132
2019-06-28 16:55:56 +03:00
Nikolay Amiantov 62ef555a96 lutris: use wineWowPackages
They are built by Hydra.
2019-06-28 16:55:56 +03:00
Nikolay Amiantov 9d9eb87c19 openjfx11: init at 11.0.3+1 2019-06-28 15:38:08 +03:00
Nikolay Amiantov 153b4c2ed2 Merge pull request #63731 from icfpc-dniwe/icfpc2019
LP and optimization packages
2019-06-24 16:24:53 +03:00
Nikolay Amiantov 255c4ae4e1 python3.pkgs.mlrose: init at 1.2.0 2019-06-24 15:59:57 +03:00
Nikolay Amiantov 3dd7d72e43 fast-downward: init at 2019-05-13 2019-06-24 15:59:57 +03:00
Nikolay Amiantov 08b1d81089 osi: init at 0.108.4 2019-06-24 15:59:57 +03:00
Nikolay Amiantov a92611508f cplex: add library info 2019-06-24 15:57:22 +03:00
Nikolay Amiantov 10e1475a79 gurobi: add library suffix 2019-06-24 15:57:22 +03:00
Nikolay Amiantov 493bb6035a networkmanager service: install strongswan configuration file only if enabled 2019-06-10 20:20:47 +03:00
Nikolay Amiantov 5be5991c80 networkmanager service: remove with pkgs
Avoid using `with` which isn't particularly needed.
2019-06-10 20:20:46 +03:00
Nikolay Amiantov c3865335fb auditd service: make more useful
Enable kernel audit and install userspace utilities by default.
2019-06-10 18:55:11 +03:00
Nikolay Amiantov 33b7e5f6c7 networkmanager service: fix simultaneous append and insert of nameservers
Before only one of them could work at the same time.
2019-06-10 18:54:32 +03:00
Nikolay Amiantov 68de116eb4 networkmanager service: override DNS when it's actually needed
Logic expression was incorrect before.
2019-06-10 18:54:27 +03:00
Nikolay Amiantov ccbb08ed88 dwarf-fortress-packages.dwarf-therapist-original: expose to package set
Needed for it to be built on Hydra.
2019-06-10 18:52:52 +03:00
Nikolay Amiantov eff932e22b syncplay: add TLS support
Also cleanup.
2019-06-10 12:23:16 +03:00
Nikolay Amiantov 1d7d5d9be6 Merge pull request #62885 from abbradar/mtproxy
mtprotoproxy: init package and service
2019-06-09 12:17:41 +03:00