Commit Graph

177 Commits

Author SHA1 Message Date
Marco "Capypara" Köpcke
b7970fa66e vala: 0.56.18 -> 0.56.19 2026-08-02 13:56:27 +02:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
Guy Chronister
475a0e3a44 various: remove superflous usages of pname 2025-09-25 20:45:06 -05:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Jan Tojnar
d8dddbe52b vala_0_56: 0.56.17 → 0.56.18
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.17...0.56.18

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2025-05-07 02:08:06 +02:00
Fernando Rodrigues
05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
Wolfgang Walther
b19d0f6d3d treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00
Silvan Mosberger
667d42c00d 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 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
K900
a9c7210d0b Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
Bobby Rong
215fa1e09a pkgs/development: Move away from wiki.gnome.org/Projects
The wiki.gnome.org site is planned for retirement.
2024-05-01 00:27:50 +08:00
Weijia Wang
7f45fee52a Merge branch 'master' into staging-next 2024-04-28 04:02:14 +02:00
Maxine Aubrey
40a7011c39 maintainers: remove amaxine
Every time I decide to commit additional time to contributing to nix,
quite a few "concerned" members come out, either to decry a ban on
bigotry and fascism in 2021, or to declare support for minority groups
in Nix discriminatory, or a number of other incidents that are not worth
recounting in this leaving message.

To avoid any ambiguity, my reasoning is similar to pr306702, pr307033, and
several others who felt actively made unwelcome or outright harassed out
of the Nix project.
2024-04-27 11:38:48 +02:00
Maxine Aubrey
a6a4ea97a8 vala_0_56: 0.56.16 → 0.56.17
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.16...0.56.17
2024-04-22 21:11:34 +02:00
Maxine Aubrey
7748b3ff2a vala_0_56: 0.56.14 → 0.56.16
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.14...0.56.16

Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
2024-04-22 21:11:11 +02:00
Maxine Aubrey
4fab6afee2 vala_0_48: drop 2024-03-29 13:55:36 +01:00
Maxine Aubrey
00e6b6b759 vala_0_54: drop 2024-03-29 10:15:18 +01:00
Jan Tojnar
245cdc279f vala_0_56: 0.56.13 → 0.56.14
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.13...0.56.14

Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
2023-11-21 08:42:55 +01:00
Vladimír Čunát
300eaad172 Merge branch 'master' into staging-next 2023-09-12 19:06:44 +02:00
Maxine Aubrey
9204ded9bd maintainers: maxeaubrey → amaxine 2023-09-12 17:21:05 +02:00
Bobby Rong
6796f05e1e vala_0_56: 0.56.9 → 0.56.13
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.9...0.56.13
2023-09-03 16:37:04 +08:00
Bobby Rong
089f6ad1ed vala: 0.56.7 → 0.56.9
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.7...0.56.9
2023-07-04 00:55:52 +08:00
Bobby Rong
8c86064624 vala: Merge graphviz patches into one
I don't see a reason to separate the gvc-compact patch, we are actually already
maintaining our graphviz patch for a while (since openembedded-core is now simply
disabling valadoc).
2023-07-04 00:33:25 +08:00
Bobby Rong
33f4c3fc4b vala_0_56: 0.56.6 → 0.56.7
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.6...0.56.7
2023-04-24 09:19:57 +08:00
Jan Tojnar
1a7671c704 vala_0_56: 0.56.4 → 0.56.6
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.4...0.56.6

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-04-06 01:44:41 +02:00
Jan Tojnar
f8116ec6b4 vala: 0.56.3 → 0.56.4
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.3...0.56.4
2023-02-22 20:56:40 +01:00
Jan Tojnar
a4fc48017a vala_0_54: 0.54.8 → 0.54.9
https://gitlab.gnome.org/GNOME/vala/-/compare/0.54.8...0.54.9

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-11 18:52:26 +02:00
Jan Tojnar
d183cf2990 vala_0_48: 0.48.24 → 0.48.25
https://gitlab.gnome.org/GNOME/vala/-/compare/0.48.24...0.48.25

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-11 18:52:26 +02:00
Jan Tojnar
a853ca3599 vala: 0.56.2 → 0.56.3
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.2...0.56.3

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2022-10-11 18:52:23 +02:00
Jan Tojnar
c8cbb6ff4e vala: 0.56.1 → 0.56.2
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.1...0.56.2
2022-07-23 17:21:35 +02:00
Artturin
8132fb355a vala: fix cross 2022-06-13 04:45:43 +03:00
Maxine Aubrey
73ec0bf71f vala: default to vala_0_56 2022-05-12 21:28:49 +02:00
Jan Tojnar
b15a9584ee vala_0_56: 0.56.0 → 0.56.1
https://gitlab.gnome.org/GNOME/vala/-/compare/0.56.0...0.56.1
2022-05-06 10:52:44 +02:00
Bobby Rong
bfdbd43fa1 vala_0_48: 0.48.23 → 0.48.24
https://gitlab.gnome.org/GNOME/vala/-/blob/0.48.24/NEWS
2022-03-31 18:41:19 +08:00
Jan Tojnar
38d1e91f90 vala_0_56: 0.55.91 → 0.56.0
https://gitlab.gnome.org/GNOME/vala/-/compare/0.55.91...0.56.0
2022-03-25 15:02:48 +01:00
Jan Tojnar
8f059fbd3d vala: 0.54.7 → 0.54.8
https://gitlab.gnome.org/GNOME/vala/-/compare/0.54.7...0.54.8
2022-03-25 15:02:47 +01:00
Jan Tojnar
6d70c1c149 vala_0_56: 0.55.90 → 0.55.91
https://gitlab.gnome.org/GNOME/vala/-/compare/0.55.90...0.55.91
2022-03-25 15:02:39 +01:00
Jan Tojnar
9664785741 vala_0_56: 0.55.3 → 0.55.90
https://gitlab.gnome.org/GNOME/vala/-/compare/0.55.3...0.55.90
2022-03-25 15:02:32 +01:00
Jan Tojnar
82a6c5b162 vala_0_56: init at 0.55.3
https://gitlab.gnome.org/GNOME/vala/-/blob/0.55.3/NEWS
2022-03-25 15:01:22 +01:00
github-actions[bot]
3737b3ce39 Merge staging-next into staging 2022-02-22 12:02:54 +00:00
Bobby Rong
86b9be7843 vala_0_52: drop
Reaches end of life according to https://wiki.gnome.org/Projects/Vala
2022-02-22 14:51:11 +08:00
Bobby Rong
ef27286f78 vala_0_48: 0.48.22 → 0.48.23
https://gitlab.gnome.org/GNOME/vala/raw/0.48.23/NEWS
2022-02-22 10:20:31 +08:00
R. Ryantm
9c5d593baa vala: 0.54.6 -> 0.54.7 2022-02-18 07:19:00 +01:00
github-actions[bot]
c795e7ba4f Merge master into staging-next 2022-01-17 18:01:06 +00:00
Bobby Rong
b3e513875f vala_0_48: 0.48.21 → 0.48.22
https://gitlab.gnome.org/GNOME/vala/raw/0.48.22/NEWS
2022-01-10 12:26:29 +08:00
Bobby Rong
c702c4178c vala_0_52: 0.52.9 → 0.52.10
https://gitlab.gnome.org/GNOME/vala/raw/0.52.10/NEWS
2022-01-10 12:26:29 +08:00
Bobby Rong
2a9cc2a9e6 vala_0_40: drop 2022-01-10 12:26:29 +08:00