3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

229925 commits

Author SHA1 Message Date
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
Jörg Thalheim cc7b028202
Merge pull request #90189 from volth/cental.maven.org
treewide: central.maven.org -> repo1.maven.org
2020-06-12 20:06:02 +01:00
Jeremy Schlatter a3b63dbc72 python3Packages.iterm2: init at 1.14 2020-06-12 11:58:19 -07:00
Jeremy Schlatter 261912e071 maintainers: add jeremyschlatter 2020-06-12 11:58:19 -07:00
Doron Behar 01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
Doron Behar 8e1dcea3d5 ffmpeg: default to ffmpeg_4 2020-06-12 11:55:31 -07:00
Jörg Thalheim 8df5edc153
Merge pull request #87178 from hax404/teeworlds-module-test
nixos/{modules,tests}/teeworlds: init
2020-06-12 19:52:06 +01:00
John Ericson 41dc003692 perlPackages.ExtUtilsPkgConfig: Fix build
Fixes #90084
2020-06-12 18:22:37 +00:00
Edmund Wu 107f7ba026
musl: include libc.musl-$arch 2020-06-12 14:01:43 -04:00
Cole Mickens 3d74684847 pythonPackages.bravia-tv: 1.0.1 -> 1.0.5 2020-06-12 10:24:26 -07:00
Frederik Rietdijk 4087d3fe41 python: don't use optimizations on Darwin
Also, don't use autoreconfHook on Darwin with Python 3.
Darwin builds are still impure and fail with

    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: object file (/nix/store/0lsij4jl35bnhqhdzla8md6xiswgig5q-Libsystem-osx-10.12.6/lib/crt1.10.6.o) was built for newer OSX version (10.12) than being linked (10.6)
    DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars ;\
    if test $? -ne 0 ; then \
            echo "generate-posix-vars failed" ; \
            rm -f ./pybuilddir.txt ; \
            exit 1 ; \
    fi
    /nix/store/dsb7d4dwxk6bzlm845z2zx6wp9a8bqc1-bash-4.4-p23/bin/bash: line 5: 72015 Killed: 9               DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars
    generate-posix-vars failed
    make: *** [Makefile:592: pybuilddir.txt] Error 1
2020-06-12 18:29:08 +02:00
Graham Christensen 5a17473f0a
Merge pull request #90192 from kraem/kraem/pkgs/facetimehd/remove-nixpkgs-patch
facetimehd: remove patch in nixpkgs, patched upstream
2020-06-12 11:46:35 -04:00
Anderson Torres 184ecdbf0f
Merge pull request #89931 from OPNA2608/update-palemoon-28.10.0
palemoon: 28.9.3 -> 28.10.0
2020-06-12 11:40:01 -03:00
volth 54c4223e55 treewide: central.maven.org -> repo1.maven.org 2020-06-12 14:26:08 +00:00
Jan Tojnar 3e9434457f
Merge pull request #89408 from jpotier/add-libucl 2020-06-12 16:22:40 +02:00
Tim Steinbach cf29bf0953
oh-my-zsh: 2020-06-08 -> 2020-06-10 2020-06-12 10:13:32 -04:00
Tim Steinbach 3cf2f4d6a3
linux_latest-libre: 17527 -> 17537 2020-06-12 10:13:26 -04:00
Maximilian Bosch 267b93da34
Merge pull request #89662 from aanderse/ssmtp
nixos/ssmtp: add settings option
2020-06-12 16:09:13 +02:00
Michele Guerini Rocco e9a0ec8142
Merge pull request #90048 from r-ryantm/auto-update/mkvtoolnix
mkvtoolnix: 46.0.0 -> 47.0.0
2020-06-12 15:48:43 +02:00
Michele Guerini Rocco a2fd1ba544
Merge pull request #89159 from datafoo/fix-issue-89158
nixos/networking: check interface state files exist before acting on them
2020-06-12 15:31:57 +02:00
Michael Raskin aef898b0a2 mplayer: fix build by forcing -lfreetype 2020-06-12 15:30:59 +02:00
Mario Rodas 80643891c0
Merge pull request #90181 from martinbaillie/terraform-language-server
terraform-ls: init at 0.3.2
2020-06-12 08:18:35 -05:00
Mario Rodas 6e5952e517
Merge pull request #90173 from colemickens/rpi-unifi-stable
unifiStable: 5.12.72 -> 5.13.29
2020-06-12 08:15:45 -05:00
Mario Rodas fde59542f9
Merge pull request #90066 from r-ryantm/auto-update/mpop
mpop: 1.4.9 -> 1.4.10
2020-06-12 08:12:01 -05:00
Florian Klink 1901446a96
Merge pull request #89919 from mweinelt/hostapd
hostapd: apply patches for CVE-2020-12695
2020-06-12 14:40:07 +02:00
Cyril Cohen b7f55b30f5 coqPackages.mathcomp: 1.11.0 2020-06-12 14:37:40 +02:00
kraem 3cd13f8b7e
facetimehd: remove patch in nixpkgs, patched upstream 2020-06-12 14:05:06 +02:00
Graham Christensen 77dddf6a9d
Merge pull request #90180 from kraem/kraem/pkgs/facetimehd/2020-04-16
facetimehd: 2019-12-10 -> 2020-04-16
2020-06-12 07:59:56 -04:00
Profpatsch 91340aeea8 gitit: init at 0.13.0.0
This was broken in `haskellPackages` for a long time, but it’s back!

Time to give it a place in the toplevel and a prope) treatment:

* Semi-static binary
* Remove all references to `Paths_` modules of dependencies
* gitit tries very hard to have a runtime dependency on GHC, disable
  that by default.

Also added myself as a maintainer, let’s try to keep this working from
now on.

Fixes https://github.com/NixOS/nixpkgs/issues/32377
2020-06-12 13:21:34 +02:00