Commit Graph

115 Commits

Author SHA1 Message Date
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
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
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
aleksana
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
R. Ryantm
998cfed3ce ircdHybrid: 8.2.44 -> 8.2.45 2024-07-03 05:16:42 +00:00
R. Ryantm
15b20a6ffe inspircd: 3.17.0 -> 3.17.1 2024-07-02 01:34:47 +02:00
R. Ryantm
cbebc00c2d ergochat: 2.13.1 -> 2.14.0 2024-07-01 14:04:28 +00:00
R. Ryantm
48daa32124 ircdHybrid: 8.2.43 -> 8.2.44 2024-06-16 03:14:22 +00: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
Jussi Kuokkanen
8064d28a4f pkgs/servers: remove licenses.gpl2 2024-05-23 11:49:42 +03:00
R. Ryantm
eeea181cd4 ergochat: 2.13.0 -> 2.13.1 2024-05-06 08:01:40 +00:00
R. Ryantm
0bbbdc6d03 ngircd: 26.1 -> 27 2024-04-29 05:43:12 +00: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
3e8c138afe ergochat: 2.12.0 -> 2.13.0 2024-01-16 05:18:59 +00:00
R. Ryantm
42e8265222 inspircd: 3.16.1 -> 3.17.0 2023-12-24 01:44:54 +01:00
R. Ryantm
73b624bc50 ergochat: 2.11.1 -> 2.12.0 2023-11-02 18:49:08 +00:00
Aaron Jheng
7735659333
treewide: use sri hash (#256481) 2023-09-21 16:23:40 +02:00
Aaron Jheng
5b77f8a209
robustirc-bridge: 1.8 -> 1.9.0 2023-07-05 02:58:15 +00:00
R. Ryantm
b75eba84d9 inspircd: 3.16.0 -> 3.16.1 2023-06-22 07:00:23 +00:00
R. Ryantm
f5c3f099a7 inspircdMinimal: 3.15.0 -> 3.16.0 2023-05-02 11:22:59 +02:00
R. Ryantm
7a9f916d97 ergochat: 2.11.0 -> 2.11.1 2023-04-19 15:46:19 +00:00
Sergei Trofimovich
91e20f1081 solanum: disable install parallelism
Without the change parallel installs fail as:

    ...-binutils-2.40/bin/ld: cannot find ./.libs/libircd.so: No such file or directory
    collect2: error: ld returned 1 exit status
    make[4]: *** [Makefile:634: solanum] Error 1
2023-03-09 22:53:06 +00:00
R. Ryantm
d7637635d9 inspircd, inspircdMinimal: 3.14.0 -> 3.15.0
Adds new regex_pcre2 module, enabled by default.

https://docs.inspircd.org/3/change-log/#inspircd-3150

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2023-01-02 17:32:38 +01:00
R. Ryantm
db612e882d ergochat: 2.10.0 -> 2.11.0 2022-12-28 22:12:11 +00:00
Martin Weinelt
d017316b51
atheme: fix build with libxcrypt 2022-10-09 18:10:35 +02:00
Franz Pletz
5c34a5351a
ircdHybrid: fix build with libxcrypt 2022-10-09 18:10:34 +02:00
R. Ryantm
d92b736769 ircdHybrid: 8.2.42 -> 8.2.43 2022-09-28 19:27:23 +00:00
R. Ryantm
0762cbf116 ircdHybrid: 8.2.41 -> 8.2.42 2022-09-01 18:28:54 +00:00
R. Ryantm
9fa4cd59de inspircd: 3.13.0 -> 3.14.0 2022-08-29 12:07:14 +02:00
Jonas Heinrich
f85882b23a
Merge pull request #184228 from r-ryantm/auto-update/ircd-hybrid
ircdHybrid: 8.2.39 -> 8.2.41
2022-08-22 16:51:45 +02:00
Martin Weinelt
1de6b218a5
solanum: 2021-11-14 -> 2022-07-12 2022-08-16 20:12:18 +02:00
Franz Pletz
c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
R. Ryantm
cbd6deeb80 ircdHybrid: 8.2.39 -> 8.2.41 2022-07-31 13:54:49 +00:00
lassulus
7e68dc4d9b ergochat: 2.9.1 -> 2.10.0 2022-06-20 12:30:24 +02:00
sternenseemann
023a12f0ad inspircd: 3.12.0 -> 3.13.0 2022-05-02 10:20:15 +02:00
Alyssa Ross
ce8cbe3c01 irccat: init at 0.4.8 2022-03-27 14:17:51 +00:00
zowoq
ab07e12988 treewide: drop unnecessary go_1_17, buildGo117{Module,Package} 2022-02-08 08:09:33 +10:00
Martin Weinelt
053e8cddf6
atheme: 7.2.11 -> 7.2.12
General authentication bypass in Atheme IRC services with InspIRCd 3

https://www.openwall.com/lists/oss-security/2022/01/30/4
2022-01-31 00:44:17 +01:00
lassulus
6b55249a5d nixos/tests/ergochat: init 2022-01-14 23:33:23 +01:00
lassulus
1eab8b2d6a ergochat: init at 2.9.1 2022-01-12 23:18:39 +01:00
R. Ryantm
34657556d1 inspircd: 3.11.0 -> 3.12.0 2022-01-03 10:54:39 +01:00
R. Ryantm
5befc286dc ircdHybrid: 8.2.38 -> 8.2.39 2021-12-10 14:06:55 +00:00
Martin Weinelt
1143032da0 solanum: unstable-2021-04-27 -> unstable-2021-11-14 2021-11-30 15:42:13 +01:00
sternenseemann
1d67a676d4 inspircd: 3.10.0 -> 3.11.0
https://docs.inspircd.org/3/change-log/#inspircd-3110
2021-09-13 15:00:45 +02:00
R. RyanTM
5c25004d57 ircdHybrid: 8.2.36 -> 8.2.38 2021-08-09 06:06:35 +00:00
Felix Buehler
a56d117bdb servers: replace name with pname&version 2021-07-26 20:15:46 +02:00
Martin Weinelt
2441e82399
solanum: clarify license to be gpl2 or later 2021-06-16 00:19:35 +02:00
Martin Weinelt
ff06400b7d
Merge pull request #125011 from Xe/Xe/solanum-motd
solanum: fix MOTD
2021-06-16 00:01:24 +02:00
Domen Kožar
9e6417f2a4
fix tarball job evaluation for aarch64-darwin 2021-06-03 10:52:46 +02:00
Christine Dodrill
b1fe9fab6f solanum: fix MOTD
Previously this defaulted to the default MOTD in the solanum source
tree, and I don't want my friends to laugh at me. Includes a patch to
the tests to ensure that the MOTD is actually set.

This replicates the fix done in #109705 (solanum is a fork of charybdis,
so they share fundamental logic for this).

Signed-off-by: Christine Dodrill <me@christine.website>
2021-05-30 20:27:08 -04:00