Commit Graph

103 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
R. Ryantm
8f2c0d309a stress-ng: 0.18.02 -> 0.18.04 2024-09-09 00:49:05 +00:00
R. Ryantm
38d28a391c stress-ng: 0.18.01 -> 0.18.02 2024-08-01 01:48:05 +00:00
R. Ryantm
91b0897066 stress-ng: 0.18.00 -> 0.18.01 2024-07-04 10:10:27 +00:00
R. Ryantm
8fb7400f56 stress-ng: 0.17.08 -> 0.18.00 2024-06-06 17:42:54 +00:00
kirillrdy
2b705743d1
Merge pull request #312599 from lelgenio/stress-ng-gpu
stress-ng: add missing dependencies for --gpu flag support
2024-06-04 19:09:16 +10:00
lelgenio
cc9442089c stress-ng: add missing dependencies for --gpu flag support 2024-05-18 02:25:08 -03:00
R. Ryantm
4f78a2b7c4 stress-ng: 0.17.07 -> 0.17.08 2024-05-02 14:49:25 +00:00
R. Ryantm
c0e1530d6a stress-ng: 0.17.06 -> 0.17.07 2024-04-05 07:56:21 +00:00
R. Ryantm
665a8341d2 stress-ng: 0.17.05 -> 0.17.06 2024-03-10 00:17:53 +00:00
R. Ryantm
0ff47e0eb1 stress-ng: 0.17.04 -> 0.17.05 2024-02-02 07:39:16 +00:00
Muhammad Falak R Wani
0cdf1bfb5f stress-ng: 0.17.03 -> 0.17.04
Diff: https://github.com/ColinIanKing/stress-ng/compare/V0.17.03...V0.17.04
Changelog: https://github.com/ColinIanKing/stress-ng/raw/V0.17.04/debian/changelog
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-01-05 19:46:14 +05:30
R. Ryantm
5496357ba4 stress-ng: 0.17.02 -> 0.17.03 2023-12-23 14:17:32 +00:00
R. Ryantm
30c21b6628 stress-ng: 0.17.01 -> 0.17.02 2023-12-08 15:38:00 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
a7f1cc0ce1 stress-ng: 0.17.00 -> 0.17.01 2023-11-10 17:56:49 +01:00
1sixth
50f499010a stress-ng: 0.16.04 -> 0.17.00 2023-10-09 22:04:01 +02:00
R. Ryantm
43475f181c stress-ng: 0.15.10 -> 0.16.04 2023-08-17 06:47:31 +00:00
Franz Pletz
d3db8ef21d
stress-ng: 0.15.07 -> 0.15.10 2023-06-21 15:11:29 +02:00
R. Ryantm
bd3a5d095c stress-ng: 0.15.06 -> 0.15.07 2023-05-11 06:33:29 +00:00
R. Ryantm
aeba1e075e stress-ng: 0.15.05 -> 0.15.06 2023-03-25 16:50:58 +00:00
R. Ryantm
b533639bd3 stress-ng: 0.15.03 -> 0.15.05 2023-03-12 10:54:38 +00:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
R. Ryantm
de3d46fa52 stress-ng: 0.15.01 -> 0.15.03 2023-02-06 16:58:48 +00:00
R. Ryantm
04acdfd75e stress-ng: 0.14.06 -> 0.15.01 2023-01-10 12:39:59 +00:00
R. Ryantm
956efd6703 stress-ng: 0.14.03 -> 0.14.06 2022-10-01 02:50:38 +00:00
R. Ryantm
9d4ad27d62 stress-ng: 0.13.09 -> 0.14.03 2022-08-02 03:13:20 +00:00
Renaud
339c243b02
stress-ng: 0.13.08 -> 0.13.09 2021-12-21 20:22:05 +01:00
Renaud
3fb8f40252
stress-ng: 0.13.03 -> 0.13.08
Upstream has moved to Github
2021-12-18 18:34:17 +01:00
R. RyanTM
ab8ddd6509 stress-ng: 0.13.01 -> 0.13.03 2021-09-22 06:26:58 +00:00
R. RyanTM
b47ac5a77c stress-ng: 0.13.00 -> 0.13.01 2021-09-14 05:04:49 +00:00
R. RyanTM
39c2e36416 stress-ng: 0.12.11 -> 0.13.00 2021-08-22 05:30:33 +00:00
Fabian Affolter
229fee69b1 stress-ng: 0.12.04 -> 0.12.11 2021-07-04 18:53:36 +02:00
R. RyanTM
02cb44b5dc stress-ng: 0.11.19 -> 0.12.04 2021-03-09 18:24:31 +00:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
b1df606428 stress-ng: 0.11.14 -> 0.11.19 2020-08-31 03:39:12 +00:00
R. RyanTM
c722886ee1 stress-ng: 0.11.10 -> 0.11.14 2020-07-07 15:50:23 +00:00
R. RyanTM
dd75f7b6f7 stress-ng: 0.11.08 -> 0.11.10 2020-05-24 11:23:09 +00:00
R. RyanTM
6383f231aa stress-ng: 0.11.07 -> 0.11.08 2020-05-10 09:34:13 -07:00
R. RyanTM
d53c3ce20f stress-ng: 0.11.02 -> 0.11.07 2020-04-07 19:17:55 +00:00
Maximilian Bosch
12eef00f70
stress-ng: 0.11.01 -> 0.11.02 2020-03-15 23:54:52 +01:00
R. RyanTM
0b121e343d stress-ng: 0.10.19 -> 0.11.01 2020-03-03 18:59:55 +00:00
R. RyanTM
f422253fdd stress-ng: 0.10.16 -> 0.10.19 2020-02-14 05:30:51 +00:00
R. RyanTM
17748d37cd stress-ng: 0.10.14 -> 0.10.16 2020-01-30 11:09:03 +00:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
R. RyanTM
de13f9c5a4 stress-ng: 0.10.11 -> 0.10.14 (#76436) 2019-12-27 18:14:15 +01:00
R. RyanTM
71e097936b stress-ng: 0.10.08 -> 0.10.11
(#74649)
2019-11-29 23:14:52 +01:00
Renaud
cbc94a05ba
stress-ng: 0.10.05 -> 0.10.08 (#72333)
+ fixes #72292
2019-10-31 08:58:44 +01:00
Will Dietz
31be449657
stress-ng: workaround kernel header SNAFU re:sysinfo, fix w/musl 2019-09-16 12:37:43 -05:00