Commit graph

204752 commits

Author SHA1 Message Date
Chuck
9dd23e8743 nixos/nixos-option: Refactor: Move functions around 2019-12-19 15:00:43 +01:00
Chuck
09ac7cb55f nixos/nixos-option: Show values inside aggregate options uniformly
1. This makes aggregates of submodules (including the very important
"nixos-option users.users.<username>" case) behave the same way as any
other you-need-to-keep-typing-to-get-to-an-option-leaf (eg:
"nixos-option environment").

Before e0780c5:

  $ nixos-option users.users.root
  error: At 'root' in path 'users.users.root': Attribute not found
  An error occurred while looking for attribute names. Are you sure that 'users.users.root' exists?

After e0780c5 but before this change, this query just printed out a raw
thing, which is behavior that belongs in "nix eval", "nix-instantiate
--eval", or "nix repl <<<":

  $ nixos-option users.users.root
  {
    _module = {
      args = { name = "root"; };
      check = true;
    };
    createHome = false;
    cryptHomeLuks = null;
    description = "System administrator";
    ...

After this change:

  $ nixos-option users.users.root
  This attribute set contains:
  createHome
  cryptHomeLuks
  description
  extraGroups
  group
  hashedPassword
  ...

2. For aggregates of other types (not submodules), print out the option
that contains them rather than printing an error message.

Before:

  $ nixos-option environment.shellAliases.l
  error: At 'l' in path 'environment.shellAliases.l': Attribute not found
  An error occurred while looking for attribute names. Are you sure that 'environment.shellAliases.l' exists?

After:

  $ nixos-option environment.shellAliases.l
  Note: showing environment.shellAliases instead of environment.shellAliases.l
  Value:
  {
    l = "ls -alh";
    ll = "ls -l";
    ls = "ls --color=tty";
  }
  ...
2019-12-19 15:00:43 +01:00
Maximilian Bosch
e0780c5cff
nixos/nixos-option: fix evaluator to render a full submodule entry
When running e.g. `nixos-option users.users.ma27`, the evaluation breaks
since `ma27` is the attribute name in `attrsOf (submodule {})`, but not
a part of the option tree and therefore breaks with the following
errors:

```
error: At 'ma27' in path 'users.users.ma27': Attribute not found
An error occurred while looking for attribute names. Are you sure that 'users.users.ma27' exists?
```

This happens since the option evaluator expects that either the option
exists or the option is a submodule and the "next" token in the
attribute path points to an option (e.g. `users.users.ma27.createHome`).

This patch checks in the `Attribute not found` condition if the attribute-path
actually exists in the config tree. If that's true, a dummy-attrset is created
which contains `{_type = "__nixos-option-submodule-attr";}`, in that case, the
entire entry of the submodule will be displayed.
2019-12-12 14:27:36 +01:00
Maximilian Bosch
e16df73d30
geogebra: 5-0-560-0 -> 5-0-569-0 2019-12-08 03:50:02 +01:00
Dmitry Kalinkin
8a084180cd
Merge pull request #73212 from veprbl/pr/awkward1_init
pythonPackages.awkward1: init at 0.1.28
2019-12-07 21:48:31 -05:00
Dmitry Kalinkin
cc2334849f
pythonPackages.awkward1: init at 0.1.28 2019-12-07 21:47:50 -05:00
Mario Rodas
8795a23a86
Merge pull request #75191 from r-ryantm/auto-update/bootstrap
twitterBootstrap: 4.3.1 -> 4.4.1
2019-12-07 21:32:19 -05:00
Mario Rodas
eae8b63720
Merge pull request #74150 from filalex77/frp-0.29.1
frp: init at 0.30.0
2019-12-07 21:23:43 -05:00
Mario Rodas
2064b045ce
Merge pull request #75190 from marsam/update-tflint
tflint: 0.13.1 -> 0.13.2
2019-12-07 21:11:44 -05:00
Dmitry Kalinkin
adbd96a2c5
Merge pull request #74334 from veprbl/pr/tensorflow_darwin_enable
python3Packages.tensorflow-build: enable on darwin
2019-12-07 21:08:56 -05:00
Dmitry Kalinkin
ebf645e8e3
Merge pull request #74853 from veprbl/pr/fastparquet_0_3_2
pythonPackages.fastparquet: 0.2.1 -> 0.3.2
2019-12-07 21:08:35 -05:00
Mario Rodas
f0fd2fe510
Merge pull request #75152 from filalex77/emplace-0.2.8
emplace: 0.2.7 -> 0.2.8
2019-12-07 20:57:20 -05:00
Mario Rodas
d6baf47e93
Merge pull request #75168 from endocrimes/nomad-0-10-2
nomad: 0.10.0 -> 0.10.2
2019-12-07 20:45:32 -05:00
Dmitry Kalinkin
318c986f39
Merge pull request #75189 from Luflosi/kitty-no-glfw
kitty: remove unused GLFW dependency
2019-12-07 20:23:46 -05:00
tomberek
774ad67ce0 gawkextlib: init at unstable-2019-11-21 (#51721)
Co-Authored-By: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2019-12-07 20:07:33 -05:00
Jonathan Ringer
9dc8e77e4e giac-with-xcas: fix build
remove libGLU_combined package and replace with libGL and libGLU
2019-12-07 16:58:50 -08:00
R. RyanTM
b9af364c10 twitterBootstrap: 4.3.1 -> 4.4.1 2019-12-07 16:57:51 -08:00
Thomas Tuegel
86b6ee9825
Merge pull request #74262 from seqizz/g_krohnkite
krohnkite: init at 0.5
2019-12-07 18:48:34 -06:00
Thomas Tuegel
f35a7158bf
Merge pull request #74830 from Kiwi/startkde-broken
plasma5.plasma-workspace: fix patch
2019-12-07 18:48:02 -06:00
Luflosi
079d57fa20
kitty: remove unused GLFW dependency
kitty has its own heavily modified fork of GLFW embedded in the source code. Therefore it doesn't need GLFW as an external dependency.
2019-12-08 01:47:03 +01:00
Thomas Tuegel
fd80ac67ac
Merge pull request #75175 from Thra11/ark-description
ark: Add package description
2019-12-07 18:43:13 -06:00
Jonathan Ringer
bd6c0ce7cc gopher: 3.0.11 -> 3.0.17 2019-12-07 16:34:13 -08:00
Andreas Rammhold
5368791937
Merge pull request #75169 from mayflower/fix/firefox-71-lto
firefox: fix indexedDB for 71.0
2019-12-08 00:45:52 +01:00
Mario Rodas
21c657cd59
Merge pull request #74811 from marsam/buildGoModule-disable-goproxy-on-package-build
buildGoModule: disable consult the checksum database on build
2019-12-07 18:25:25 -05:00
Florian Klink
0c10431e4b
Merge pull request #75180 from flokli/nixos-test-port-pam-u2f
nixosTests.pam-u2f: port test to python
2019-12-07 23:57:14 +01:00
Maximilian Bosch
91480faba4
Merge pull request #75177 from Luflosi/kitty-change-substitution
kitty: replace library path using patch instead of substituteInPlace
2019-12-07 23:32:09 +01:00
Florian Klink
6b1faaf684 nixosTests.pam-u2f: port test to python 2019-12-07 23:16:59 +01:00
Tobias Mayer
b64a640edf cmake-format: 0.6.0 -> 0.6.2 2019-12-07 23:13:30 +01:00
Luflosi
c562eb22ab
kitty: replace library path using patch instead of substituteInPlace
This makes patching the path for `libEGL` consistent with `libstartup-notification` and `libcanberra`.
It should also prevent silently doing nothing in case the code in kitty is changed, similar to what was described in 1842c4aaa4.
2019-12-07 23:05:47 +01:00
Florian Klink
b665c387bc
Merge pull request #74935 from x123/x123-munin-test-python
nixos/tests/munin: port to python
2019-12-07 23:03:15 +01:00
Florian Klink
c36b8c57c2
Merge pull request #75140 from tomfitzhenry/hostapd-getrandom
hostapd: use getrandom(2)
2019-12-07 23:01:06 +01:00
Tom Hall
034701b80b ark: add package description 2019-12-07 21:53:40 +00:00
Patrick Hilhorst
7b3cf4c4e3 vscodium: 1.40.0 -> 1.40.1 2019-12-07 22:29:43 +01:00
Dima
fdefc23f7d mnemosyne: fix application
This application has been missing some dependencies and the
correct environment for Qt. Additionally I added a depdency
on anki to support the import feature.

The project has also moved development to Github, as very briefly
mentioned on https://mnemosyne-proj.org/contributing.php but the
2.6.1 version released there seems to differ and causes a bunch
of new problems, so leaving it for now.
2019-12-07 22:26:54 +01:00
Calvin Pritchard
1850d616ac NetLogo: 6.0.4 -> 6.1.1 2019-12-07 22:24:26 +01:00
Mario Rodas
929a088a94
tflint: 0.13.1 -> 0.13.2
Changelog: https://github.com/terraform-linters/tflint/releases/tag/v0.13.2
2019-12-07 16:20:00 -05:00
Philipp
fc473f38d0 mudlet: 4.1.2 -> 4.3 2019-12-07 22:14:14 +01:00
Mario Rodas
0b2d9ab56d
Merge pull request #74867 from Pamplemousse/fix_progressbar2
pythonPackage.progressbar2: Fix
2019-12-07 16:09:02 -05:00
R. RyanTM
d19a8f133b abcmidi: 2019.10.13 -> 2019.11.11 2019-12-07 22:00:13 +01:00
R. RyanTM
626c4a26ff airsonic: 10.4.2 -> 10.5.0 2019-12-07 21:56:45 +01:00
R. RyanTM
ac820c9c1e folly: 2019.10.21.00 -> 2019.11.11.00 2019-12-07 21:35:29 +01:00
R. RyanTM
4009a8f7f6 libmaxminddb: 1.3.2 -> 1.4.2 2019-12-07 21:11:10 +01:00
Janne Heß
d21f5cf36f nixos/nextcloud: Do not run sudo if not needed
Only use sudo if we are currently not running as the nextcloud user.
This is problematic when occ is called from a systemd service with
NoNewPrivileges=true
2019-12-07 21:10:34 +01:00
R. RyanTM
8582e5a759 marvin: 19.1.0 -> 19.23.0 2019-12-07 20:41:41 +01:00
R. RyanTM
bd8996005d multitail: 6.4.2 -> 6.5.0 2019-12-07 20:34:45 +01:00
Dmitry Kalinkin
9d2ed2f0bd
Merge pull request #74305 from veprbl/pr/texlive_use_tlinfo_snapshot
texlive: use texlive.info snapshot
2019-12-07 14:23:08 -05:00
Pavol Rusnak
98e2135ba2 libfido2: 1.2.0 -> 1.3.0
https://github.com/Yubico/libfido2/blob/1.3.0/NEWS
2019-12-07 20:13:04 +01:00
Tobias Happ
ebc665d1c2 teamspeak_server: 3.9.1 -> 3.10.2 2019-12-07 20:08:56 +01:00
Emery Hemingway
6c1c99d6b4 nixos/yggdrasil: fix for configFile option
The configFile was not being merged with the declarative configuration at
runtime.
2019-12-07 19:56:49 +01:00
Latebricole
fdca231242 ghidra: 9.04 -> 9.1
* ghidra: 9.04 -> 9.1

Update Ghidra from 9.04 to 9.1

* ghidra: Added desktop file

Add a desktop file for Ghidra

Ghidra ships its icons as a .ico file, which isn't support by freedesktop. This means that to have icons, we need to extract the pngs from ghidra.ico, then copy them to the relevant folders.
This adds a requirement on a library to extract them, and also requires them to be copied over, which isn't ideal.
2019-12-07 19:46:14 +01:00