Commit Graph

1037 Commits

Author SHA1 Message Date
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
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
aleksana
bd36b81aed treewide: adopt some unmaintained GTK packages 2024-09-14 21:07:29 +08:00
Emily
e1c31678e8
xar: 1.6.1 -> 498 (#329721) 2024-08-27 03:00:43 +01:00
Ivan Trubach
5eee6cf40a xar: 1.6.1 -> 498
This change switches the xar package from unmaintained fork of the
original project to the Apple Open Source tarball. See also
https://repology.org/project/xar/versions

Since the package is essentially rewritten from scratch, we take an
opportunity and move it to pkgs/by-name/xa/xar (formatted with nixfmt).

We also remove Windows from the supported platforms because even before
this change pkgsCross.mingwW64.xar failed with
xar> configure: error: can not detect the size of your system's uid_t type
2024-08-25 18:10:08 +03:00
Ivan Trubach
4c2e720a58 pbzx: fix build with musl libc 2024-08-20 08:15:16 +03:00
Sandro Jäckel
d3a139bf97
zstd: set meta.mainProgram 2024-08-19 13:15:46 +02:00
Sandro Jäckel
cbd09efda2
zopfli: set meta.mainProgram 2024-08-19 13:15:45 +02:00
Peder Bergebakken Sundt
b926e6ece9
Merge pull request #331116 from pbsds/fix-finalattrs-docheck-1722356587
treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
2024-08-01 14:58:44 +02: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
aab1113d4a treewide: normalize maintainers list formatting
grep -rP 'maintainers = \[\];'
2024-07-30 16:26:22 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Peder Bergebakken Sundt
817b5bc3c0
Merge pull request #327006 from Sigmanificient/bsc
bsc: add sigmanificient to maintainers, 3.1.0 -> 3.3.4, migrate to by-name, modernize
2024-07-28 21:59:08 +02:00
Anderson Torres
9a624d10e3 treewide: remove viric from meta.maintainers [orphans]
Since theey is not active from at least six years.

All the packages on this commit became orphans.

---------------------------------------------------------------------------
There are files not covered by this commit, because they will be adopted
soon. Namely:

- pkgs/by-name/zs/zsync/package.nix
- pkgs/games/bsdgames/default.nix
- pkgs/misc/ghostscript/default.nix
- pkgs/os-specific/linux/kernel/perf/default.nix
- pkgs/tools/system/logrotate/default.nix
2024-07-28 11:48:51 -03:00
Sigmanificient
4f38c82774 bsc: migrate to by-name 2024-07-25 18:40:24 +02:00
Sigmanificient
9781a9bc61 bsc: 3.1.0 -> 3.3.4 2024-07-25 18:34:39 +02:00
Aleksana
3ea85ac338
Merge pull request #326827 from Aleksanaa/trivial-sha256-fix
treewide: sha256 -> hash attribute for gitlab.com,codeberg.org fetchers
2024-07-14 22:40:25 +08:00
Aleksana
8536937b75
Merge pull request #327080 from Aleksanaa/fetchgit-sha256-fix
treewide: sha256 -> hash attribute for fetchgit
2024-07-14 20:56:04 +08:00
aleksana
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
Sigmanificient
8817329dec bsc: add sigmanificient to maintainers 2024-07-14 06:04:11 +02:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08:00
Anselm Schüler
70db6560b1
xdelta: change meta.homepage (#325491)
* xdelta: remove meta.homepage

the website is unavailable and the domain is used by a gambling website at the moment

* xdelta: set homepage to GitHub repo

---------

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-07-11 22:18:34 +08:00
Michael Hoang
eb725313bc treewide: remove Enzime 2024-07-09 14:32:33 +10:00
github-actions[bot]
f018e44bd1
Merge master into staging-next 2024-06-29 12:01:32 +00:00
éclairevoyant
71e728d3b8
maintainers: remove ivar 2024-06-29 03:09:10 -04:00
Tobias Mayer
8c06a67b67 lz4: add myself as a maintainer 2024-06-24 13:40:37 +02:00
Tobias Mayer
682ebc001b lz4: patch cmake to generate unified target
Fixes building `arrow-cpp`.
2024-06-24 13:40:37 +02:00
Masum Reza
ae3742c661
Merge pull request #315740 from mweinelt/xz-5.6.2
xz: 5.4.6 -> 5.6.2
2024-06-24 00:38:42 +05:30
h7x4
df9b0e5f1e
Merge pull request #318512 from Scrumplex/pkgs/lz4/cmake
lz4: use CMake to build
2024-06-14 18:14:45 +02:00
Martin Weinelt
a79ece3659
xz: 5.4.6 -> 5.6.2
https://github.com/tukaani-project/xz/releases/tag/v5.6.2
2024-06-11 11:24:02 +02:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Sefa Eyeoglu
216e8c8ce7
lz4: add tests
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 21:45:27 +02:00
Sefa Eyeoglu
6772b7822f
lz4: separate binaries and libraries
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 21:45:27 +02:00
Sefa Eyeoglu
59238b728c
lz4: use finalAttrs
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 21:45:27 +02:00
Sefa Eyeoglu
ead868553b
lz4: use CMake to build
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-09 21:43:27 +02:00
Audrey Dutcher
846de80d1c various: Enable updateAutotoolsGnuConfigScriptsHook
Prior to August 2023, any config.guess generated by autoconf will
include a hardcoded /usr/bin/uname invocation for FreeBSD on any
architecture other than arm. This clearly doesn't work under nix.
We must then update or otherwise patch each old config.guess.
2024-05-27 11:09:28 -04:00
Audrey Dutcher
be0a824971 gzip: Add runtimeShell to buildInputs
This package distributes shell scripts in /bin. Its shebangs are
always patched to a /nix/store shell, but by default, they are patched to
use the stdenv's shell, which during bootstrap is build in the previous
stdenv. By using runtimeShell from the current stdenv, we can shorten the
FreeBSD bootstrap process significantly.
2024-05-26 23:24:01 -07:00
Raghav Sood
0e39493035
Merge pull request #272640 from matshch/fix-bzip2-patch-link
bzip2: update patch URL
2024-05-25 07:54:50 +08:00
R. Ryantm
d4186518db upx: 4.2.3 -> 4.2.4 2024-05-12 03:57:30 +00:00
github-actions[bot]
ae736c738d
Merge master into staging-next 2024-05-03 12:01:32 +00:00
Jussi Kuokkanen
ce3f586775 pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Stanisław Pitucha
f730844b29 imagelol: fix darwin build
Set older standard, otherwise clang's default fails to compile it.
2024-04-22 20:58:31 +10:00
Kamila Borowska
0d3b34f45a maintainers: remove KamilaBorowska 2024-04-21 22:26:12 +02:00
Vladimír Čunát
24d4f2cd52
Merge branch 'staging' into staging-next
Conflicts (tried to quickly resolve somehow, checked eval):
	pkgs/development/python-modules/apsw/default.nix
	pkgs/development/python-modules/mido/default.nix
	pkgs/development/python-modules/pytest-bdd/default.nix
	pkgs/development/python-modules/sparse/default.nix
2024-04-12 07:06:54 +02:00
Austin Horstman
12aef2eb5d
gzip: add meta.mainProgram 2024-04-09 22:47:30 -05:00
Sandro
a9e420460b
Merge pull request #299590 from trofi/zstd-update
zstd: 1.5.5 -> 1.5.6
2024-03-31 15:03:38 +02:00