Commit Graph

79 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
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
Artturin
09fcff386c purescript: add aarch64-linux support
purescript: fix cross
2024-06-23 20:17:29 +03:00
Artturin
d035998c93 purescript: rework src selection 2024-06-23 20:17:29 +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
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
3efdb8d6fa purescript: 0.15.14 -> 0.15.15 2024-02-10 22:14:08 +00:00
R. Ryantm
ea1b75479a purescript: 0.15.13 -> 0.15.14 2024-01-08 10:49:55 +00:00
R. Ryantm
8fd9119a3d purescript: 0.15.12 -> 0.15.13 2023-11-27 12:31:10 +00:00
R. Ryantm
d0fcc8b9d0 purescript: 0.15.11 -> 0.15.12 2023-10-13 03:27:57 +00:00
R. Ryantm
d2ee5d9dde purescript: 0.15.10 -> 0.15.11 2023-10-04 08:08:20 +00:00
Pol Dellaiera
99ee645574
Merge pull request #244805 from r-ryantm/auto-update/purescript
purescript: 0.15.9 -> 0.15.10
2023-07-26 13:29:01 +02:00
R. Ryantm
06fe60288c purescript: 0.15.9 -> 0.15.10 2023-07-24 16:19:58 +02:00
Felix Bühler
0a2745684e
Merge pull request #239624 from Stunkymonkey/use-optionalString-then
treewide: use optionalString instead of 'then ""'
2023-07-22 13:02:47 +02:00
Profpatsch
c97ad2763a rm Profpatsch from stuff without interest/capacity of maintaining
For tree-sitter I’m still interested, but don’t want to be first in
the list :)
2023-07-07 12:53:42 +02:00
Felix Buehler
f3719756b5 treewide: use optionalString instead of 'then ""' 2023-06-24 20:19:19 +02:00
Tom Cumming
5907564df0 purescript: Add aarch64-darwin target 2023-05-17 17:23:52 +01:00
R. Ryantm
86236aacd5 purescript: 0.15.8 -> 0.15.9 2023-05-03 08:52:50 +00:00
R. Ryantm
805e23adf2 purescript: 0.15.7 -> 0.15.8 2023-03-10 17:14:31 +00:00
R. Ryantm
7db82980f1 purescript: 0.15.6 -> 0.15.7 2022-12-12 20:30:56 +00:00
R. Ryantm
3d28d92294 purescript: 0.15.5 -> 0.15.6 2022-10-18 19:10:51 +00:00
R. Ryantm
48077f9d9b purescript: 0.15.4 -> 0.15.5 2022-10-10 22:48:34 +00:00
Dennis Gosnell
e436d5c9d8
Merge pull request #181915 from r-ryantm/auto-update/purescript
purescript: 0.15.2 -> 0.15.4
2022-07-18 17:15:06 +09:00
R. Ryantm
622952b45e purescript: 0.15.2 -> 0.15.4 2022-07-18 07:33:09 +00:00
Adam Joseph
16ad8ea53c s/sourceTypes/source-types/ 2022-05-30 11:07:31 -07:00
Adam Joseph
360b31707a purescript: mark meta.sourceProvenance 2022-05-30 10:45:15 -07:00
Dennis Gosnell
4b4115df70
purescript: update script only considers full releases
Make sure the purescript update script only considers full releases.
Before this change, the purescript update script would consider
prereleases as valid releases.  This caused the r-ryantm bot to
create PRs trying to update the purescript derivation in Nixpkgs
to prerelease versions.

See https://github.com/NixOS/nixpkgs/pull/174485#issuecomment-1137291664
and
https://discourse.purescript.org/t/purescript-continuous-prereleases/3006/2?u=cdepillabout
for slightly more information.
2022-05-27 13:40:36 +09:00
Dennis Gosnell
04ce990169
purescript: 0.15.0 -> 0.15.2 2022-05-18 20:58:18 +09:00
Dennis Gosnell
c3a7edf7d2
purescript: drop ncurses dep
`purs` no longer depends on ncurses/libtinfo since 0.14.8:
https://github.com/purescript/purescript/releases/tag/v0.14.8
2022-05-04 15:41:04 +09:00
Dennis Gosnell
2804a50193
purescript: 0.14.7 -> 0.15.0 2022-04-30 17:43:58 +09:00
R. Ryantm
64ba26f745 purescript: 0.14.6 -> 0.14.7 2022-02-27 13:34:27 +00:00
R. Ryantm
dd9760d9f7 purescript: 0.14.5 -> 0.14.6 2022-02-26 14:55:50 +00:00
(cdep)illabout
4b63a6dacc purescript: 0.14.4 -> 0.14.5 2021-10-23 12:03:50 +09:00
Dennis Gosnell
688eef3c04
purescript: add missing dependency to update script
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-08-27 10:45:20 +09:00
(cdep)illabout
aff01371c1
purescript: add updateScript for automatic updates 2021-08-26 10:20:27 +09:00
(cdep)illabout
905a62e6c3
purescript: 0.14.3 -> 0.14.4 2021-08-26 10:16:28 +09:00
(cdep)illabout
655dc5b67e
purescript: 0.14.2 -> 0.14.3 2021-07-07 13:10:50 +09:00
(cdep)illabout
8f2ea9a961
purescript: add changelog 2021-06-06 09:48:12 +09:00
(cdep)illabout
d32c247083
purescript: 0.14.0 -> 0.14.2 2021-06-06 09:44:48 +09:00
Daniel Nagy
9c14e1f92a
purescript: add meta.mainProgram 2021-06-02 15:53:11 +02:00
(cdep)illabout
4fb330d334
purescript: 0.13.8 -> 0.14.0 2021-02-26 14:55:45 +09:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Jonas Chevalier
a7cb88c3de
tree-wide: unify Bash completions outputs (#103421)
Use $out/share/bash-completion/completions to store the Bash completions
2020-11-12 21:22:18 +00:00
Vladimír Čunát
336bc8283b
Re-Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
This reverts commit c778945806.

I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
2020-10-26 08:19:17 +01:00
Vladimír Čunát
c778945806
Revert "Merge #101508: libraw: 0.20.0 -> 0.20.2"
I'm sorry; I didn't notice it contained staging commits.

This reverts commit 17f5305b6c, reversing
changes made to a8a018ddc0.
2020-10-25 09:41:51 +01:00
Lily Ballard
722cc88865 psc-package: Adopt new installShellCompletion syntax 2020-10-08 15:08:40 -07:00
(cdep)illabout
0a2b461959
purescript: add cdepillabout as maintainer 2020-06-15 21:10:29 +09:00
(cdep)illabout
0be2f125e5
purescript: 0.13.6 -> 0.13.8 2020-06-15 21:09:12 +09:00
Dennis Gosnell
4c23f68699
Merge pull request #82964 from lilyball/psc-package
psc-package: Stop using haskellPackages to build
2020-04-01 10:39:46 +09:00
Patrick Hilhorst
5b49816cf4
treewide: add quotes to recently-changed urls
Co-Authored-By: Drew <drewrisinger@users.noreply.github.com>
2020-03-28 00:05:50 +01:00