As requested in <https://todo.sr.ht/~soywod/pimalaya/131> I removed
flake-utils. This reduces the number of flake inputs and doesn't add
much code.
The way this works, is that instead of `eachDefaultSystem` we have a
function `forEachSupportedSystem`, this function generates an attrset
with a key for each system in the `supportedSystems` array, whose value
is the result of calling the provided function with the system as an
argument:
```nix repl
repl> forEachSupportedSystem f
{
"x86_64-linux" = f "x86_64-linux";
...
}
```
This is slightly clumsier than `flake-utils.lib.eachDefaultSystem`,
which rewrites the returned attrset, but it is much less code and
simpler to understand.
I tested the build with `nix build` on `x86_64-linux` and it still works
c:
* doc: fix blur in list msg screenshots (#181)
* fix a typo in mbox arg (#245)
`targetted` to `targeted` 👌🏻
* make inbox, sent and drafts folder customizable (#246)
* mbox: make inbox, sent and drafts folder customizable
* msg: update send handler parameters order
* vim: fix extracting message ids from list (#247)
The current method doesn't work because the list uses a fancy line
character (`│`) as the separator, not a regular pipe character (`|`).
Matching for the first number in the line instead solves the problem and
will continue to work regardless of what separator is used.
* add new line after printing strings (#251)
* init cargo workspace (#252)
* init cargo workspaces
* nix: fix assets path
* doc: update rtp vim plugin
* vim: add error message if loading vim plugin from vim/
* init sub crates (#253)
* init sub crates
* doc: update readme
* doc: improve main readme
* doc: add links, add missing crate task
* doc: update emojis
* update cargo lock
* implement contact completion with completefunc (#250)
This allows users to define a command for contact completion with
`g:himalaya_complete_contact_cmd` and trigger it with `<C-x><C-u>` when
writing an email.
* fix clippy lints (#255)
* revert cargo workspace feature
* fix nix run (#274)
* replace cargo2nix by naersk
* add rust-analyzer and rustfmt to nix build inputs
* remove wiki from git submodules, update changelog
* fix missing range when fetch fails, add more logs (#276)
* add missing fix in changelog
* remove blank lines and spaces from plain parts (#280)
* fix watch command (#271)
* remove also tabs from text parts (#280)
* pin native-tls minor version (#278)
* improve msg sanitization (#280)
* fix mbox vim plugin telescope preview (#249)
* bump version v0.5.2
* update changelog
Co-authored-by: Austin Traver <austintraver@gmail.com>
Co-authored-by: Jason Cox <dev@jasoncarloscox.com>
Co-authored-by: Gökmen Görgen <gkmngrgn@gmail.com>
Co-authored-by: Ethiraric <ethiraric@gmail.com>
* Add default.nix for nix support
* Convert to flake
* gitignore before building the source
* Add default.nix and shell.nix for legacy workflows
* Use https://github.com/oxalica/rust-overlay
This one works for development workflow, with a functional rust-analyzer for using with language server support in IDEs.
Also add .vscode/ for pre-configured settings.
* Add documentation
* Restore old TOC and apply TOC patch manually
* Clarify that these two commands are either-or
* Add installing from local checkout (nix-env)
* Add note about version update
* Improve Nix workflow, for zero maintenance
Use https://github.com/nmattia/naersk
This avoids having to set a sha and version in Nix scripts.
* Simplify using crate2nix
Ref: https://www.reddit.com/r/rust/comments/mmbfnj/nixifying_a_rust_project/
* Use rootCrate
* Propagate openssl deps to non-shell build
* Try the oxalica overlay
* Get rid of gitignore crate
cf. https://www.reddit.com/r/rust/comments/mmbfnj/nixifying_a_rust_project/gtsgxal/?context=3
* Configure himalaya crate under defaultCrateOverrides
* Specify openssl in buildInputs
* Make a note about a potential error when using Nix 2.4pre
* Remove PKG_CONFIG_PATH (unnecessary)
* Add cargo-watch
Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>
Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>