Commit Graph

19 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
qwqawawow
784a204564 sniffnet: add wayland to rpath 2024-08-10 00:44:59 +08:00
qwqawawow
743e8e20a0
sniffnet: add libxkbcommon to rpath (#332383) 2024-08-06 11:34:01 +02:00
R. Ryantm
0cac08a72d sniffnet: 1.3.0 -> 1.3.1 2024-07-22 19:10:57 +00:00
R. Ryantm
c0b692fbb9 sniffnet: 1.2.2 -> 1.3.0 2024-04-08 15:13:14 +00:00
Weijia Wang
68ef996007
Merge pull request #271604 from h7x4/treewide-install-missing-desktop-items
treewide: install missing desktopItems
2023-12-08 01:12:32 +01:00
h7x4
efdec26090
treewide: install missing desktopItems 2023-12-02 06:57:21 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
figsoda
c7d006aebb sniffnet: 1.2.1 -> 1.2.2
Diff: https://github.com/gyulyvgc/sniffnet/compare/refs/tags/v1.2.1...v1.2.2

Changelog: https://github.com/gyulyvgc/sniffnet/blob/v1.2.2/CHANGELOG.md
2023-08-08 11:56:39 -04:00
figsoda
e92a5c7766 sniffnet: 1.2.0 -> 1.2.1
Diff: https://github.com/gyulyvgc/sniffnet/compare/refs/tags/v1.2.0...v1.2.1

Changelog: https://github.com/gyulyvgc/sniffnet/blob/v1.2.1/CHANGELOG.md
2023-06-08 10:43:13 -04:00
figsoda
26a72b2937 sniffnet: 1.1.4 -> 1.2.0
Diff: https://github.com/gyulyvgc/sniffnet/compare/refs/tags/v1.1.4...v1.2.0

Changelog: https://github.com/gyulyvgc/sniffnet/blob/v1.2.0/CHANGELOG.md
2023-05-18 08:44:36 -04:00
figsoda
b7480d46a9 sniffnet: 1.1.3 -> 1.1.4
Diff: https://github.com/gyulyvgc/sniffnet/compare/refs/tags/v1.1.3...v1.1.4

Changelog: https://github.com/gyulyvgc/sniffnet/blob/v1.1.4/CHANGELOG.md
2023-04-18 10:33:23 -04:00
figsoda
81ce33c7ed sniffnet: 1.1.2 -> 1.1.3
Diff: https://github.com/gyulyvgc/sniffnet/compare/refs/tags/v1.1.2...v1.1.3

Changelog: https://github.com/gyulyvgc/sniffnet/blob/v1.1.3/CHANGELOG.md
2023-04-04 16:00:01 -04:00
figsoda
96c5fc940c sniffnet: replace libGL with vulkan-loader 2023-03-20 09:19:51 -04:00
Fabian Affolter
bb48777258
sniffnet: update changelog entry 2023-03-19 11:26:51 +01:00
figsoda
b266018920 sniffnet: 1.1.1 -> 1.1.2
Diff: https://github.com/gyulyvgc/sniffnet/compare/v1.1.1...v1.1.2

Changelog: https://github.com/gyulyvgc/sniffnet/blob/main/CHANGELOG.md
2023-03-18 19:04:08 -04:00
figsoda
d3a5394744 sniffnet: 1.1.0 -> 1.1.1
Diff: https://github.com/gyulyvgc/sniffnet/compare/v1.1.0...v1.1.1

Changelog: https://github.com/gyulyvgc/sniffnet/blob/main/CHANGELOG.md
2023-02-25 12:57:08 -05:00
figsoda
825fb77506 sniffnet: 1.0.1 -> 1.1.0
Changelog: https://github.com/gyulyvgc/sniffnet/blob/main/CHANGELOG.md
2023-02-07 13:13:43 -05:00
figsoda
61aacee77d sniffnet: init at 1.0.1 2022-12-04 23:23:23 -05:00