Commit Graph

123 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
Ashish SHUKLA
3238b16ece
racket: 8.13 -> 8.14
Changes: https://blog.racket-lang.org/2024/08/racket-v8-14.html
2024-08-23 00:29:21 +05:30
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
9ffac6dc44 treewide: remove vrthra from meta.maintainers [all orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since 2017
2024-07-07 12:20:32 -03: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
Pol Dellaiera
78189e06e1
racket: reformat using nixfmt-rfc-style 2024-05-19 10:48:42 +02:00
R. Ryantm
2ecce462e9 racket: 8.12 -> 8.13 2024-05-19 01:15:28 +00: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
Mario Rodas
e5667c4a09 racket,racket-minimal: 8.11.1 -> 8.12
Changelog: https://blog.racket-lang.org/2024/02/racket-v8-12.html
2024-02-10 04:20:00 +00:00
Weijia Wang
875b09672a racket: fix runtime error on darwin 2023-12-05 17:10:45 +01:00
Mario Rodas
cda93e08b2 racket: use hash instead of sha256 in fetchurl 2023-11-30 04:20:00 +00:00
Mario Rodas
d291d63e62 racket,racket-minimal: 8.11 -> 8.11.1
Diff: https://github.com/racket/racket/compare/v8.11...v8.11.1

Changelog: https://blog.racket-lang.org/2023/11/racket-v8-11-1.html
2023-11-30 04:20:00 +00:00
Mario Rodas
64171a258c racket,racket-minimal: 8.10 -> 8.11
Changelog: https://github.com/racket/racket/releases/tag/v8.11
2023-11-14 04:20:00 +00:00
Henry Till
7ff193305b treewide: remove henrytill as maintainer from various pkgs 2023-11-28 10:52:47 -08:00
Weijia Wang
cdff1a05ee racket: fix build on darwin 2023-11-20 08:39:58 +01:00
Mario Rodas
b35fda3793 racket,racket-minimal: 8.9 -> 8.10
Changelog: https://github.com/racket/racket/releases/tag/v8.10
2023-08-16 04:20:00 +00:00
Weijia Wang
6124241ef1 racket: unbreak on darwin 2023-06-27 13:22:05 +03:00
Mario Rodas
e93c230250 racket,racket-minimal: 8.8 -> 8.9
https://github.com/racket/racket/releases/tag/v8.9
2023-05-12 04:20:00 +00:00
Mario Rodas
c1c4149c0f racket,racket-minimal: 8.7 -> 8.8
https://github.com/racket/racket/releases/tag/v8.8
2023-02-08 04:20:00 +00:00
Austin Seipp
29464cd170 racket: wrap with LOCALE_ARCHIVE iff Linux
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-02-06 01:27:43 -06:00
Shadaj Laddad
3b1c417a3f
racket: mark as unbroken on darwin
#203587 fixed failures on darwin, so the package now builds fine
2022-11-30 12:58:02 -08:00
Mario Rodas
d2226ea6e0 racket,racket-minimal: 8.6 -> 8.7
https://download.racket-lang.org/v8.7.html
2022-11-18 04:20:00 +00:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Mario Rodas
359c6e9a01 racket: 8.5 -> 8.6
https://download.racket-lang.org/v8.6.html
2022-08-12 04:20:00 +00:00
ajs124
0c35b851e4 maintainers: remove kkallio
no github account linked
2022-06-29 00:55:00 +02:00
Rick van Schijndel
03bc571744
treewide: pkgs/development: mark broken for darwin 2022-05-30 13:42:57 +02:00
Mario Rodas
2397fb1114 racket: 8.4 -> 8.5
https://github.com/racket/racket/releases/tag/v8.5
2022-05-01 04:20:00 +00:00
Congee
152b59855d
racket: support aarch64-darwin
According to https://reviews.llvm.org/D96164, aarch64-darwin executables
require at least an ad hoc signature.

The build tool from the racket repo tries to sign $out/bin/racket but
errors out, because that binary already has a signature.

It is not clear yet at which stage the signature was introduced. This
patch removes the existing signature always before calling
add-ad-hoc-signature to circumvent that error.
2022-02-17 14:35:20 -05:00
hazel levine
6a74f6251d
racket: add ncurses dependency 2022-02-13 17:15:55 -05:00
Mario Rodas
2b24509585 racket: 8.3 -> 8.4
https://download.racket-lang.org/v8.4.html
2022-02-12 04:20:00 +00:00
Ben Siraphob
ba3bf3b9f6
racket: 8.2 -> 8.3 2021-11-06 20:05:10 -05:00
Dmitry Moskowski
f21a491d3f racket: patch the runtime variant detection
Fixes #114993
2021-04-04 17:55:30 +00:00
Ben Siraphob
1bac76f06f racket: unbreak on darwin 2021-09-25 00:29:47 -05:00
Yurii Rashkovskii
420ae3f041 racket: 8.1 -> 8.2 2021-08-28 21:05:30 +09:00
Yurii Rashkovskii
2377c7ea61 racket: 8.0 -> 8.1 2021-06-01 13:08:54 -07:00
Mario Rodas
661c43188e racket-minimal: fix build on darwin 2021-02-14 17:40:00 +01:00
Ingo Blechschmidt
aa36e5d524 racket: 7.9 -> 8.0 (closes #102704) 2021-02-14 17:38:02 +01:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
Jakub Kądziołka
9c01258465
racket: Update source hashes
Upstream has replaced the tarballs in place to fix racket/racket#3499.
2020-11-27 14:20:41 +01:00
Mario Rodas
1bf0327ef6 racket: 7.8 -> 7.9
https://download.racket-lang.org/v7.9.html
2020-11-03 23:19:43 -08:00
Mario Rodas
7902d94169
racket: 7.7 -> 7.8 2020-08-01 04:20:00 -05:00
Mario Rodas
eafd5b4d1b
racket: 7.6 -> 7.7 2020-05-03 04:20:00 -05:00
Asumu Takikawa
b271255ede racket: use --enable-useprefix configure flag.
This is to fix a regression in upstream Racket packaging, the upstream
bug tracking this is here:

  https://github.com/racket/racket/issues/3046

When the bug is fixed this workaround will be unnecessary.
2020-04-16 09:49:21 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Benno Fünfstück
ef3175bcfa racket: enable building on aarch64 2020-03-16 15:23:31 +01:00
Mario Rodas
dd95c8149a
racket: 7.5 -> 7.6
Changelog: https://download.racket-lang.org/v7.6.html
2020-02-14 04:20:00 -05:00
Patrick Hilhorst
593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
Mario Rodas
afcf6d212b
racket: 7.4 -> 7.5
Release Announcement: https://download.racket-lang.org/v7.5.html
2019-12-04 04:20:00 -05:00
Mario Rodas
49c63e498c
treewide: remove empty inherits
These empty inherits were accidentally introduced by https://github.com/NixOS/nixpkgs/pull/66585
2019-12-04 04:20:00 -05:00
Florian Klink
0e6a91be02 racket: 7.3 -> 7.4 2019-10-22 11:58:44 +02:00