Commit Graph

230063 Commits

Author SHA1 Message Date
Daniël de Kok
fe50bab788 buildRustCrate: set CARGO_FEATURE_* when running the build script
Cargo sets `CARGO_FEATURE_*` for all features when running a build
script:

https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-build-scripts

Some crates have build scripts (e.g. openblas-src) that rely on the
feature variables being properly set.

Since we now need several representations of features, this change
also updates `createFeatures` to be a list of features, rather than
`rustc` feature arguments. `configureCrate` and `buildCrate` then
build the required representations as-needed.

Fixes #68978
2020-06-13 14:09:06 +02:00
Michele Guerini Rocco
1d924f0354
Merge pull request #89772 from rnhmjoj/dnschain
dnschain: remove
2020-06-13 13:37:02 +02:00
Florian Klink
b46fba4515
Merge pull request #88158 from arianvp/dbus-systemd
Some systemd fixes revolving dbus and socket activation of systemd services
2020-06-13 13:21:01 +02:00
rnhmjoj
8fa6c0d12d
nixos/release-notes: document dnschain removal 2020-06-13 12:33:31 +02:00
rnhmjoj
2e5019b92c
dnschain: remove package and NixOS module
The software is unmaintained since ~2014 and the package
can't be built anymore (issue #89205).
2020-06-13 12:33:31 +02:00
Michael Weiss
6653a35faa
intel-media-driver: 19.4.0r -> 20.1.1 (#90094) 2020-06-13 12:26:45 +02:00
Arian van Putten
71a6d32c18 nixos/timesyncd: Make dbus-activatible
Upstream has this alias too; so that dbus activation works.
What I don't fully understand is why this would ever be useful given
this unit is already started way in early boot; even before dbus is up.
But lets just keep behaviour similar to upstream and then ask these
questions to upstream.
2020-06-13 12:23:45 +02:00
Arian van Putten
cd1dedac67 nixos/networkd: Make activatible through dbus and netlink
With this systemd buffers netlink messages in early boot from the kernel
itself; and passes them on to networkd for processing once it's started.
Makes sure no routing messages are missed.

Also makes an alias so that dbus can activate this unit. Upstream has
this too.
2020-06-13 12:23:45 +02:00
Arian van Putten
0e18e5db99 nixos/resolved: Include dbus alias of resolved unit
This will make dbus socket activation for it work

When `systemd-resolved` is restarted; this would lead to unavailability
of DNS lookups.  You're supposed to use DBUS socket activation to buffer
resolved requests; such that restarts happen without downtime
2020-06-13 12:23:45 +02:00
Michael Weiss
82a0240bb0
fuse3: 3.9.1 -> 3.9.2 (#90232) 2020-06-13 12:23:42 +02:00
sternenseemann
ff53f0930e ocamlPackages.dns(-client): 4.5.0 -> 4.6.0 2020-06-13 11:45:37 +02:00
Vincent Laporte
c9963a8ec4 ocamlPackages.ocsigen-toolkit: 2.5.0 → 2.7.0 2020-06-13 11:40:54 +02:00
Antonio Nuno Monteiro
aee70358c5 ocamlPackages.tls: 0.12.0 -> 0.12.1 2020-06-13 11:25:56 +02:00
Frederik Rietdijk
1523382160 Merge master into staging-next 2020-06-13 11:02:21 +02:00
Vincent Laporte
0905a5d990 ocamlPackages.vg: 0.9.3 → 0.9.4 2020-06-13 09:56:40 +02:00
Vladyslav M
6ce032f79b
Merge pull request #89557 from ju1m/stig
stig: update to 0.11.0a
2020-06-13 09:51:04 +03:00
Luke Granger-Brown
d45fd11a81 reuse: 0.7.0 -> 0.11.0 2020-06-13 11:36:01 +05:30
Emery Hemingway
b8a9e3eea1 nixos/lib/make-disk-image.nix: VDI support 2020-06-13 11:08:48 +05:30
Emery Hemingway
de20ec04f9 tup: fix setup hook location 2020-06-13 11:03:55 +05:30
Emery Hemingway
3065ab3a92 tup: add setupHook 2020-06-13 10:56:20 +05:30
Emery Hemingway
896959cf66 tup: 0.7.8 -> 0.7.9 2020-06-13 10:55:22 +05:30
Mario Rodas
1cd56fc682
Merge pull request #89333 from zowoq/go_1_13
go_1_13: 1.13.11 -> 1.13.12
2020-06-12 22:19:46 -05:00
Mario Rodas
b7d252dfb0
Merge pull request #90209 from berbiche/playerctl-bash-completions
playerctl: enable bash completions
2020-06-12 21:49:32 -05:00
Nicolas Berbiche
c539d7c1c7 playerctl: enable bash completions 2020-06-12 22:30:46 -04:00
Samuel Dionne-Riel
c42545445a
Merge pull request #90212 from lovesegfault/rm-casper
casperjs: remove
2020-06-12 22:03:32 -04:00
Mario Rodas
6be09e27c9
Merge pull request #90194 from bbigras/broot
broot: 0.13.6 -> 0.15.1
2020-06-12 19:46:48 -05:00
Daniel Fullmer
34d1beb1b4 rclone: 1.52.0 -> 1.52.1 2020-06-12 17:33:52 -07:00
Joe Hermaszewski
3e10731b08 ffmpeg-full: add librsvg support 2020-06-12 17:18:38 -07:00
Bernardo Meurer
dbf352aca1
casperjs: remove 2020-06-12 16:08:39 -07:00
John Ericson
1c4480e931
Merge pull request #90157 from obsidiansystems/socket-based-ipfs
Add socket-based IPFS support
2020-06-12 18:31:01 -04:00
Matthew Bauer
2c2f6c0b38 nixos/ipfs: only set listenstream when gateway/api is default 2020-06-12 17:15:34 -05:00
Matthew Bauer
982a17a48e nixos/ipfs: always expose sockets 2020-06-12 17:15:34 -05:00
Matthew Bauer
fa06d8f961 nixos/ipfs: actually use upstream systemd units 2020-06-12 17:15:34 -05:00
Matthew Bauer
b36ef706fb nixos/ipfs: add startWhenNeeded option
This makes it possible to only start IPFS when needed. So a user’s
IPFS daemon only starts when they actually use it.

A few important warnings though:

  - This probably shouldn’t be mixed with services.ipfs.autoMount
    since you want /ipfs and /ipns aren’t activated like this
  - ipfs.socket assumes that you are using ports 5001 and 8080 for the
    API and gateway respectively. We could do some parsing to figure
    out what is in apiAddress and gatewayAddress, but that’s kind of
    difficult given the nonstandard address format.
  - Apparently? this doesn’t work with the --api commands used in the tests.

Of course you can always start automatically with startWhenNeeded =
false, or just running ‘systemctl start ipfs.service’.

Tested with the following test (modified from tests/ipfs.nix):

  import ./make-test-python.nix ({ pkgs, ...} : {
    name = "ipfs";

    nodes.machine = { ... }: {
      services.ipfs = {
        enable = true;
        startWhenNeeded = true;
      };
    };

    testScript = ''
      start_all()

      machine.wait_until_succeeds("ipfs id")
      ipfs_hash = machine.succeed("echo fnord | ipfs add | awk '{ print $2 }'")

      machine.succeed(f"ipfs cat /ipfs/{ipfs_hash.strip()} | grep fnord")
    '';
  })

Fixes #90145

Update nixos/modules/services/network-filesystems/ipfs.nix

Co-authored-by: Florian Klink <flokli@flokli.de>
2020-06-12 17:15:27 -05:00
John Ericson
2fc097ad74
Merge pull request #90204 from Ericson2314/fix-perl-pkg-config
perlPackages.ExtUtilsPkgConfig: Fix build
2020-06-12 18:01:43 -04:00
Vladyslav M
8f8e34cb0c
Merge pull request #89877 from r-ryantm/auto-update/watchexec
watchexec: 1.13.0 -> 1.13.1
2020-06-12 23:44:03 +03:00
Ryan Mulligan
2a6cc3f3f2
Merge pull request #90106 from r-ryantm/auto-update/piper
piper: 0.4 -> 0.5
2020-06-12 13:41:03 -07:00
Bruno Bigras
619f7d8c74 broot: 0.13.6 -> 0.15.1 2020-06-12 16:39:02 -04:00
Frederik Rietdijk
98f95ef9c4 blender: fix build with python 3.8
Since Python 3.8 an `m` is no longer added when pymalloc is used.
https://bugs.python.org/issue36707
2020-06-12 22:00:09 +02:00
Peter Simons
2218618bb7
Merge pull request #90062 from steve-chavez/unbreak-hasql-noti
haskellPackages.hasql-notifications: unbreak
2020-06-12 21:41:43 +02:00
Ben Darwin
a6d8a12e4e python3Packages.duecredit: init at 0.8.0 2020-06-12 12:33:44 -07:00
Ben Darwin
4c2504a6bf python3Packages.citeproc-py: init at 0.5.1 2020-06-12 12:33:44 -07:00
Ben Darwin
a113aa5b6b python3Packages.rnc2rng: init at 2.6.4 2020-06-12 12:33:44 -07:00
Sirio Balmelli
803ef3f367 piccata 1.0.1 -> 2.0.0
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-06-12 12:30:53 -07:00
Matthew Bauer
ed6e598747
Merge pull request #89112 from eadwu/musl/libc-arch
musl: include libc.musl-$arch
2020-06-12 14:29:22 -05:00
John Ericson
2a8b8f6593 release-lib: Avoid filtering twice
We were using `supportedMatches` both when getting the list of
platforms, and before `genAttrs` the derivation for each. Now we just
filter the second time,
2020-06-12 15:23:21 -04:00
Michael Raskin
6541ef3267
Merge pull request #90186 from 7c6f434c/fix-mplayer
mplayer: fix build by forcing -lfreetype
2020-06-12 19:12:29 +00:00
ajs124
5460d53af1
firefox-beta-bin: 77.0b7 -> 78.0b2 (security)
PR #89438.
2020-06-12 21:10:12 +02:00
ajs124
51d0d03b8c
firefox-esr-68: 68.8.0esr -> 68.9.0esr (security)
PR #89438.
2020-06-12 21:10:12 +02:00
ajs124
1bc740008b
firefox-bin: 76.0 -> 77.0.1 (security)
PR #89438.
2020-06-12 21:10:11 +02:00