Commit Graph
144776 Commits
Author SHA1 Message Date
Silvan Mosberger 06673cba31 fix rofi wrapper only passing along binary 2018-06-11 21:30:36 +02:00
nagato.pain fb7f515be7 pythonPackages.pynisher: init at 0.4.2 2018-06-11 12:25:00 -07:00
nagato.pain c8cc418b8d pythonPackages.deap: init at 1.2.2 2018-06-11 12:21:52 -07:00
aszlig d1a2853933 pinentry: Fix .override for pinentry_*
When you evaluate nixos/tests/simple.nix, you'll run into an infinite
recursion since 41b140cb25.

The reason is that udisks2 now pulls in gnupg because it now depends on
libblockdev, which in turn depends on volume_key and that depends on
gnupg.

Nevertheless, it's not the real reason, because this only means, that
since gnupg is now pulled into the closure of a basic nixos
configuration the real problem becomes visible:

In nixos/modules/config/no-x-libs.nix there is an overlay which does
something like this:

  nixpkgs.overlays = singleton (const (super: {
    pinentry = super.pinentry_ncurses;
  }));

Now since pinentry_ncurses is already using pinentry.override we get an
infinite recursion because now the pinentry attribute refers to
pinentry_ncurses, which by itself is again referring to pinentry.

This is solved by using the self.pinentry.override instead, so that the
override used by pinentry_ncurses doesn't use the attribute from the
overlay.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @ttuegel
Signed-off-by: aszlig <aszlig@nix.build>
2018-06-11 20:58:58 +02:00
aszlig fb2c132db4 nixos/no-x-libs: Switch to using nixpkgs.overlays
The usage of nixpkgs.config.packageOverrides is deprecated and we do
have overlays since quite a while.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @edolstra
2018-06-11 20:58:33 +02:00
Matthew Justin BauerandGitHub 4ca4c886e4 unix-tools.nix: install binary instead of linking
This gives us a little smaller closure & was the original intent with unix-tools.nix. Some merge must have gotten rid of it.
2018-06-11 14:49:50 -04:00
Matthew Bauer 1b46c4b2a4 click: fix locale in darwin
unixtools.locale is used
2018-06-11 14:47:48 -04:00
Matthew Bauer d64b85983b netbsd.locale: init 2018-06-11 14:47:47 -04:00
Izorkinandxeji 1705428cf9 mariadb galera: fix build (#41813) 2018-06-11 20:42:53 +02:00
Orivej DeshandGitHub fd97db43bc pruneLibtoolFiles: init setup hook (#41819)
A .la file specifies linker flags to link with the library it describes. Its
"dependency_libs" field lists the libraries that this library depends upon.
This list often contains "-l" flags without corresponding "-L" flags. Many
packages in Nixpkgs deal with this in one of these ways:
- delete .la file [1]
- clear dependency_libs [2]
- add -L flags to dependency_libs [3]
- propagate dependencies [4]

Sometimes "dependency_libs" contain wrong "-L" flags pointing to the "dev"
output with headers rather than to the main output with libraries. They have to
be edited or deleted to reduce closure size [5].

Deleting .la files is often but not always safe [6].  Atomatically deleting as
many of them as possible is complex [7].  Deleting .la files that describe
shared rather than static libraries is probably safe; but clearing their
"dependency_libs" field achieves the same effect with less potential for
unintended consequences.  This is the approach that may be enabled for all
Nixpkgs.

[1] https://github.com/NixOS/nixpkgs/commit/2a79d296d3de74da77b49ca8dc9d356b1a7a1c8d
[2] https://github.com/NixOS/nixpkgs/commit/c83a53098599c49ec57823bf655ce8b45f6aea10
[3] https://github.com/NixOS/nixpkgs/commit/9e0dcf3bd9fcfeed576132b9101b866aa3cb76ff
[4] https://github.com/NixOS/nixpkgs/commit/01134e698fdfb3b61f8ab8ec3bf13e0718f63955
[5] https://github.com/NixOS/nixpkgs/commit/f6c73f1e37c735abb686d07449f349b796c54cf8
[6] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Handling_Libtool_Archives
[7] https://github.com/gentoo/gentoo/blob/fb1f2435/eclass/ltprune.eclass
2018-06-11 18:11:02 +00:00
Izorkinandxeji 2f73a373db asio: add old version 1.10.8 (#41822) 2018-06-11 20:03:09 +02:00
Tobias Happandxeji a176f5e702 pythonPackages.pdf2image: init at 0.1.13 (#41741) 2018-06-11 20:01:01 +02:00
Michael Raskin b4c38a5174 mariadb: galera: there is no galera_new_cluster 2018-06-11 20:06:27 +02:00
Matthew Justin BauerandGitHub 64cdcb57de Merge pull request #41843 from flokli/python-click-path
python3Packages.click: fix 'locale' path
2018-06-11 13:55:14 -04:00
Sarah Brofeldtandxeji c80e0fbb08 docker: Ensure references to go are removed from docker-containerd (#41849) 2018-06-11 19:45:34 +02:00
Frank Doepper f9a23fe0a6 nixos/zfs: fix vdev_id PATH
closes #41602
2018-06-11 19:30:14 +02:00
Ryan TrinkleandMatthew Bauer fe04fe868b Fix gradle build 2018-06-11 13:25:54 -04:00
Ali AbrarandMatthew Bauer abddf4ab83 Don't append signingConfigs to build.gradle 2018-06-11 13:25:47 -04:00
Ali AbrarandMatthew Bauer 465e3a01d4 Add android sdk license acceptance 2018-06-11 13:25:41 -04:00
Ali AbrarandMatthew Bauer 1cc64da8d4 add signing to buildGradleApp 2018-06-11 13:25:34 -04:00
Ali AbrarandMatthew Bauer 62b59e5353 Add buildGradleApp to androidenv 2018-06-11 13:25:27 -04:00
Jan Malakhovskiandxeji f431f209d7 uim: 1.8.6-20180501-git -> 1.8.8 (#41850) 2018-06-11 19:16:53 +02:00
Florian Klink c358e1ded9 python3Packages.click: fix 'locale' path
importing click shells out to 'locale', which currently needs to be in
PATH. Fix by setting patching locale command at runtime.
2018-06-11 19:10:15 +02:00
volthandGitHub 4d07170dc0 network-interfaces.nix: remove duplicate code 2018-06-11 16:50:01 +00:00
Daniel PeeblesandGitHub 363363298c Merge pull request #17757 from copumpkin/fetchurl-user-agent
fetchurl: add user agent
2018-06-11 12:49:06 -04:00
R. RyanTMandxeji f550fa4a72 fwts: 18.03.00 -> 18.05.00 (#41563)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/fwts/versions.

These checks were done:

- built on NixOS
- /nix/store/v5wy7231jv43gnni4s3jcq0lz1qx21bs-fwts-18.05.00/bin/fwts passed the binary check.
- Warning: no invocation of /nix/store/v5wy7231jv43gnni4s3jcq0lz1qx21bs-fwts-18.05.00/bin/kernelscan had a zero exit code or showed the expected version
- 1 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 18.05.00 with grep in /nix/store/v5wy7231jv43gnni4s3jcq0lz1qx21bs-fwts-18.05.00
- directory tree listing: https://gist.github.com/8fb4995cd885cdeea7a35d51b7edca3b
- du listing: https://gist.github.com/8cc61b948b8e0aa4a1a8088464c5536d
2018-06-11 18:47:12 +02:00
Ryan Mulligan 24f176f016 nixos/mattermost: fix JoinsNamespaceOf config location 2018-06-11 09:47:01 -07:00
Frederik RietdijkandGitHub c16e457059 Merge pull request #41844 from flokli/gitpython-git
pythonPackages.GitPython: set path to git executable
2018-06-11 18:43:21 +02:00
Will DietzandGitHub 342d08abdb Merge pull request #41848 from dtzWill/update/mendeley-1.19.1
mendeley: 1.18 -> 1.19.1
2018-06-11 11:35:46 -05:00
xejiandGitHub 25398a90b1 Merge pull request #41723 from flokli/udisks-2.7.6
udisks 2.1.6 -> 2.7.6
2018-06-11 18:29:42 +02:00
Matthew Bauer 69f832d2ee llvm: fix darwin cross bootstrapping cmake
Cmake needs to be listed as a build package for cross splicing to
work correctly.
2018-06-11 12:24:47 -04:00
Florian Klink 41b140cb25 udisks2: 2.1.6 → 2.7.6
supersedes #35551
closes #34999

/cc https://github.com/NixOS/nixpkgs/pull/38382
2018-06-11 18:13:32 +02:00
Jan TojnarandFlorian Klink 058b0e7a47 libblockdev: init at 2.17 2018-06-11 18:13:32 +02:00
Florian Klink 1034ef2193 libndctl: init at 60.3 2018-06-11 18:13:31 +02:00
Jan TojnarandFlorian Klink f78ca4715b volume_key: init at 0.3.9 2018-06-11 18:13:31 +02:00
Jan TojnarandFlorian Klink 6d4069964f libbytesize: init at 1.3 2018-06-11 18:13:31 +02:00
Matthew Justin BauerandGitHub 4206554555 Merge pull request #41847 from mnacamura/trash-cli-darwin
trash-cli: enable darwin build
2018-06-11 12:01:42 -04:00
SLNOSandJan Malakhovski adab27a352 nixos/tor: use ControlPort for controlSocket for simplicity 2018-06-11 15:52:24 +00:00
SLNOSandJan Malakhovski 2de3c4bd78 nixos/tor: add tor-init service to fix directory ownerships, fix hardenings
This reverts a part of 5bd12c694b.

Apparently there's no way to specify user for RuntimeDirectory in systemd
service file (it's always root) but tor won't create control socket if the dir
is owned by anybody except the tor user.

These hardenings were adopted from the upstream service file, checked
against systemd.service(5) and systemd.exec(5) manuals, and tested to
actually work with all the options enabled.

`PrivateDevices` implies `DevicePolicy=closed` according to systemd.exec(5),
removed.

`--RunAsDaemon 0` is the default value according to tor(5), removed.
2018-06-11 15:52:24 +00:00
Mitsuhiro Nakamura 3e766a56c4 trash-cli: enable darwin build 2018-06-12 00:42:25 +09:00
Will Dietz 5f165fd2fc mendeley: 1.18 -> 1.19.1
1.19 had show-stopper bugs,
but 1.19.1 seems to work well :).
2018-06-11 10:37:31 -05:00
Raymond Gauthier 3dfc9cd826 nixos/uvcvideo.dynctrl: Init 2018-06-11 11:33:49 -04:00
Robert Schütz 2b1daeb285 borgbackup: 1.1.5 -> 1.1.6 2018-06-11 17:22:24 +02:00
Matthew Justin BauerandGitHub 55282f339b unix-tools: add glibc 2018-06-11 11:19:31 -04:00
Florian Klink cb7f7fd094 pythonPackages.GitPython: set path to git executable 2018-06-11 17:10:53 +02:00
SLNOSandJan Malakhovski bb3984f709 tor-browser: drop 7.0.x expression 2018-06-11 15:10:00 +00:00
SLNOSandJan Malakhovski de117c1ef9 tor-browser: 52.8.0esr-7.5-1 -> 52.8.1esr-7.5-1 2018-06-11 15:10:00 +00:00
Jan Malakhovski 449d43fe01 lib: fix and simplify doRename
Before this change `mkRenamedOptionModule` would override option defaults
even when the old option name is left unused. For instance

```nix
{
  optios = {
    services.name.new = mkOption {
      default = { one = {}; };
    };
  };
  imports = [
    (mkRenamedOptionModule [ "services" "name" "old" ] [ "services" "name" "new" "two" ])
  ];
  config = {};
}
```

would evaluate to

`{ config.services.name.new = { two = {}; }; }`

when you'd expect it to evaluate to

`{ config.services.name.new = { one = {}; }; }`.
2018-06-11 15:06:27 +00:00
Jan Malakhovski c0c43e9c07 lib: simplify mkAliasAndWrapDefinitions 2018-06-11 15:06:27 +00:00
Danylo HlynskyiandRobert Schütz 694684ff80 pythonPackages.certifi: 2018.1.18 -> 2018.4.16, cleanup (#41603) 2018-06-11 17:03:54 +02:00