Commit Graph

28 Commits

Author SHA1 Message Date
qzylinra
9c6333ccf1 dart-bin: 3.12.2 -> 3.13.0 2026-08-15 08:49:51 +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
R. Ryantm
61eb395f5d dart-bin: 3.12.1 -> 3.12.2 2026-06-10 19:43:56 +00:00
R. Ryantm
229c8cdc50 dart-bin: 3.11.6 -> 3.12.1 2026-06-01 17:26:14 +00:00
R. Ryantm
6e412e34e2 dart-bin: 3.11.4 -> 3.11.6 2026-05-07 00:54:14 +00:00
kyehn
be43741e90 dart-bin: 3.11.0 -> 3.11.4 2026-03-26 11:34:15 +00:00
Tristan Ross
24c32abce2 dart-source: init (#482877) 2026-02-18 00:35:58 +00:00
kyehn
33c711cb95 dart-source: init 2026-02-14 02:29:24 +08:00
R. Ryantm
ba8d52fd3c dart: 3.10.9 -> 3.11.0 2026-02-11 06:07:51 +00:00
kyehn
5645616b5d dart: 3.10.7 -> 3.10.9 2026-02-08 12:16:09 +08:00
Gergő Gutyina
606039ad9d dart: fix LICENSE conflicting (#436430) 2026-01-16 22:37:45 +00:00
qzylinra
4b5c76466c dart: add flutter team to meta.teams 2026-01-07 18:04:57 +08:00
Yohann Boniface
1b717f421d maintainers: drop grburst (#475145) 2026-01-05 06:17:44 +00:00
Hythera
3d8d1546b7 maintainers: drop grburst 2025-12-29 21:24:10 +01:00
Philip Taron
feb4539536 versionCheckHook: Check for --version first (#463218) 2025-11-26 16:19:36 +00:00
qzylinra
505f22a47b dart: add fetchGitHashesScript 2025-11-21 19:07:00 +00:00
Jonathan Davies
116036d574 treewide: Remove redundant versionCheckProgramArg = "--version"; with:
```shell
git grep -l -e 'versionCheckProgramArg = "--version";' -e 'versionCheckProgramArg = \[ "--version" \];' | while read f; do
  sed -i '/versionCheckProgramArg/d' "$f"
  sed -i '/^$/N;/\n$/D' "$f"
done
```
2025-11-20 10:39:02 +00:00
misilelab
0eae230736 dart: fix LICENSE conflicting
Signed-off-by: misilelab <misileminecord@gmail.com>
2025-08-28 11:59:58 +09:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
emaryn
e0edea7b33 dart: refactor 2025-07-07 05:20:29 +08:00
emaryn
83e749e019 dart: 3.8.0 -> 3.8.1 2025-07-07 05:06:47 +08:00
Silvan Mosberger
4f0dadbf38 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 b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +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
Brian McGee
a532aa9090 dart: set meta.mainProgram (#342479) 2024-09-19 02:33:44 +02:00
Randy Eckenrode
f9b7f4ec09 tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
Parker Lougheed
c8c3423a38 dart: update homepage link
Dart for the past few years has used https://dart.dev rather than https://dartlang.org. This change updates the Dart package's homepage link to the new dart.dev version.
2023-10-25 19:48:33 -03:00
gilice
36abb0e53b dart: add update script 2023-03-20 20:02:17 +01:00
gilice
ae660ed77e dart: 2.18.4 -> 2.19.3, refactor, and add tests (#219875)
* dart: 2.18.4 -> 2.19.3

https://dart.dev/guides/whats-new#january-25-2023-219--30-alpha-releases

* dart: move interpreters -> compilers

Dart is not an interpreted language by default. It can JIT compile, but
ultimately runs on a VM.
Languages which are similar in this regard, like Java and Go also
are sorted into interpreters.

* dart: add primitive tests

* dart: remove version override in sources

* dart: make codesign available in tests

* dart: format

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-03-16 13:25:34 +01:00