Commit Graph

23 Commits

Author SHA1 Message Date
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
Jan Tojnar
064ee2cb49 libsoup_2_4: Rename from libsoup
The 2.4 ABI branch has not been supported by upstream for a while now but people still keep accidentally adding it to new packages.
2024-12-08 00:37:52 +01:00
34j
d637b85e25
treewide: replace --enable-wayland-ime with --enable-wayland-ime=true for the arguments to properly work (#361341) 2024-12-05 00:06:22 +05:30
kirillrdy
c39f3576f4
gf: unstable-2023-08-09 -> 0-unstable-2024-08-21; include extensions and add plugin support (#357435) 2024-11-29 06:16:26 +11:00
Diego Esteban Concepción
142f3a52bc gf: unstable-2023-08-09 -> 0-unstable-2024-08-21; include extensions and add plugin support
List of changes: 4190211d63..40f2ae604f
2024-11-28 02:28:56 +01:00
Emily
86b5f88a2f {gcc8{,Stdenv},gfortran8}: drop
Release branch from 6½ years ago, no update in 3½ years, unsupported
upstream, and unused in tree.

This finally resolves the tangled conditionals in `all.nix`, albeit in
a way I assume amjoseph wouldn’t have been too fond of. `default.nix`
still has some gnarly stuff in there. So it goes…
2024-11-22 18:03:01 +00:00
Emily
d3d474e85c {gcc7{,Stdenv},gfortran7}: drop
Release branch from 7½ years ago, no update in 5 years, unsupported
upstream, and unused in tree.
2024-11-22 18:03:01 +00:00
Sandro
ef9b4bce3e
gfie: init at 4.2 (#321007) 2024-11-12 18:51:49 +01:00
Sefa Eyeoglu
c598a008a2
gfn-electron: init at 2.1.2 (#353887) 2024-11-11 10:01:42 +01:00
Leah Amelia Chen
6019015940
gfn-electron: init at 2.1.2 2024-11-10 15:34:16 +01: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
Leah Amelia Chen
920eac097f
gfie: init at 4.2 2024-11-05 16:41:03 +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
Emily
a42d18b4e6 {gcc6,gcc6Stdenv,gfortran6,gcj}: drop
This release branch is 8½ years old and hasn’t received an update
in 6 years. Nothing in the Nixpkgs tree uses it. We can simplify a
lot of logic in the GCC and cc-wrapper derivations by removing this
unsupported version.
2024-09-14 02:42:28 +01:00
Sergei Trofimovich
88950412bc gcc49, gcc49Stdenv, gfortran49: remove old implementation
gcc-4.9.4 was released in Aug 3, 2016, 8 years ago. It's a branch that
went out of support years ago. Numerous bugs never get backported to
this version.

Let's remove it.
2024-09-12 10:32:19 +01:00
Sergei Trofimovich
d366ceeacd gfortran48: remove old implementation
gcc-4.8.5 was released in June 23, 2015, 9 years ago. It's a branch that
went out of support years ago. Numerous bugs never get backported to
this version.

Let's remove it.
2024-09-10 21:48:52 +01:00
Sebastián Mancilla
606621e190
Merge pull request #331978 from r-ryantm/auto-update/gfal2
gfal2: 2.22.2 -> 2.23.0
2024-08-22 23:20:49 -04:00
Philip Taron
b747b8cf8e
{gfortran{,48,49},gfortran{6..14}}: move to by-name 2024-08-03 17:18:40 -07:00
R. Ryantm
867c994c3b gfal2: 2.22.2 -> 2.23.0 2024-08-03 12:29:21 +00:00
Peder Bergebakken Sundt
29ab705c17 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
repeat of #271241
discussion: #272978

I did not replace the instance in eiwd, since it causes an infinite recursion.
2024-07-30 18:32:01 +02:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
Yueh-Shun Li
fc61cff2d0 gfal2-util, python3Packages.gfal2-util: init at 1.8.1
Add also passthru.fetchGfal2. This fetcher is currently used only by
passthru.tsets, but capable to be used as a domain-specific
real-world fetcher.
2024-04-04 07:18:29 +08:00
Yueh-Shun Li
a68ef24c3b gfal2: Init at 2.22.2 2024-04-03 02:37:06 +08:00