Commit Graph

1332 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
R. Ryantm
4ca93d7e0d xwallpaper: 0.7.4 -> 0.7.5 2024-09-20 03:31:37 +00:00
Fabián Heredia Montiel
02e938451f
xdg-utils: remove mimi (#340161) 2024-09-12 22:56:12 -06:00
Nikolay Korotkiy
55ff4178e8
ffcast: add awk to path 2024-09-10 19:04:35 +04:00
aktaboot
4019f1156b xdg-utils: remove mimi
reasons for this change:
- mimi is old and unmaintained
- enabling mimiSupport currently does not build
- if we really want this, we should probably add mimi in nixpkgs first
  and then use it as an input
2024-09-09 21:35:25 +02:00
Martin Weinelt
9c50de8b57
tree-wide: remove eelco as maintainer from things he no longer maintains (#336287) 2024-08-26 20:39:56 +02:00
Sebastián Mancilla
4c37cf9089
Merge pull request #328509 from r-ryantm/auto-update/ckbcomp
ckbcomp: 1.229 -> 1.230
2024-08-22 21:08:56 -04:00
Someone
2d7db58c2f
Merge pull request #313225 from ereslibre/nvidia-consistent-casing
docs: fix Nvidia casing to be consistent across different places
2024-08-22 16:51:41 +00:00
Jade Lovelace
5dfdb09561 tree-wide: remove eelco as maintainer from things he no longer maintains
While preparing this change, I read the git blame on all of the files I
touched. I saw a working lifetime of building this system which we use
every day and love dearly and keep maintained ourselves. I saw commits
from a 14 year range between 2003 to 2017!! I could not be more thankful
for Eelco's work on building large parts of the foundation of nixpkgs
that all of us rely on now.

However, the end date of that range of the files I looked at the blame
on was 2017. I did not see surviving code from any newer date than that.
Looking at the Git logs, Eelco has been working on other things, and
that's totally fine.

However, it means that our maintenance metadata is out of date on a lot
of packages, and *that*'s the reason I am submitting this change. There
are a lot of packages that don't have anyone with their name on them to
be pinged if they need attention, even if they have had recent activity
(although it is never clear if recent activity was just someone fixing
it because ZHF or because the package actually matters to them).
There are a lot of packages with storied history that maybe don't need
to be in the set anymore at all since they have not been touched in
years; or maybe they are simply finished.

Empty maintainer lists should be a sign that we need to figure out who
maintains it or potentially remove it if it has rotted, and allowing the
maintainer list to be empty if it is already not maintained is part of a
healthy repository ecology.

Either way, I would like to have the maintenance metadata not mislead
anyone into sending Eelco emails about packages he doesn't, in practice,
work on anymore. I have not removed his name from everything; there are
some things that he is the upstream for or has worked on more recently,
for instance, like Nix, which I have left alone.
2024-08-21 01:17:45 -07:00
Philip Taron
fada673a22
xprompt: remove with statements 2024-08-18 06:32:22 -07:00
Philip Taron
60f995275a
xnotify: remove with statements 2024-08-18 06:32:22 -07:00
R. Ryantm
6ed45ba2b4 dex: 0.9.0 -> 0.10.1 2024-08-09 00:53:21 +00:00
K900
4b596e927e xsettingsd: add meta.mainProgram 2024-08-07 10:08:51 +03:00
zimbatm
1ccc99fe9e dispad: move to by-name 2024-07-31 09:10:32 +02:00
Stanisław Pitucha
5fbeaf6d89
Merge pull request #317744 from viraptor/x2vnc-darwin
x2vnc: set C standard
2024-07-31 11:45:37 +10: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
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
github-actions[bot]
f20ed12f93
Merge master into staging-next 2024-07-25 12:01:18 +00:00
Lenivaya
1813159b69 add link to the project homepage 2024-07-24 20:18:42 +03:00
Lenivaya
f7f73482d1 skippy-xd: 0.7.2 -> 0.8.0 2024-07-24 20:13:31 +03:00
Vladimír Čunát
cd346565bb
Merge branch 'master' into staging-next 2024-07-24 07:19:19 +02:00
Alexey Orlenko
dfc6da9fee
xpra: 4.4.6 -> 5.0.9
Co-authored-by: Daniel Höxtermann <daniel@hxtm.dev>
2024-07-24 00:27:52 +02:00
R. Ryantm
10dc80b1f8 ckbcomp: 1.229 -> 1.230 2024-07-19 19:25:16 +00:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
Aleksana
bfa89cac6b
Merge pull request #326859 from pyrox0/fetchcrate-no-sha256
treewide: sha256 -> hash for fetchCrate
2024-07-15 15:56:52 +08:00
Aleksana
165c172575
Merge pull request #327090 from SFrijters/obconf-cleanup
obconf: cleanup
2024-07-15 15:38:43 +08:00
github-actions[bot]
31817540ee
Merge staging-next into staging 2024-07-14 18:01:37 +00:00
Pyrox
0b8eaf081f
fetchCrate: sha256 -> hash
Should cause no rebuilds, as this is just updating attributes.
2024-07-14 13:48:13 -04: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
Stefan Frijters
aa9ffbf2b0
obconf: move to by-name 2024-07-14 13:54:59 +02:00
Stefan Frijters
20d8ea02b3
obconf: reformat for RFC166 2024-07-14 13:54:16 +02:00
Stefan Frijters
0e0ffd4b72
obconf: use finalAttrs, hash instead of sha256 2024-07-14 13:53:53 +02:00
aleksana
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
aleksana
cc0ca35c74 treewide: sha256 -> hash attribute for codeberg.org fetchers 2024-07-13 22:32:17 +08:00
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08:00
Martin Weinelt
176a56c40f
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
R. Ryantm
9ac33033c8 ckbcomp: 1.228 -> 1.229 2024-07-07 12:17:57 +00:00
github-actions[bot]
e14242d985
Merge staging-next into staging 2024-07-04 12:01:37 +00:00
Vladimír Čunát
44b36397c2
Merge branch 'master' into staging-next
Conflicts - GitHub wouldn't auto-resolve them but my local git did:
	pkgs/development/cuda-modules/cuda/overrides.nix
2024-07-04 10:10:22 +02:00
R. Ryantm
213b7c561b xprintidle: 0.2.5 -> 0.3.0 2024-07-04 08:04:43 +00:00
John Chadwick
2be8451d1a xpra: fix xdg-open path 2024-07-04 02:33:58 -04:00
aleksana
1862813d11 treewide: convert cargoSha256 to cargoHash
This is done with the following bash script:

```
#!/usr/bin/env bash
process_line() {
    local filename=${1%:}
    if [[ $4 =~ \"(.*)\"\; ]]; then
      local sha256="${BASH_REMATCH[1]}"
    fi
    [[ -z $sha256 ]] && return 0
    local hash=$(nix hash to-sri --type sha256 $sha256)
    echo "Processing: $filename"
    echo "  $sha256 => $hash"
    sed -i "s|cargoSha256 = \"$sha256\"|cargoHash = \"$hash\"|"
$filename
}

# split output by line
grep -r 'cargoSha256 = ' . | while IFS= read -r line; do
    # split them further by space
    read -r -a parts <<< "$line"
    process_line "${parts[@]}"
done

```
2024-07-03 21:54:10 +08:00
Martin Weinelt
7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar
5c5c20919b adwaita-icon-theme: Move from gnome scope to top-level
It is widely used outside gnome – although it probably should not be.
2024-07-01 08:26:46 +02: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
github-actions[bot]
27074b7d07
Merge master into staging-next 2024-06-26 00:02:13 +00:00
R. Ryantm
afb4861c72 ckbcomp: 1.227 -> 1.228 2024-06-20 06:44:59 +00:00
github-actions[bot]
aacd9cf894
Merge staging-next into staging 2024-06-13 00:02:48 +00:00