Commit Graph

22 Commits

Author SHA1 Message Date
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00: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
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
K900
227188b7b3 bcompare: 4.4.4.27058 -> 4.4.6.27483
The upstream source for older versions disappeared again.
2023-06-10 13:44:08 +03:00
Alex Martens
2c76d9ce17 bcompare: fix missing ldd 2023-03-18 23:22:34 +01:00
K900
f62a898c4f bcompare: 4.4.2.26348 -> 4.4.4.27058 2022-11-15 10:31:54 +03:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
Robert Scott
466c2e342a treewide/applications: add sourceType binaryNativeCode for many packages 2022-06-23 18:38:19 +01:00
techknowlogick
b043c9d5f6 bcompare: 4.4.0.25886 -> 4.4.2.26348 2022-03-21 13:03:10 +01:00
arkivm
18e1ae0d99
bcompare: add darwin support (#141413)
Co-authored-by: Paweł Kruszewski <kruszewsky@gmail.com>
2021-11-19 23:50:53 +01:00
R. RyanTM
0864142642 bcompare: 4.3.7.25118 -> 4.4.0.25886 2021-08-14 01:55:13 +00:00
Thomas Tuegel
5590e365e4
qtbase: Check for wrapQtAppsHook in setupHook 2021-01-25 15:56:15 -06: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
Pawel Kruszewski
5778446619 bcompare: 4.3.5.24893 -> 4.3.7.25118 2020-10-03 23:00:35 +02:00
R. RyanTM
3b34f20fb5 bcompare: 4.3.4.24657 -> 4.3.5.24893 2020-07-16 16:21:26 +00:00
Seabass-Chan
92688a1ed7
bcompare - 4.3.2.24472 -> 4.3.4.24657 (#84521)
Co-authored-by: Milan Pässler <mil@nyantec.com>
2020-05-19 21:43:40 +02:00
Jan Tojnar
044e733e8d
bcompare: do not use aliases 2020-05-16 23:14:53 +02:00
adisbladis
dcfc821c6c
treewide: Stop using Qt 5.9 2019-11-18 20:10:43 +00:00
Paweł Kruszewski
a2a5c65529 bcompare: 4.3.1.24438 -> 4.3.2.24472
(#72614)
2019-11-09 16:15:25 +01:00
Pawel Kruszewski
7d43ee015a bcompare: 4.3.0.24364 -> 4.3.1.24438 2019-10-28 08:22:46 +01:00
Pawel Kruszewski
eaa72aa453 bcompare: 4.2.10.23938 -> 4.3.0.24364 2019-10-11 06:14:23 +02:00
Pawel Kruszewski
803108a1a6 bcompare: init at 4.2.10.23938 2019-08-23 19:01:32 +02:00