Commit graph

248405 commits

Author SHA1 Message Date
Robert Hensing afa6c51f27 lib: Use Nix's static scope checking, fix error message, optimize
Nix can perform static scope checking, but whenever code is inside
a `with` expression, the analysis breaks down, because it can't
know statically what's in the attribute set whose attributes were
brought into scope. In those cases, Nix has to assume that
everything works out.

Except it doesnt. Removing `with` from lib/ revealed an undefined
variable in an error message.

If that doesn't convince you that we're better off without `with`,
I can tell you that this PR results in a 3% evaluation performance
improvement because Nix can look up local variables by index.
This adds up with applications like the module system.

Furthermore, removing `with` makes the binding site of each
variable obvious, which helps with comprehension.
2020-10-22 13:46:47 +02:00
Robert Hensing 5aa2a98dfa lib/types.nix: Use // instead of mergeAttrs 2020-10-22 13:46:47 +02:00
Robert Hensing 4d4682c2b6 lib/options.nix: Use head instead of elemAt _ 0 2020-10-22 13:46:47 +02:00
Michael Weiss 002750572a
nvme-cli: 1.12 -> 1.13 2020-10-22 13:36:47 +02:00
Michael Weiss d8cbc9d331
signal-desktop: 1.37.1 -> 1.37.2 2020-10-22 13:36:12 +02:00
GuangTao f5a8ea23bd
polar-bookshelf: 1.13.10 -> 2.0.42
* polar-bookshelf: 1.13.10 -> 2.0.42

* Update pkgs/applications/misc/polar-bookshelf/default.nix

Co-authored-by: Zak B. Elep <zakame@zakame.net>
2020-10-22 13:35:35 +02:00
Martin Weinelt d3b2380252
Merge pull request #101305 from nh2/rspamd-passthru-tests
rspamd: add passthru.tests
2020-10-22 13:34:53 +02:00
Maximilian Bosch 98170761a8
Merge pull request #101222 from omasanori/ssh-kex
nixos/sshd: update kexAlgorithms, fix links
2020-10-22 13:27:47 +02:00
WilliButz d4ed405167
Merge pull request #101301 from r-ryantm/auto-update/atlassian-jira
atlassian-jira: 8.12.0 -> 8.13.0
2020-10-22 12:57:43 +02:00
Maximilian Bosch 59433db7e3
Merge pull request #101339 from WilliButz/update/grafana/v7.2.2
grafana: 7.2.1 -> 7.2.2
2020-10-22 12:01:46 +02:00
Eelco Dolstra 05bdfd6f2f
Merge pull request #98973 from Ma27/bump-hydra
hydra-unstable: 2020-09-02 -> 2020-10-20
2020-10-22 12:01:13 +02:00
Andreas Rammhold d82e6359bd
Merge pull request #101326 from r-ryantm/auto-update/rust-cbindgen
rust-cbindgen: 0.14.4 -> 0.15.0
2020-10-22 11:51:55 +02:00
Michael Weiss 10b4fe1022
Merge pull request #101306 from TredwellGit/chromium
chromium: 86.0.4240.75 -> 86.0.4240.111
2020-10-22 11:47:35 +02:00
Lancelot SIX ec6f9e1c83
Merge pull request #101193 from bachp/skypeforlinux-8.65.0.78
skypeforlinux: 8.64.0.81 -> 8.65.0.78
2020-10-22 10:30:36 +01:00
Eelco Dolstra 357a62df6c
Merge pull request #101272 from edolstra/fix-kdeconnect
Fix kdeconnect
2020-10-22 11:18:38 +02:00
WilliButz f7bc6be76c
grafana: 7.2.1 -> 7.2.2 2020-10-22 11:11:44 +02:00
Andreas Rammhold 89351525fa
Merge pull request #101246 from rnhmjoj/vm-fix
nixos: fix qemu_test being used in normal VMs
2020-10-22 11:09:05 +02:00
Lassulus 404182e039
Merge pull request #101286 from xfix/dolphin-update
dolphinEmuMaster: 5.0-11824 -> 5.0-12716
2020-10-22 11:08:20 +02:00
Maximilian Bosch d976433296
element-desktop: 1.7.9 -> 1.7.10
https://github.com/vector-im/element-desktop/releases/tag/v1.7.10
2020-10-22 11:03:10 +02:00
Maximilian Bosch 96f29b90a1
element-web: 1.7.9 -> 1.7.10
https://github.com/vector-im/element-web/releases/tag/v1.7.10
2020-10-22 11:03:10 +02:00
sternenseemann afd289a8b7 ocamlPackages.mirage-crypto*: 0.8.5 → 0.8.6 2020-10-22 11:01:10 +02:00
Jan Tojnar 6c40c0ace8
Merge pull request #96322 from r-ryantm/auto-update/ibus-hangul
ibus-engines.hangul: 1.5.3 -> 1.5.4
2020-10-22 10:43:08 +02:00
Jan Tojnar 03c64130bb
Merge pull request #94892 from toonn/font-joypixels-emoji 2020-10-22 10:21:25 +02:00
Marek Mahut c177135cb2
Merge pull request #101298 from r-ryantm/auto-update/bitcoin-unlimited
bitcoin-unlimited: 1.8.0.0 -> 1.9.0.1
2020-10-22 09:23:57 +02:00
Vincent Laporte ec3aa4c109 ocamlPackages.pgocaml: 4.0 → 4.2.2 2020-10-22 08:17:38 +02:00
Vincent Laporte 1e985c9e29 ocamlPackages.ocsigen-start: remove unused parameter 2020-10-22 08:17:38 +02:00
R. RyanTM 37677080be rust-cbindgen: 0.14.4 -> 0.15.0 2020-10-22 04:38:10 +00:00
Mario Rodas 01e2d901bb
Merge pull request #101312 from marsam/update-nodejs-15_x
nodejs-15_x: 15.0.0 -> 15.0.1
2020-10-21 20:58:35 -05:00
Mario Rodas 916401a2f7
Merge pull request #101253 from eyJhb/bitlbeefb
bitlbee-facebook: 1.2.0 -> 1.2.1
2020-10-21 20:35:39 -05:00
Mario Rodas 4accc093fb
Merge pull request #101264 from r-ryantm/auto-update/bazelisk
bazelisk: 1.7.2 -> 1.7.3
2020-10-21 20:33:53 -05:00
Mario Rodas 54d943797e
Merge pull request #101283 from r-ryantm/auto-update/bandwidth
bandwidth: 1.9.3 -> 1.9.4
2020-10-21 20:33:16 -05:00
Jan Tojnar 5902a08028
joypixels: run install hooks
Also clean up formatting.
2020-10-22 03:32:45 +02:00
toonn 196c828153
joypixels: Use updated font for macOS
After some back and forth with JoyPixels they agreed to creating a
version of their font for macOS that does not use the exact same name as
the Apple Color Emoji default font.

This naming collision meant it was impossible to configure applications
to use the JoyPixels emoji font unless you disabled the Apple Color
Emoji font using Font Book. Which meant the JoyPixels font could either
replace the Apple Color Emoji font completely or only fill in the gaps
in that font (on my system "hot face" isn't in the system font) but not
be used entirely for specific apps or be used with the system font as a
back up.
2020-10-22 03:32:45 +02:00
toonn fd653b992a
joypixels: Move assert to allow override
By moving the assert concerning license acceptance into the src
attribute license acceptance can be expressed with an override,
`joypixels.override { acceptLicense = true; }`.
2020-10-22 03:32:44 +02:00
toonn ca61c67381
joypixels: Drop dash from nixos endpoint url
The url was changed on request.
2020-10-22 03:32:44 +02:00
toonn 0da946eac8
joypixels: Reword license acceptance warning 2020-10-22 03:32:44 +02:00
toonn 48128ba77f
joypixels: Mark license as unfree 2020-10-22 03:32:44 +02:00
toonn f9f1cbbffa
joypixels: Switch on kernel.name rather than system
x86_64-darwin is too specific because macOS runs on multiple
architectures.
2020-10-22 03:32:43 +02:00
toonn c5249d1e9d
joypixels: Refactor to special-case darwin
Specifying the system-specific variables for x86_64-darwin and
x86_64-linux is too restrictive, excluding for example i686-linux.
Since macOS seems to be the odd one out we can special-case only
x86_64-darwin.
2020-10-22 03:32:43 +02:00
toonn 25ca62c2a2
joypixels: Switch from override to config option
Switch from an overridden variable to an option specified in
configuration.nix or config.nix:
  ```
  joypixels.acceptLicense = true;
  ```
2020-10-22 03:32:43 +02:00
toonn a880ab2e98
joypixels: Refactor to group system-specific variables 2020-10-22 03:32:42 +02:00
toonn cd255a375e
joypixels: Add proper license
The JoyPixels font comes with a license which requires explicit
acceptance by the user.
2020-10-22 03:32:42 +02:00
toonn d36a92fd2c
joypixels: Update metadata 2020-10-22 03:32:42 +02:00
toonn 568beeaa28
joypixels: Refactor src and installPhase for clarity 2020-10-22 03:32:41 +02:00
toonn e0ad840a06
joypixels: Add support for darwin 2020-10-22 03:32:41 +02:00
toonn da117df3f4
joypixels: Use dedicated NixOS cdn endpoint
The Arch Linux endpoint was not intended to be used as-is by other
distros. I have asked for and received a proper license with a dedicated
endpoint for NixOS.
2020-10-22 03:32:41 +02:00
zowoq c70acdfd09 cargo-edit: drop darwin workaround 2020-10-22 11:24:37 +10:00
zowoq a203ae7e54 vivid: drop darwin workaround 2020-10-22 11:24:37 +10:00
zowoq 0ed762c4a9 miniserve: drop darwin workaround 2020-10-22 11:24:37 +10:00
zowoq 3447b9b2c0 broot: drop darwin workaround 2020-10-22 11:24:37 +10:00