1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 01:11:02 +03:00
Commit graph

6 commits

Author SHA1 Message Date
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Arne Keller
7dc78efeae
nixos/anki-sync-server: do not use unqualified 'cat' in execStart script (#280720) 2024-12-13 10:34:27 +01:00
MickaelRoger
58473a3c1a nixos/anki-sync-server: add setting
There is no option to specify where the anki-sync-server data will be stored. This commit adds this option.
2024-09-26 22:13:28 +02:00
Dominique Martinet
09ebdf44fa nixos/anki-sync-server: do not use unqualified 'cat' in execStart script
Using cat relies on coreutils (or equivalent) being in $PATH, which is
not always true.
We could write ${pkgs.coreutils}/bin/cat but in this case we can get by
with the 'read' builtin

While here, cleanup a bit to avoid the x/bin/x patterns we can easily
avoid:
 - use lib.getExe for anki-sync-server
 - use writeShellScript instead of writeShellScriptBin
2024-01-13 21:16:57 +09:00
Weijia Wang
b474de4779 nixos/anki-sync-server: minor cleanup 2023-11-30 17:32:03 +01:00
Robert Irelan
8fe9c18ed3 nixos/anki-sync-server: init
Provide a NixOS module for the [built-in Anki Sync
Server](https://docs.ankiweb.net/sync-server.html) included in recent
versions of Anki. This supersedes the `ankisyncd` module, but we should
keep that for now because `ankisyncd` supports older versions of Anki
clients than this module.
2023-11-30 17:25:17 +01:00