Commit Graph

25 Commits

Author SHA1 Message Date
piegames
ae207af82b treewide: More string indentation fixes
Follow-up on #350296 with the packages that cause big rebuilds and need
to go through staging.
2024-10-23 21:52:18 +02: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
Kiskae
a4e2dd0f72
check: fix compilation on cross-compiled musl (#260675)
on cross-compiled musl vsnprintf gets detected as non-compliant with c99.
The included replacement is incompatible with SOURCE_FORTIFY.
2023-10-14 17:04:59 +02:00
Malo Bourgon
9e4be53221 treewide: add meta.mainProgram to some libraries
where a single bin is provided and someone might actually want to run it
2022-05-04 18:11:50 -07:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
R. RyanTM
760a0ef7ba check: 0.15.0 -> 0.15.2 2020-08-15 08:36:33 +02:00
R. RyanTM
34d1210914 check: 0.14.0 -> 0.15.0 2020-07-02 17:24:49 +02:00
Pavol Rusnak
7b0167204d treewide: use https for nixos.org and hydra.nixos.org
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
2020-05-03 22:14:21 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
1841351f34 check: 0.13.0 -> 0.14.0 2020-02-09 09:46:39 +01:00
R. RyanTM
738fdb4983 check: 0.12.0 -> 0.13.0 2019-11-03 10:45:08 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
R. RyanTM
016f9d67c8 check: 0.11.0 -> 0.12.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/check/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/884zd0n1kqjfm8gkk2ql8rzwshr6ldhl-check-0.12.0/bin/checkmk -h’ got 0 exit code
- ran ‘/nix/store/884zd0n1kqjfm8gkk2ql8rzwshr6ldhl-check-0.12.0/bin/checkmk --help’ got 0 exit code
- found 0.12.0 with grep in /nix/store/884zd0n1kqjfm8gkk2ql8rzwshr6ldhl-check-0.12.0
- directory tree listing: https://gist.github.com/96299205c5d86d2f1eda8b58f2c95588
2018-04-07 20:59:59 -07:00
mimadrid
30db0a66f4
check: 0.10.0 -> 0.11.0 2017-10-14 22:05:14 +02:00
Stéphane Jourdois
ea5a227993 darwin: check: add missing CoreServices dep 2015-11-10 22:13:31 +01:00
William A. Kennington III
65f6e4d558 check: 0.9.14 -> 0.10.0 2015-09-18 14:52:49 -07:00
William A. Kennington III
6a5bf4f04e check: Add metadata 2015-04-30 18:49:27 -07:00
Mateusz Kowalczyk
6e12ae2bc6 check: update from 0.9.12 to 0.9.14 2014-11-17 18:08:11 +00:00
Bjørn Forsman
c9baba9212 Fix many package descriptions
(My OCD kicked in today...)

Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.

I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.

I've tried to stay away from generated expressions (and I think I
succeeded).

Some specifics worth mentioning:
 * cron, has "Vixie Cron" in its description. The "Vixie" part is not
   mentioned anywhere else. I kept it in a parenthesis at the end of the
   description.

 * ctags description started with "Exuberant Ctags ...", and the
   "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
   at the end of description.

 * nix has the description "The Nix Deployment System". Since that
   doesn't really say much what it is/does (especially after removing
   the package name!), I changed that to "Powerful package manager that
   makes package management reliable and reproducible" (borrowed from
   nixos.org).

 * Tons of "GNU Foo, Foo is a [the important bits]" descriptions
   is changed to just [the important bits]. If the package name doesn't
   contain GNU I don't think it's needed to say it in the description
   either.
2014-08-24 22:31:37 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Nixpkgs Monitor
6a09ce8c01 check: update from 0.9.11 to 0.9.12 2014-03-14 11:16:56 +01:00
Eelco Dolstra
21f4b5c2f7 check: Disable tests
The testsuite can fail under high load:

  check_check_master.c:356:F:Core Tests:test_check_all_msgs:99: Expected Passed, got Test timeout expired

http://hydra.nixos.org/build/7243912
2013-12-19 11:29:22 +01:00
Nixpkgs Monitor
fcd81b5844 check: update from 0.9.8 to 0.9.11 2013-12-15 10:52:38 +02:00
Ludovic Courtès
40e57793f9 Add Check, a unit testing framework for C.
svn path=/nixpkgs/trunk/; revision=24127
2010-10-07 07:29:36 +00:00