Commit Graph

26 Commits

Author SHA1 Message Date
wrench-exile-legacy
13c22b40dd mailspring: add updateScript 2026-09-20 11:54:28 +01:00
wrench-exile-legacy
a0a518afbd mailspring: 1.23.0 -> 1.25.0 2026-09-20 11:54:03 +01:00
wrench-exile-legacy
d2552b6d45 mailspring: electron_41 -> electron_43 2026-08-23 13:31:30 +01:00
Aliaksandr
9921d05da3 treewide: replace stdenv.is* with stdenv.hostPlatform.is*
Assisted-by: claude-code with claude-opus-4-8
2026-08-12 20:27:00 +02:00
wrench-exile-legacy
7236bd9d62 mailspring: 1.22.0 -> 1.23.0
Diff: https://github.com/Foundry376/Mailspring/compare/1.22.0...1.23.0

Changelog: https://github.com/Foundry376/Mailspring/releases/tag/1.23.0
2026-07-22 15:56:42 +01:00
Arne Keller
b30c029480 mailspring: fix linux desktop file, package using darwin .app (#539093) 2026-07-21 14:55:25 +00:00
Emily
fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
wrench-exile-legacy
f3269a5a83 mailspring: fix linux desktop file, package using darwin .app 2026-07-06 23:48:04 +01:00
TomaSajt
1c251ef4b8 mailspring: fix build with newer nodejs versions by bumping yauzl 2026-06-28 17:42:06 +02:00
wrench-exile-legacy
a24a4dcc97 mailspring: build from source, 1.21.1 -> 1.22.0 2026-06-15 12:52:57 +01:00
Michael Daniels
70c6fcb989 maintainers: remove toschmidt (#520518) 2026-05-23 17:23:27 +00:00
wrench-exile-legacy
13781aea44 mailspring: 1.21.0 -> 1.21.1 2026-05-21 10:20:49 +01:00
Hythera
fc30fae3af maintainers: remove toschmidt 2026-05-15 17:01:01 +02:00
wrench-exile-legacy
b707a4a2f8 mailspring: add wrench-exile-legacy as a maintainer 2026-05-13 09:26:56 +01:00
wrench-exile-legacy
5568410541 mailspring: 1.19.0 -> 1.21.0 2026-05-12 15:07:39 +01:00
Diego
933ef69f67 mailspring: 1.18.0 -> 1.19.0 2026-03-15 00:23:34 +01:00
Diego Strebel
8aadb188a5 mailspring: 1.17.4 -> 1.18.0 2026-03-02 20:27:44 +01:00
Diego
98344ffcce mailspring: 1.16.0 -> 1.17.4 2026-02-14 13:04:15 +01:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Diego
a2fb7b85e8 mailspring: 1.15.1 -> 1.16.0 2025-07-21 21:52:53 +02:00
nayeko
875e846873 mailspring: 1.14.0 -> 1.15.1 2025-02-15 01:58:51 +00:00
Silvan Mosberger
84d4f874c2 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
github-actions[bot]
17e1b9dfda Merge master into staging-next 2024-12-06 06:05:08 +00:00
K900
d209d800b7 treewide: mesa -> libgbm (where appropriate)
This will likely break things, but anything broken should be easily noticeable.
2024-12-05 12:37:39 +03:00
Victor Nova
a0ee21ff9d mailspring: 1.13.3 -> 1.14.0 2024-12-04 13:08:13 -08:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00