Commit Graph

176141 Commits

Author SHA1 Message Date
Graham Christensen
817c933878
check-env: don't execute check-meta.nix 15,000 times
Generated from https://github.com/NixOS/nix/pull/2761:

```
                                                                                          ns     calls ns/call
- /home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:22:5 591200 15026 39.3451
+ /home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:22:5 8744   308   28.3896
```

more, generated by:

```
$ NIX_SHOW_STATS=1 NIX_COUNT_CALLS=1 nix-instantiate ./pkgs/top-level/release.nix -A unstable > before 2>&1
$ jq -r '.functions | map((.name + ":" + .file + ":" + (.line|tostring) + ":" + (.column|tostring) + " " + (.count|tostring))) | .[]' before | sort  > before.list
```

applying this patch, then:

```
$ NIX_SHOW_STATS=1 NIX_COUNT_CALLS=1 nix-instantiate ./pkgs/top-level/release.nix -A unstable > after 2>&1
$ jq -r '.functions | map((.name + ":" + .file + ":" + (.line|tostring) + ":" + (.column|tostring) + " " + (.count|tostring))) | .[]' after | sort  > after.list
```

and then diffing before.list and after.list to get:

```
                                                                                                        calls
- :/home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:4:1               7513
+ :/home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:4:1               154

- mutuallyExclusive:/home/grahamc/projects/github.com/NixOS/nixpkgs/lib/lists.nix:658:23                7513
+ mutuallyExclusive:/home/grahamc/projects/github.com/NixOS/nixpkgs/lib/lists.nix:658:23                154

- mutuallyExclusive:/home/grahamc/projects/github.com/NixOS/nixpkgs/lib/lists.nix:658:26                7513
+ mutuallyExclusive:/home/grahamc/projects/github.com/NixOS/nixpkgs/lib/lists.nix:658:26                154

- onlyLicenses:/home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:21:18 15026
+ onlyLicenses:/home/grahamc/projects/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/check-meta.nix:21:18 308
```

The following information is from `NIX_SHOW_STATS=1 GC_INITIAL_HEAP_SIZE=4g nix-env -f ./outpaths.nix -qaP --no-name --out-path --arg checkMeta true`:

| stat                       | before         | after          | Δ               | Δ%      |
|:---------------------------|---------------:|---------------:|:----------------|--------:|
| **cpuTime**                |        179.915 |        145.543 | 🡖 34.372        | -19.10% |
| **envs-bytes**             |  3,900,878,824 |  3,599,483,208 | 🡖 301,395,616   |  -7.73% |
| **envs-elements**          |    214,426,071 |    185,881,709 | 🡖 28,544,362    | -13.31% |
| **envs-number**            |    136,591,891 |    132,026,846 | 🡖 4,565,045     |  -3.34% |
| **gc-heapSize**            | 11,400,048,640 | 12,314,890,240 | 🡕 914,841,600   |   8.02% |
| **gc-totalBytes**          | 25,976,902,560 | 24,510,740,176 | 🡖 1,466,162,384 |  -5.64% |
| **list-bytes**             |  1,665,290,080 |  1,665,290,080 | 0               |         |
| **list-concats**           |      7,264,417 |      7,264,417 | 0               |         |
| **list-elements**          |    208,161,260 |    208,161,260 | 0               |         |
| **nrAvoided**              |    191,359,386 |    179,693,661 | 🡖 11,665,725    |  -6.10% |
| **nrFunctionCalls**        |    119,665,062 |    116,348,547 | 🡖 3,316,515     |  -2.77% |
| **nrLookups**              |     80,996,257 |     76,069,825 | 🡖 4,926,432     |  -6.08% |
| **nrOpUpdateValuesCopied** |    213,930,649 |    213,930,649 | 0               |         |
| **nrOpUpdates**            |     12,025,937 |     12,025,937 | 0               |         |
| **nrPrimOpCalls**          |     88,105,604 |     86,451,598 | 🡖 1,654,006     |  -1.88% |
| **nrThunks**               |    196,842,044 |    175,126,701 | 🡖 21,715,343    | -11.03% |
| **sets-bytes**             |  7,678,425,776 |  7,285,767,928 | 🡖 392,657,848   |  -5.11% |
| **sets-elements**          |    310,241,340 |    294,373,227 | 🡖 15,868,113    |  -5.11% |
| **sets-number**            |     29,079,202 |     27,601,310 | 🡖 1,477,892     |  -5.08% |
| **sizes-Attr**             |             24 |             24 | 0               |         |
| **sizes-Bindings**         |              8 |              8 | 0               |         |
| **sizes-Env**              |             16 |             16 | 0               |         |
| **sizes-Value**            |             24 |             24 | 0               |         |
| **symbols-bytes**          |     16,474,666 |     16,474,676 | 🡕 10            |   0.00% |
| **symbols-number**         |        376,426 |        376,427 | 🡕 1             |   0.00% |
| **values-bytes**           |  6,856,506,288 |  6,316,585,560 | 🡖 539,920,728   |  -7.87% |
| **values-number**          |    285,687,762 |    263,191,065 | 🡖 22,496,697    |  -7.87% |

The following information is from `NIX_SHOW_STATS=1 GC_INITIAL_HEAP_SIZE=4g nix-instantiate ./nixos/release-combined.nix -A tested`:

| stat                       | before         | after          | Δ               | Δ%     |
|:---------------------------|---------------:|---------------:|:----------------|-------:|
| **cpuTime**                |        256.071 |        237.531 | 🡖 18.54         | -7.24% |
| **envs-bytes**             |  7,111,004,192 |  7,041,478,520 | 🡖 69,525,672    | -0.98% |
| **envs-elements**          |    346,236,940 |    339,588,487 | 🡖 6,648,453     | -1.92% |
| **envs-number**            |    271,319,292 |    270,298,164 | 🡖 1,021,128     | -0.38% |
| **gc-heapSize**            |  8,995,291,136 | 10,110,009,344 | 🡕 1,114,718,208 | 12.39% |
| **gc-totalBytes**          | 37,172,737,408 | 36,878,391,888 | 🡖 294,345,520   | -0.79% |
| **list-bytes**             |  1,886,162,656 |  1,886,163,472 | 🡕 816           |  0.00% |
| **list-concats**           |      6,898,114 |      6,898,114 | 0               |        |
| **list-elements**          |    235,770,332 |    235,770,434 | 🡕 102           |  0.00% |
| **nrAvoided**              |    328,829,821 |    326,618,157 | 🡖 2,211,664     | -0.67% |
| **nrFunctionCalls**        |    240,850,845 |    239,998,495 | 🡖 852,350       | -0.35% |
| **nrLookups**              |    144,849,632 |    142,126,339 | 🡖 2,723,293     | -1.88% |
| **nrOpUpdateValuesCopied** |    251,032,504 |    251,032,504 | 0               |        |
| **nrOpUpdates**            |     17,903,110 |     17,903,110 | 0               |        |
| **nrPrimOpCalls**          |    140,674,913 |    139,485,975 | 🡖 1,188,938     | -0.85% |
| **nrThunks**               |    294,643,131 |    288,678,022 | 🡖 5,965,109     | -2.02% |
| **sets-bytes**             |  9,464,322,192 |  9,456,172,048 | 🡖 8,150,144     | -0.09% |
| **sets-elements**          |    377,474,889 |    377,134,877 | 🡖 340,012       | -0.09% |
| **sets-number**            |     50,615,607 |     50,616,875 | 🡕 1,268         |  0.00% |
| **sizes-Attr**             |             24 |             24 | 0               |        |
| **sizes-Bindings**         |              8 |              8 | 0               |        |
| **sizes-Env**              |             16 |             16 | 0               |        |
| **sizes-Value**            |             24 |             24 | 0               |        |
| **symbols-bytes**          |      3,147,102 |      3,147,064 | 🡖 38            | -0.00% |
| **symbols-number**         |         82,819 |         82,819 | 0               |        |
| **values-bytes**           | 11,147,448,768 | 10,996,111,512 | 🡖 151,337,256   | -1.36% |
| **values-number**          |    464,477,032 |    458,171,313 | 🡖 6,305,719     | -1.36% |
2019-04-11 19:21:38 -04:00
Sarah Brofeldt
969149302c
Merge pull request #52021 from marius851000/fltrator
fltrator: init at 2.3
2019-04-12 01:01:34 +02:00
Edmund Wu
13923b54fb
vscode: 1.33.0 -> 1.33.1 2019-04-11 18:10:42 -04:00
Tim Steinbach
f5d208d754
linux: 5.1-rc3 -> 5.1-rc4 2019-04-11 17:58:41 -04:00
Tim Steinbach
4b305d75c4
vivaldi: 2.4.1488.36-1 -> 2.4.1488.38-1 2019-04-11 17:41:02 -04:00
Tim Steinbach
8321a448a6
vivaldi: Update update.sh 2019-04-11 17:13:15 -04:00
Bob van der Linden
605f67eab4
alsa-plugins: use $out/etc/alsa/conf.d for alsalconfdir 2019-04-11 23:07:42 +02:00
Edmund Wu
d0506bed9f vscode-extensions.ms-vscode.cpptools: 0.21.0 -> 0.22.1 (#58295) 2019-04-11 23:07:23 +02:00
Michael Weiss
86a914adb4
jekyll: Switch from bundlerEnv to bundlerApp (#59327) 2019-04-11 23:05:46 +02:00
Thomas Mader
dceae4927c dub: 1.13.0 -> 1.14.0 2019-04-11 23:03:18 +02:00
Thomas Mader
68b5797017 dtools: 2.084.1 -> 2.085.1 2019-04-11 23:03:18 +02:00
Thomas Mader
85adc80b3e dmd: 2.084.1 -> 2.085.1 2019-04-11 23:03:18 +02:00
Thomas Mader
31fe00df8a ldc: 1.14.0 -> 1.15.0 2019-04-11 23:03:18 +02:00
Silvan Mosberger
2d1fa68c83
Merge pull request #59044 from teto/strongswan_path
strongswan module: use strings for secrets.
2019-04-11 22:51:24 +02:00
Bob van der Linden
8f6aa781e8
alsa-{oss,plugins}: use pname 2019-04-11 22:46:35 +02:00
lightbulbjim
fd45865b2e crawl: 0.22.1 -> 0.23.2 (#59246)
PyYAML added as a new dependency.
2019-04-11 22:34:04 +02:00
xrelkd
c73e35a9b4 cargo-xbuild: 0.5.7 -> 0.5.8 (#59328) 2019-04-11 22:33:28 +02:00
Jean-Paul Calderone
be8f891c5a tahoe-lafs: clean up inputs (#59231)
Numpy has not been a dependency since 2012.
Apart from being unnecessary, numpy depends on openblas which fails to build on aarch64.
2019-04-11 22:22:59 +02:00
Bob van der Linden
fae2dc74a6
alsa-oss: split version from name 2019-04-11 22:03:07 +02:00
Bob van der Linden
c5c0c8f9fa
alsa-plugins: 1.1.6 -> 1.1.8 2019-04-11 22:02:06 +02:00
Nathaniel Hill
25d29f271e now-cli: 15.0.3 -> 15.0.4 (#59324) 2019-04-11 21:59:31 +02:00
xrelkd
6efb05a573 cargo-expand: init at 0.4.10 (#59199) 2019-04-11 21:59:12 +02:00
Christopher A. Williamson
c2b1f0079f jenkins: 2.164.1 -> 2.164.2 (#59309) 2019-04-11 21:56:23 +02:00
Alex Branham
0a80d3dc82 R: update CRAN and Bioconductor package sets
Closes https://github.com/NixOS/nixpkgs/pull/59186.
2019-04-11 20:37:18 +02:00
Enno Lohmeier
da7aeb1b7d prometheus: add tls_config 2019-04-11 20:34:31 +02:00
Matthew Bauer
d95c4d799c
Merge pull request #59294 from matthewbauer/clang8-fix-darwin
clang8: apply patch to disable xpc
2019-04-11 13:39:59 -04:00
Robert Schütz
7cdb9dd470 python.pkgs.pylama: 7.6.6 -> 7.7.1 2019-04-11 19:27:19 +02:00
WilliButz
a14e37538e grafana: 6.1.2 -> 6.1.3 (#59307) 2019-04-11 19:23:40 +02:00
Anthony Cowley
570ea1e427 vulkan-tools: add dependency on vulkan-headers
This fixes the build on NixOS.
2019-04-11 12:59:41 -04:00
Aaron Andersen
ef995ffcf6 phpPackages.sqlsrv & phpPackages.pdo_sqlsrv: 5.6.0 -> 5.6.1 2019-04-11 12:34:49 -04:00
Christopher Ostrouchov
d27643bc0a python3Packages.nixpkgs-pytools: init at 1.0.0 (#59279) 2019-04-11 18:31:00 +02:00
Anton-Latukha
b6ceaf0123 wmctrl: mv site&upstream from Google+ to current official site 2019-04-11 19:30:45 +03:00
Anton-Latukha
a7a75ba5c7 wmctrl: adopt package 2019-04-11 19:30:35 +03:00
Robert Schütz
5908a0244f
Merge pull request #57469 from r-ryantm/auto-update/python3.7-zeep
python37Packages.zeep: 3.2.0 -> 3.3.0
2019-04-11 18:23:33 +02:00
Frederik Rietdijk
993e2b4ec2
Merge pull request #59098 from NixOS/staging-next
Staging next
2019-04-11 18:23:14 +02:00
Robert Schütz
b716b4d732 python.pkgs.zeep: enable tests for python3 2019-04-11 18:18:45 +02:00
Rodney Lorrimar
8b4269bc1e pythonPackages.aioresponses: init at 0.6.0 2019-04-11 18:05:41 +02:00
Robert Schütz
b54bce24cf home-assistant: 0.91.2 -> 0.91.3 2019-04-11 17:43:55 +02:00
Timo Kaufmann
0550927c47
Merge pull request #57201 from tesq0/pull-request-unity
unity3d: 2017.4.10f1 -> 2018.3.0f2
2019-04-11 17:07:56 +02:00
Silvan Mosberger
b8dc0f9a5b
nixos/znc: Fix URL XML for config option 2019-04-11 16:59:19 +02:00
AmineChikhaoui
02bb5e35ea pythonPackages.azure-mgmt-storage: remove patch.
as suggested in the comment.
2019-04-11 16:41:48 +02:00
Mikolaj Galkowski
594964260b unity3d: 2017.4.10f1 -> 2018.3.0f2 2019-04-11 16:30:48 +02:00
Mikolaj Galkowski
0ef83bc0fd unity3d: add tesq0 to the maintainers 2019-04-11 16:30:48 +02:00
Mikolaj Galkowski
023b3a5730 maintainers: add tesq0 2019-04-11 16:30:48 +02:00
Mario Rodas
bcfc8ce784
buck: 2017.10.01.01 -> 2019.01.10.01 2019-04-11 08:10:00 -05:00
aszlig
6b2bd330fa
wordgrinder: Fix sha256 hash
The hash used for fetchFromGitHub was on the archive itself, however
fetchFromGitHub is actually a wrapper of fetchzip:

hash mismatch in fixed-output derivation '...-source':
  wanted: sha256:1zqx3p9l22njni44ads3fyw3xh6807wmb5k1x2glg61z81cwc6sf
  got:    sha256:08lnq5wmspfqdjmqm15gizcq0xr7mg4h62qhvwj63v0sd6ks1cal

When using nix-prefetch-url without the --unpack argument, I get:

1zqx3p9l22njni44ads3fyw3xh6807wmb5k1x2glg61z81cwc6sf

And with the --unpack argument:

08lnq5wmspfqdjmqm15gizcq0xr7mg4h62qhvwj63v0sd6ks1cal

Just to be 100% sure the contents are the same, I also diffed the
contents of the former tarball with the outputs of the unpacked dir and
they're the same.

I didn't actually test the package (which doesn't build right now
anyway), but now at least the source checksum is fixed :-)

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @matthiasbeyer
2019-04-11 14:58:02 +02:00
Pascal Wittmann
391e474062
Merge pull request #59273 from veprbl/pr/snakemake_5.4.4
snakemake: 5.2.2 -> 5.4.4
2019-04-11 14:41:26 +02:00
Pascal Wittmann
aea1ebd186
Merge pull request #58705 from dtzWill/update/sstp-1.0.12
sstp: 1.0.11 -> 1.0.12
2019-04-11 14:38:24 +02:00
Pascal Wittmann
eeec3349b1
Merge pull request #59296 from Quiark/master
keepassxc: 2.3.4 -> 2.4.0
2019-04-11 14:25:31 +02:00
Matthieu Coudron
a4c15f1b35 python3Packages.papis: provide as a library too (#59070)
* python3Packages.papis: provides as a library too

The project is turning into a dependency for several scripts and possibly UIs
(see the different repositories at https://github.com/papis/) so it makes sense
to have it as a library.

* moved papis to python-modules

* add myself as maintainer
2019-04-11 12:55:08 +02:00