sternenseemann
48965506a1
lib/asserts: use throw to display message for assertMsg
...
`assert` has the annoying property that it dumps a lot of code at the
user without the built in capability to display a nicer message. We have
worked around this using `assertMsg` which would *additionally* display
a nice message. We can do even better: By using `throw` we can make
evaluation fail before assert draws its conclusions and prevent it from
displaying the code making up the assert condition, so we get the nicer
message of `throw` and the syntactical convenience of `assert`.
Before:
nix-repl> python.override { reproducibleBuild = true; stripBytecode = false; }
trace: Deterministic builds require stripping bytecode.
error: assertion (((lib).assertMsg (reproducibleBuild -> stripBytecode)) "Deterministic builds require stripping bytecode.") failed at /home/lukas/src/nix/nixpkgs/pkgs/development/interpreters/python/cpython/2.7/default.nix:45:1
After:
nix-repl> python.override { reproducibleBuild = true; stripBytecode = false; }
error: Deterministic builds require stripping bytecode.
2022-01-19 00:50:06 +01:00
Sandro
6733a4dffa
Merge pull request #155212 from gador/flask-security-too-init
2022-01-18 23:59:02 +01:00
Sandro
a638e02ad9
Merge pull request #155503 from SuperSandro2000/mdcat
2022-01-18 23:56:11 +01:00
Sandro
bbe8195d8f
Merge pull request #155504 from SuperSandro2000/tlauncher
2022-01-18 23:55:11 +01:00
Fabian Affolter
7db33b1849
Merge pull request #155456 from fabaff/bump-checkov
...
checkov: 2.0.712 -> 2.0.727
2022-01-18 23:51:17 +01:00
Robert Hensing
b9061081dc
Merge pull request #155483 from hercules-ci/fewer-release-notes-conflicts
...
nixos/doc/rl-2205.section.md: Hint to avoid merge conflicts
2022-01-18 23:43:06 +01:00
Robert Hensing
ef6f8783ea
nixos/doc/rl-2205.section.md: Hint to avoid merge conflicts
2022-01-18 23:40:28 +01:00
7c6f434c
dd3cc89b72
Merge pull request #155417 from bezmuth/master
...
cutter: 2.0.4 -> 2.0.5
2022-01-18 22:06:28 +00:00
Maximilian Bosch
d2d3cda563
Merge pull request #155064 from sumnerevans/matrix-synapse-1.50.0
...
matrix-synapse: 1.49.2 -> 1.50.1
2022-01-18 23:06:16 +01:00
Linus Heckemann
f76bef6136
Merge pull request #145258 from Ma27/steam-resolv-conf-override
...
steam: fix `/etc/resolv.conf` reference in FHS env
2022-01-18 22:59:08 +01:00
Nikolay Amiantov
e5e160e08e
Merge pull request #155367 from talyz/keycloak-loadcredential
...
nixos/keycloak: Use LoadCredential to load secrets + module formatting
2022-01-19 00:47:58 +03:00
florian on nixos (Florian Brandes)
5a82b24bd5
python3Packages.flask-security-too: init at 4.1.2
...
needed for pgadmin4 init
https://github.com/NixOS/nixpkgs/pull/154764
2022-01-18 21:29:36 +01:00
Sandro
42d3974dbd
Merge pull request #155419 from gador/add-mongomock
2022-01-18 20:57:56 +01:00
Sandro Jäckel
1d1dc7798d
tlauncher: remove
...
tlauncher has a shady past (https://github.com/NixOS/nixpkgs/pull/152744#issuecomment-1014125073 )
offers torrents on their website with cracked games and the discussion in their reddit is primarly
around cracked Mincraft versions.
This reverts commit ed4ece3f44
.
2022-01-18 20:57:43 +01:00
Sandro
4b563a3e46
Merge pull request #154574 from romildo/upd.sierra-gtk-theme
2022-01-18 20:54:25 +01:00
Sandro
5c4fa6964f
Merge pull request #138386 from Yarny0/tsm-client
2022-01-18 20:50:28 +01:00
Sandro
66023aed5c
Merge pull request #155214 from gador/flask-gravatar-update
2022-01-18 20:41:20 +01:00
Emery Hemingway
95dfbf360c
nncp: 8.0.2 -> 8.1.0
2022-01-18 20:23:04 +01:00
Aaron Andersen
488a7b9355
Merge pull request #155093 from bb2020/mbpfan
...
nixos/mbpfan: convert to structural settings
2022-01-18 14:00:57 -05:00
Sandro
b30d675094
Merge pull request #155219 from gador/speaklater3-init
2022-01-18 19:49:02 +01:00
bb2020
272fc86d2c
nixos/mbpfan: convert to structural settings
2022-01-18 21:31:33 +03:00
Tobias Bora
d3a146c2ec
bespokesynth: 1.0 -> 1.1.0. Fixing issues with file loading ( #144708 )
...
Co-authored-by: OPNA2608 <christoph.neidahl@gmail.com>
2022-01-18 19:30:50 +01:00
bb2020
6f7bf7bc46
nixos/mbpfan: set aggressive default values
2022-01-18 21:26:52 +03:00
Sandro
222f62ed88
Merge pull request #155474 from 0xbe7a/pferd-3.3.1
2022-01-18 19:25:46 +01:00
florian on nixos (Florian Brandes)
e1fb406399
python3Packages.mongomock: init at 3.23.0
2022-01-18 19:23:41 +01:00
Sandro
38ae3526d4
Merge pull request #155215 from gador/flask-paranoid-update
2022-01-18 19:23:20 +01:00
Sandro
aad4d13f52
Update pkgs/development/python-modules/flask-gravatar/default.nix
2022-01-18 19:21:47 +01:00
Sandro
1d3ab9fedf
Merge pull request #155217 from gador/httpagentparser-init
2022-01-18 19:19:32 +01:00
Sandro
0656394179
Merge pull request #155418 from gador/add-sentinels
2022-01-18 19:14:32 +01:00
evils
ba7c4fa91d
kicad: enable i18n by default ( #155065 )
...
without i18n
/nix/store/xgs0n52djlqqmw6qlvg6j2jxpzdpsi92-kicad-6.0.1 7269408096
/nix/store/k7ra3zkx6mp0b3ivsf0ba14mbinwws0w-kicad-unstable-33a4c9b08e 7277796352
with i18n
/nix/store/2xh82r2znqipky0sny49h9cs5fbhmh4v-kicad-6.0.1 7286672288
/nix/store/532r1f3j8xjki8g87400n0gnd594pcbm-kicad-unstable-33a4c9b08e 7294795424
2022-01-18 13:06:30 -05:00
Sandro Jäckel
88a4c4c466
mdcat: 0.25.0 -> 0.25.1
2022-01-18 19:02:23 +01:00
legendofmiracles
84ccd32d19
Merge pull request #155216 from sudosubin/feature/pipenv-completions
2022-01-18 11:52:47 -06:00
Sumner Evans
ae7e8b427e
matrix-synapse: 1.49.2 -> 1.50.1
2022-01-18 10:32:54 -07:00
Sandro
def9731a32
Merge pull request #155397 from ImGabe/vscode-extensions.jdinhlife.gruvbox
2022-01-18 18:32:39 +01:00
Sandro
1ed2fd0b4f
Merge pull request #148674 from NotGordias/patch-2
2022-01-18 18:27:25 +01:00
Anderson Torres
271e516509
Merge pull request #155263 from AndersonTorres/new-games
...
all-packages.nix: reordering expressions
2022-01-18 14:20:30 -03:00
pennae
54fcd869d8
Merge pull request #155009 from domenkozar/cachix-agent
...
nixos: add cachix-agent service
2022-01-18 17:06:39 +00:00
adisbladis
d8c194e03d
Merge pull request #155476 from saschagrunert/fuse
...
fuse-overlayfs: 1.8 -> 1.8.1
2022-01-19 04:54:49 +12:00
AndersonTorres
87fb0aed85
all-packages.nix: reformat some expressions
...
More specifically, moving the games to the `###GAMES` section, and moving the
non-games out of it.
2022-01-18 13:41:15 -03:00
Vladimír Čunát
24bb158cf0
Merge #143715 : nixos/malloc: fix scudo on aarch64-linux
2022-01-18 17:39:33 +01:00
pennae
21115ea8f9
Merge pull request #155041 from tokudan/ssh-rename-optionCRA
...
openssh: Rename option, old option is deprecated upstream
2022-01-18 16:07:20 +00:00
Domen Kožar
91cc0cf63b
Update nixos/modules/services/system/cachix-agent/default.nix
...
Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
2022-01-18 16:49:18 +01:00
sudosubin
617f6e0a8b
pipenv: refact to use installShellCompletion
2022-01-19 00:16:39 +09:00
Sandro
30cc7340f5
Merge pull request #143401 from WolfangAukang/pomotroid
2022-01-18 15:54:25 +01:00
Sumner Evans
af080751af
matrix_common: init at 1.0.0
...
New required dependency for matrix-synapse
2022-01-18 07:42:20 -07:00
davidak
d930b1398e
Merge pull request #155359 from davidak/monitor
...
monitor: 0.11.0 -> 0.12.0
2022-01-18 15:40:01 +01:00
Kim Lindberger
50863c506e
Merge pull request #154564 from talyz/bookstack-improve
...
nixos/bookstack: Improve configuration handling and fix issues
2022-01-18 15:35:43 +01:00
Janne Heß
156ce6b525
Merge pull request #153279 from austinbutler/element-desktop-sqlcipher-not-found
...
element-desktop: fix "Sqlcipher support is missing"
2022-01-18 15:28:19 +01:00
talyz
07b64a2ad7
nixos/bookstack: Add option config to replace extraConfig
...
The `extraConfig` parameter only handles text - it doesn't support
arbitrary secrets and, with the way it's processed in the setup
script, it's very easy to accidentally unescape the echoed string and
run shell commands / feed garbage to bash.
To fix this, implement a new option, `config`, which instead takes a
typed attribute set, generates the `.env` file in nix and does
arbitrary secret replacement. This option is then used to provide the
configuration for all other options which change the `.env` file.
2022-01-18 15:16:23 +01:00
talyz
a0b54a0626
nixos/bookstack: Simplify the nginx setup
...
Use the recommended defaults and remove unnecessary configuration.
2022-01-18 15:16:17 +01:00