Commit Graph
56 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 dce593bf92 cpp-utilities: 5.26.0 -> 5.26.1 2024-09-04 04:32:05 +00:00
R. Ryantm 8671daf3d2 cpp-utilities: 5.25.0 -> 5.26.0 2024-08-08 01:00:46 +00:00
R. Ryantm 3a0627051a cpp-utilities: 5.24.9 -> 5.25.0 2024-07-03 04:15:21 +00:00
R. Ryantm c9bc471f8b cpp-utilities: 5.24.8 -> 5.24.9 2024-06-05 03:01:45 +00:00
Weijia Wang 3a69841da6 cpp-utilities: fix build on x86_64-darwin 2024-05-14 00:21:58 +02:00
R. Ryantm b0985f752f cpp-utilities: 5.24.7 -> 5.24.8 2024-05-09 00:30:07 +00:00
R. Ryantm a8f26bea8c cpp-utilities: 5.24.6 -> 5.24.7 2024-03-05 15:29:28 +00:00
R. Ryantm 55824354ca cpp-utilities: 5.24.5 -> 5.24.6 2024-02-07 06:25:12 +00:00
R. Ryantm 568994cc76 cpp-utilities: 5.24.4 -> 5.24.5 2024-01-04 05:33:17 +00:00
R. Ryantm 0b7e4691c9 cpp-utilities: 5.24.2 -> 5.24.4 2023-12-14 01:59:41 +00:00
R. Ryantm f0174515af cpp-utilities: 5.24.1 -> 5.24.2 2023-11-26 10:11:40 +00:00
R. Ryantm 22e7e75bfa cpp-utilities: 5.24.0 -> 5.24.1 2023-09-23 16:19:18 +00:00
Doron BeharandGitHub 8ace65ff3d treewide: use finalAttrs in all packages I maintain (#255902)
* mpd-touch-screen-gui: use finalAttrs in mkDerivation; reformat

* musescore: use finalAttrs in mkDerivation

* syncthingtray: use stdenv.mkDerivation with a function; reformat

* ocrfeeder: use finalAttrs in mkDerivation; reformat

* castget: use finalAttrs in mkDerivation

* gnome-network-displays: use finalAttrs in mkDerivation

* mailreaders: use finalAttrs in mkDerivation

* mswatch: use finalAttrs in mkDerivation

* uhd: use finalAttrs in mkDerivation

* maxima: use finalAttrs in mkDerivation

* qalculate-gtk: use finalAttrs in mkDerivation

* qalculate-qt: use finalAttrs in mkDerivation

* wxmaxima: use finalAttrs in mkDerivation

* lammps: use finalAttrs in mkDerivation

* mlterm: use finalAttrs in mkDerivation

* video-trimmer: use finalAttrs in mkDerivation

* nerdfonts: use finalAttrs in mkDerivation

* gnomeExtensions.easyScreenCast: use finalAttrs in mkDerivation

* octave: use finalAttrs in mkDerivation; reformat

* comedilib: use finalAttrs in mkDerivation

* cpp-utilities: use finalAttrs in mkDerivation

* libsForQt5.kpeoplevcard: use finalAttrs in mkDerivation; reformat

* liberio: use finalAttrs in mkDerivation

* libqalculate: use finalAttrs in mkDerivation; reformat

* libwtk-sdl2: use finalAttrs in mkDerivation

* libsForQt5.pulseaudio-qt: use finalAttrs in mkDerivation; reformat

* qrupdate: use finalAttrs in mkDerivation; reformat

* libsForQt5.qtforkawesome: use finalAttrs in mkDerivation; reformat

* libsForQt5.qtutilities: use finalAttrs in mkDerivation; reformat

* sqlitecpp: use finalAttrs in mkDerivation; reformat

* tweeny: use finalAttrs in mkDerivation

* volk: use finalAttrs in mkDerivation

* wiringpi: use finalAttrs in mkDerivation

* snzip: use finalAttrs in mkDerivation; reformat

* bpm-tools: use finalAttrs in mkDerivation; reformat

* sacd: use finalAttrs in mkDerivation

* gtk-gnutella: use finalAttrs in mkDerivation; reformat

* sile: use finalAttrs in mkDerivation

* pplatex: use finalAttrs in mkDerivation; reformat
2023-09-21 11:31:17 +03:00
K900 90c8630a9a cpp-utilities: build as a shared library
This is required to get some header-only definitions set up
so that applications using them export symbols properly.
2023-07-30 09:36:29 +03:00
R. Ryantm 3f861fb6b6 cpp-utilities: 5.23.0 -> 5.24.0 2023-07-08 12:14:19 +00:00
R. Ryantm 523b21a273 cpp-utilities: 5.22.0 -> 5.23.0 2023-06-08 11:38:04 +00:00
waelwindows 8e3b74171d cpp-utilities: Add Darwin support 2023-04-16 16:48:03 +03:00
Doron Behar 2941e14f60 cpp-utilities: 5.21.0 -> 5.22.0
Diff: https://github.com/Martchus/cpp-utilities/compare/v5.21.0...v5.22.0
2023-04-05 10:36:39 +03:00
Doron Behar c10d18c7e7 cpp-utilities: 5.20.0 -> 5.21.0
Diff: https://github.com/Martchus/cpp-utilities/compare/v5.20.0...v5.21.0
2023-03-08 13:24:10 +02:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
R. Ryantm d3f040eb47 cpp-utilities: 5.19.0 -> 5.20.0 2022-11-03 10:10:21 +00:00
R. Ryantm ceb7c1d13c cpp-utilities: 5.18.0 -> 5.19.0 2022-09-07 12:00:36 +00:00
R. Ryantm ca83a26c35 cpp-utilities: 5.17.0 -> 5.18.0 2022-08-05 08:46:18 +00:00
R. Ryantm 947314d7be cpp-utilities: 5.16.0 -> 5.17.0 2022-07-07 09:18:38 +00:00
R. Ryantm dbf01024e4 cpp-utilities: 5.15.0 -> 5.16.0 2022-06-25 13:51:15 +00:00
R. Ryantm 28786e1055 cpp-utilities: 5.14.0 -> 5.15.0 2022-05-27 07:24:52 +00:00
R. Ryantm b983251169 cpp-utilities: 5.13.0 -> 5.14.0 2022-04-07 08:37:39 +00:00
R. Ryantm a36fdc40be cpp-utilities: 5.12.0 -> 5.13.0 2022-02-18 04:24:09 +00:00
R. Ryantm a1a75336c3 cpp-utilities: 5.11.3 -> 5.12.0 2022-01-24 06:30:00 +00:00
R. Ryantm acc8073467 cpp-utilities: 5.11.2 -> 5.11.3 2021-12-06 11:57:14 +00:00
R. Ryantm 78623b7bb5 cpp-utilities: 5.11.1 -> 5.11.2 2021-10-29 08:38:28 +00:00
R. RyanTM 82652bcc2c cpp-utilities: 5.11.0 -> 5.11.1 2021-09-14 05:01:15 +00:00
R. RyanTM e5a3c39545 cpp-utilities: 5.10.5 -> 5.11.0 2021-08-04 03:53:59 +00:00
R. RyanTM e0d1e49f60 cpp-utilities: 5.10.4 -> 5.10.5 2021-07-08 02:05:35 +00:00
R. RyanTM 5f8d85a934 cpp-utilities: 5.10.3 -> 5.10.4 2021-06-05 21:45:58 +00:00
Doron BeharandJonathan Ringer 8b33abc6de cpp-utilities: address common issues in the derivation 2021-05-17 13:27:46 -07:00
R. RyanTMandJonathan Ringer 8ead9feb90 cpp-utilities: 5.10.2 -> 5.10.3 2021-05-17 13:27:46 -07:00
R. RyanTM ddccf4272c cpp-utilities: 5.10.1 -> 5.10.2 2021-04-10 07:27:35 +00:00
R. RyanTM 7cc5d0b646 cpp-utilities: 5.10.0 -> 5.10.1 2021-02-04 03:30:28 +00:00
Doron Behar f9c6e07c67 treewide: Remove usages of stdenv.lib by @doronbehar
Per: https://github.com/NixOS/nixpkgs/issues/108938
2021-01-23 10:52:19 +02:00
Ben SiraphobandJonathan Ringer 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
R. RyanTM b7803688eb cpp-utilities: 5.9.0 -> 5.10.0 2021-01-18 13:39:46 +00:00
R. RyanTM 040b2b3862 cpp-utilities: 5.8.0 -> 5.9.0 2020-12-04 08:53:27 +00:00
R. RyanTM c857365a7c cpp-utilities: 5.7.0 -> 5.8.0 2020-11-11 01:17:04 +00:00
R. RyanTM a4f24201cf cpp-utilities: 5.6.0 -> 5.7.0 2020-10-18 00:36:01 +00:00
R. RyanTM 863425d138 cpp-utilities: 5.5.0 -> 5.6.0 2020-08-12 07:22:56 +00:00
R. RyanTM 30dd006939 cpp-utilities: 5.4.0 -> 5.5.0 2020-07-08 04:42:09 +00:00
R. RyanTMandJon dd205c9f49 cpp-utilities: 5.3.0 -> 5.4.0 2020-05-07 11:21:29 -07:00
Doron Behar 88508a7243 cpp-utilities: 5.2.0 -> 5.3.0 2020-03-28 20:46:34 +03:00