Commit Graph

20 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
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
R. Ryantm
f2fffabd6b libaio: 0.3.112 -> 0.3.113 2022-07-31 16:44:48 +00:00
Arthur Gautier
0a5e56aa03 libaio: fixup static compilation
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-02-27 21:29:19 +00:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
R. RyanTM
4b20a77b28 libaio: 0.3.111 -> 0.3.112 2020-12-01 14:40:43 +01:00
Scott Worley
c5a4f81898 libaio: 0.3.110 -> 0.3.111 & update source url from fedorahosted to pagure
fedorahosted.org was retired on March 1st, 2017

The changes in da47c32b2ff39e52fbed1622c34b86bc88d7c217.patch are
included in this release.
2020-06-14 08:59:43 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
aa4d339510
libaio: *Flags are lists 2019-12-30 11:13:41 +01:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09: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
Jan Malakhovski
556da201b8 libaio: fix tests 2018-08-11 09:35:21 +00:00
Shea Levy
a5bb01b153
libaio: Add generic cross-compilation patch 2018-02-28 15:01:31 -05:00
Robin Gloster
c9ebdd4cac libaio.i686: disable stackprotector hardening 2016-03-29 00:34:20 +00:00
Mateusz Kowalczyk
badb705a5c libaio: update to 0.3.110 2014-08-29 13:45:04 +01:00
Ricardo M. Correia
84f35a7cc1 libaio: Fix download URL 2014-01-18 15:24:42 +00:00
Eelco Dolstra
26eca10459 * Added libaio.
svn path=/nixpkgs/trunk/; revision=26715
2011-04-06 14:21:48 +00:00