Commit Graph

327 Commits

Author SHA1 Message Date
sternenseemann
d3af908be6 elmPackages.elm-instrument: build using GHC 9.4
As Emily has pointed out, elm-instrument builds with GHC 9.4 without any
modifications. Later versions of GHC won't work due to the pinned
indents package version which is affected by a breaking change in some
core package.
2025-06-11 13:57:32 +02:00
Domen Kožar
19b476ebef various: remove domenkozar from maintainers (#415576) 2025-06-11 10:14:54 +00:00
Marek Fajkus
4e238e4aa8 elmPackages.elm: Fix runtime TLS connection to package.elm-lang.org
Resolves #414208 by downgrading version of TLS library
used to compile executables.

See upstream issue for more context https://github.com/elm/compiler/pull/2325
2025-06-06 13:13:41 +02:00
Peder Bergebakken Sundt
97262ee871 treewide: replace stdenv.is with stdenv.hostPlatform.is 2025-06-04 19:01:03 +02:00
K900
e0b2b6b172 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-25 09:16:39 +03:00
Peder Bergebakken Sundt
6baec77104 elmPackages.elm-json: 0.2.12 -> 0.2.13 (#400670) 2025-04-25 00:55:00 +02:00
K900
6a872ad7a9 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-23 09:43:14 +03:00
sternenseemann
b35c701857 Merge haskell-updates PR #371032 into staging 2025-04-22 12:02:16 +02:00
emaryn
80a8484c54 elmPackages.elm-json: 0.2.12 -> 0.2.13 2025-04-22 06:25:25 +08:00
Antoine du Hamel
dc8397c07b upgrade nodejs_18 dependents in prevision for upcoming EOL 2025-04-21 19:56:15 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Wolfgang Walther
9e296dcf84 Merge commit '3b48b2eb41f0bcd2c0551cd1c2457fdae806c7a3' into haskell-updates-merge-nixfmt 2025-04-05 14:19:34 +02:00
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
nixpkgs-ci[bot]
3765916d59 Merge 015baae019 into haskell-updates 2025-03-30 00:21:04 +00:00
Benjamin Sparks
3814cd0577 elmPackages.node: remove reference to python2
pkgs.nodejs_18 uses python311, which means pkgs.python2 will never be used
2025-03-21 01:46:34 +01:00
sternenseemann
1f00f46d8b Merge commit a2a66180ba into haskell-updates 2025-03-17 12:28:00 +01:00
Wolfgang Walther
45e1a9cd21 elmPackages.elm-test: 0.19.1-revision13 -> 0.19.1-revision15 (#385750) 2025-03-15 22:02:05 +00:00
Sigmanificient
91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
nixpkgs-ci[bot]
0a65db06ec Merge d0fabf48ff into haskell-updates 2025-03-10 00:16:27 +00:00
TomaSajt
23278a3f64 elmPackages.elm-test-rs: use fetchCargoVendor 2025-03-08 12:42:14 +01:00
sternenseemann
6df1850495 elmPackages.elm-format: build using GHC 9.4
elm-format 0.8.7 supports GHC 9.4. Compared to using GHC 9.2, using that
version causes less friction since it ships text >= 2.0 by default.
2025-03-07 23:14:12 +01:00
R. Ryantm
ff1c70717f elmPackages.elm-test: 0.19.1-revision13 -> 0.19.1-revision15 2025-02-28 08:16:53 +00:00
Aleksana
0cd4067f31 treewide: fix typos in comments (#384334) 2025-02-24 19:20:10 +08:00
Peder Bergebakken Sundt
5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
R. Ryantm
cb7eaef8c4 elmPackages.elm-review: 2.13.1 -> 2.13.2 2025-02-24 01:04:45 +00:00
Ilan Joselevich
9837de0da7 elm-land: Rewrite and migrate from elmPackages to pkgs/by-name
Signed-off-by: Ilan Joselevich <personal@ilanjoselevich.com>
2025-02-18 20:49:37 +07:00
Neyts Zupan
23fed8e6f5 elmReview: 2.12.0 -> 2.13.1
Rewriten from node2nix to buildNpmPackage. Previous work on this
started in https://github.com/NixOS/nixpkgs/pull/351767/files.

Also, added a simple test.

Refs https://github.com/Thaigersprint/thaigersprint-2025/issues/1
2025-02-15 19:23:54 +07:00
Mathew Polzin
02f9c742ac elmPackages.elm-test: fix noBrokenSymlinks errors
Broken symlinks to build tools for elm-test can be cleaned up in the
installed node_modules folder.
2025-02-15 00:06:30 -06:00
Mathew Polzin
c66e4fe7f8 elmPackages.elm-test: 0.19.1-revision12 -> 0.19.1-revision13
Release notes: https://github.com/rtfeldman/node-test-runner/releases/tag/0.19.1-revision13
2025-02-15 00:05:48 -06:00
Alyssa Ross
6c81b4ab55 elmPackages.elm-json: useFetchCargoVendor
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-26 21:40:08 +01:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01: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
Masum Reza
e13831335f treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)
* treewide: stdenv.is -> stdenv.hostPlatform.is

* treewide: nixfmt due to ci error
2024-11-17 16:11:54 +05:30
Mario Rogic
5ddc8ccdc0 lamdera: 1.3.1 -> 1.3.2 2024-11-05 23:53:01 +10:00
Mario Rogic
22d17194fd Lamdera 1.3.1 2024-10-27 18:30:57 +10:00
Marek Fajkus
50806349cb Bump elmPackages (#344866) 2024-10-01 20:06:15 +02:00
Théo Zimmermann
d2777e2502 Lamdera 1.3.0 (#343684) 2024-09-30 19:01:48 +02:00
Neyts Zupan
47c0dbd84e fix elm-pages and elm-land builds
authored mostly by @domenkozar
2024-09-27 14:24:44 +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
Leonardo Taglialegne
27fe8596dc Lamdera 1.3.0 2024-09-22 11:18:34 +02:00
Silvan Mosberger
aec0d14834 treewide: Fix or remove some markdown links
Found using https://github.com/serokell/xrefcheck, which unfortunately
can't trivially be enforced in CI because we also have the manual markdown
files that need post-processing to be valid
2024-09-03 23:37:05 +02:00
Philip Taron
37a0bd368a elm.hs96Pkgs: remove with statements 2024-08-18 06:31:15 -07:00
Philip Taron
344f63daef elm.hs92Pkgs: remove with statements 2024-08-18 06:31:15 -07:00
Philip Taron
bdc75c9235 elm.hs810Pkgs: remove with statements 2024-08-18 06:31:14 -07:00
Randy Eckenrode
f9b7f4ec09 tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
Vladimír Čunát
4c09ae2416 Merge branch 'staging-next' into staging 2024-07-08 10:43:15 +02:00
John Titor
c7b88b1002 elmPackages.elm-test-rs: move to fetchFromGitHub
nixfmt-rfc-style
2024-07-06 16:49:34 +05:30
Neyts Zupan
6c02d25484 elmPackages.elm-test-rs: 2.0 -> 3.0 2024-07-06 16:45:52 +05:30