Commit Graph

509322 Commits

Author SHA1 Message Date
Robert Hensing
34ee0260ec treewide: Add meta.mainProgram
Based on ofborg feedback.
Part of https://github.com/NixOS/nixpkgs/pull/246386
2023-08-01 12:21:05 +02:00
Robert Hensing
4c1d3cee60 treewide: Add meta.mainProgram
This should fix most warnings getExe in based on grepping `nixos/`.
2023-07-31 21:54:43 +02:00
Robert Hensing
d36353cf86 nixos/oddjob: Maybe fix, but mark as broken
Unfortunately there's no test for me to confirm that it works,
so all I can do is ask for maintainers, unfortunately -- I mean...
This is your opportunity!
2023-07-31 21:19:39 +02:00
Robert Hensing
e6e16bc118 lib.getExe: Do not make assumptions about the main program
Before this commit, getExe assumes that if `meta.mainProgram` is unset,
it has a main program that's named after the package name.

While this is probable, it leads to a bad error when the assumption does
not hold. If the user called `getExe` themselves, they might narrow down
the location of the assumption quite easily, but if that's not the case,
they'll have to go down the rabbit hole to figure out what went wrong.

For example, a NixOS module may use `lib.getExe` on a package-typed option
which is then used in the system configuration. This then typically leads
to a failure *after* deployment, which is bad, and it's quite likely that
the user will debug the package output contents before digging through the
NixOS module, which is bad.
Furthermore the `getExe` call is rather inconspicuous as it does not
contain something like "/bin/foo", which is bad.
Also modules can be hard to read for a newbie, which is bad.

All of this can be avoided by requiring `meta.mainProgram`.
Many packages already have the attribute, and I would expect 80% of
`getExe` usages to be covered by 20% of packages, because plenty of
packages aren't used with `getExe` anyway.

Finally we could make an effort to set `mainProgram` semi-automatically
using `nix-index`.
2023-07-31 18:56:19 +02:00
Artturi
470d17ea5d
Merge pull request #246369 from yu-re-ka/tracker-cross 2023-07-31 19:08:41 +03:00
Pol Dellaiera
39ae486d8c
Merge pull request #246364 from NixOS/code-server/bump-4.16.0
code-server: 4.15.0 -> 4.16.0
2023-07-31 17:56:20 +02:00
Sandro
21ad1050bf
gopls: 0.12.4 -> 0.13.0 (#246366)
Diff: https://github.com/golang/tools/compare/gopls/v0.12.4...gopls%2Fv0.13.0
2023-07-31 17:27:23 +02:00
happysalada
022d53ede9 python310Packages.ttstokenizer: init at 1.0.0 2023-07-31 15:27:05 +00:00
Emily
d069bd747a
Merge pull request #246218 from adamcstephens/forgejo/1.20.2
forgejo: 1.20.1-0 -> 1.20.2-0
2023-07-31 17:18:53 +02:00
Yureka
daa869b53b tracker: fix cross using mesonEmulatorHook 2023-07-31 17:09:58 +02:00
Domen Kožar
7fa92912fd
Merge pull request #246337 from domenkozar/tesh
init tesh at 0.3.0: TEstable SHell sessions in Markdown
2023-07-31 15:39:04 +01:00
Pol Dellaiera
9520bdd088
code-server: 4.15.0 -> 4.16.0 2023-07-31 16:38:55 +02:00
Bjørn Forsman
9ea70cf76f backintime-common: add missing dependency 'packaging'
Fixes this fatal startup error:

  $ nix-build -A backintime-common && ./result/bin/backintime
  [...]
  ModuleNotFoundError: No module named 'packaging'

Fixes https://github.com/NixOS/nixpkgs/issues/241966.
2023-07-31 16:24:32 +02:00
digital
9d78971007
nixos/boot/initrd-network: add option to enable udhcpc (#240406)
In some setups, and especially with sytemd-networkd becoming more widely
used, networking.useDHCP is set to false. Despite this, it may be useful
to have dhcp in the initramfs.
2023-07-31 16:08:56 +02:00
Kerstin
70bd808e81
mastodon: 4.1.5 -> 4.1.6 (#246348) 2023-07-31 15:58:39 +02:00
Pol Dellaiera
ed92e2eb04
Merge pull request #246028 from SuperSamus/amdgpu_top
amdgpu_top: 0.1.9 -> 0.1.11
2023-07-31 15:44:25 +02:00
Pol Dellaiera
d9d6418a20
Merge pull request #246154 from r-ryantm/auto-update/proxysql
proxysql: 2.5.3 -> 2.5.4
2023-07-31 15:44:01 +02:00
Pol Dellaiera
e80662ed6d
Merge pull request #246317 from rs0vere/hmcl
hmcl: init at 3.5.5
2023-07-31 15:43:23 +02:00
Mario Rodas
1a09204d19
Merge pull request #246232 from Mephistophiles/master
chezmoi: 2.35.2 -> 2.36.1
2023-07-31 08:43:02 -05:00
7c6f434c
380f998fe8
Merge pull request #246316 from wegank/ogre-14-init
ogre_14: init at 14.0.1
2023-07-31 13:11:07 +00:00
Pol Dellaiera
dd1ec9047a
Merge pull request #246328 from helsinki-systems/upd/texstudio
texstudio: 4.5.2 -> 4.6.2
2023-07-31 14:19:46 +02:00
Pol Dellaiera
3e730502bb
Merge pull request #246338 from kilianar/hugo-0.116.0
hugo: 0.115.4 -> 0.116.0
2023-07-31 14:18:26 +02:00
WilliButz
bf48dde359
Merge pull request #233659 from seberm/prometheus-ipmi-exporter-family-restriction
nixos/prometheus-ipmi-exporter: allow AF_UNIX address family
2023-07-31 13:57:15 +02:00
Pol Dellaiera
1482651051
Merge pull request #246087 from knightpp/pkg/espup
espup: init at 0.4.1
2023-07-31 13:55:40 +02:00
Pol Dellaiera
403f35e92f
proxysql: use finalAttrs pattern 2023-07-31 13:53:55 +02:00
Martino Fontana
24e2bb4e8c amdgpu_top: 0.1.9 -> 0.1.11
Diff: https://github.com/Umio-Yasuno/amdgpu_top/compare/v0.1.9...v0.1.11

Changelog: https://github.com/Umio-Yasuno/amdgpu_top/releases
2023-07-31 13:41:58 +02:00
Martin Weinelt
0d117d7ad5
Merge pull request #246188 from gdamjan/bump-matrix-appservice-irc-2
matrix-appservice-irc: 0.38.0 -> 1.0.1
2023-07-31 13:38:09 +02:00
Domen Kožar
86a31e1efa init tesh at 0.3.0: TEstable SHell sessions in Markdown 2023-07-31 12:20:48 +01:00
kilianar
72d4cb4727 hugo: 0.115.4 -> 0.116.0
https://github.com/gohugoio/hugo/releases/tag/v0.116.0
2023-07-31 13:19:44 +02:00
Danylo Kondratiev
4b3d2bd40e maintainers: add knightpp 2023-07-31 13:53:13 +03:00
Danylo Kondratiev
79e370f220 espup: init at 0.4.1 2023-07-31 13:53:13 +03:00
R. RyanTM
0b5456b363
firefox-unwrapped: 115.0.2 -> 115.0.3 (#246324)
https://www.mozilla.org/en-US/firefox/115.0.3/releasenotes/
2023-07-31 12:46:43 +02:00
Janik
cacc21a98b
Merge pull request #246053 from fgaz/vengi-tools/0.0.25 2023-07-31 12:46:18 +02:00
Nick Cao
c4147cd272
Merge pull request #246131 from NickCao/k3d
k3d: 5.4.4 -> 5.5.1
2023-07-31 04:08:54 -06:00
ajs124
07347b5352 texstudio: qt5 -> qt6 2023-07-31 12:04:06 +02:00
Weijia Wang
2d69842838
Merge pull request #245931 from soupglasses/pkg/ns-usbloader-7.0
ns-usbloader: init at 7.0
2023-07-31 11:56:30 +02:00
ajs124
f66a174272 texstudio: 4.5.2 -> 4.6.2
https://texstudio-org.github.io/CHANGELOG.html#texstudio-4-6-2
https://texstudio-org.github.io/CHANGELOG.html#texstudio-4-6-1
https://texstudio-org.github.io/CHANGELOG.html#texstudio-4-6-0
2023-07-31 11:52:30 +02:00
Weijia Wang
a4c462eb14
Merge pull request #246299 from s1341/bump_scim_keycloak_user_storage_api_plugin
keycloak-scim-user-storage-api: 20230412 -> 20230710
2023-07-31 11:48:03 +02:00
Дамјан Георгиевски
69bc2ad72f matrix-appservice-irc: 0.38.0 -> 1.0.1
https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.0

* This release drops support for Node 16. The minimum required version is now 18+.
* Moved from NPM to Yarn

https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1

* Fixes for GHSA-vc7j-h8xg-fv5x.
* Fixes for GHSA-3pmj-jqqp-2mj3.
* Fixes for GHSA-c7hh-3v6c-fj4q
* Update matrix-appservice-bridge to 9.0.1

while there was an effort to make this package with `mkYarnPackage`, in the end it
was suggested to just use `stdenv.mkDerivation` instead

nixos/matrix-appservice-irc:
* fix path to config.schema.yml directory stucture of the package changed
* use remarshal instead of python and pyyaml
  to convert the config schema from yaml to json
2023-07-31 11:19:42 +02:00
Red Star Over Earth
b4395db675
hmcl: init at 3.5.5 2023-07-31 17:03:00 +08:00
Red Star Over Earth
8c028ce6ff
maintainers: add rs0vere 2023-07-31 16:50:22 +08:00
SamLukeYes
bf287a02ca gnubg: add desktop item 2023-07-31 09:47:32 +01:00
SamLukeYes
45cbde5b8d gnubg: 1.06.002 -> 1.07.001 2023-07-31 09:47:32 +01:00
Pol Dellaiera
09b9265a4d
Merge pull request #246311 from r-ryantm/auto-update/go-task
go-task: 3.27.1 -> 3.28.0
2023-07-31 10:28:01 +02:00
Pol Dellaiera
380108e98f
Merge pull request #246305 from r-ryantm/auto-update/grcov
grcov: 0.8.18 -> 0.8.19
2023-07-31 10:27:53 +02:00
Pol Dellaiera
e0b9e3eb29
Merge pull request #246144 from r-ryantm/auto-update/spicedb-zed
spicedb-zed: 0.10.2 -> 0.12.1
2023-07-31 10:27:38 +02:00
Francesco Gazzetta
fcc768897b vengi-tools: 0.0.24 -> 0.0.25
https://github.com/mgerhardy/vengi/releases/tag/v0.0.25
Diff: https://github.com/mgerhardy/vengi/compare/v0.0.24...v0.0.25
2023-07-31 10:27:31 +02:00
Pol Dellaiera
d50ab4868c
Merge pull request #246304 from r-ryantm/auto-update/ledger-live-desktop
ledger-live-desktop: 2.64.1 -> 2.64.2
2023-07-31 10:27:30 +02:00
Pol Dellaiera
4790d3f989
Merge pull request #245658 from khaneliman/sketchybar
sketchybar: 2.15.1 -> 2.15.2
2023-07-31 10:26:59 +02:00
s1341
ad796a732d keycloak-scim-user-storage-api: 20230412 -> 20230710 2023-07-31 10:25:19 +02:00