Commit Graph

18 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
Felix Buehler
07440c4a2d rxvt-unicode: remove 'with lib;' 2024-08-16 16:09:03 +02:00
Sigmanificient
2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
arcnmx
4a49e79708 rxvt-unicode: patch to support perl 5.38
This fixes character encoding and rendering issues with non-ascii
characters after the recent perl update. The urxvt patch notes state:

> perl 5.38 does not handle empty locale names, use "C" instead
2023-08-14 16:27:38 -07:00
rnhmjoj
c05f72e9ba
rxvt-unicode: 9.30 -> 9.31 2023-06-08 16:36:24 +02:00
Atemu
328a29eb89 rxvt-unicode: pass through meta in wrapper
Fixes https://github.com/NixOS/nixpkgs/issues/68202
2022-11-30 18:48:10 +01:00
Artturin
0734f54ef2 treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
Jamie McClymont
694862304b nixos/tests: add passthru.tests to all tested terminal emulators 2022-03-20 16:48:06 +13:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Vincent Breitmoser
7b937e9152 rxvt-unicode-emoji: init as variant of rxvt-unicode, with wide glyph (emoji) support
Patches adapted from https://aur.archlinux.org/packages/rxvt-unicode-truecolor-wide-glyphs/
See also a7241b714d
2022-02-06 21:47:43 +01:00
rnhmjoj
7fc56a03f0
rxvt-unicode: 9.26 -> 9.30 2022-01-24 21:46:44 +01:00
Artturin
937f349b5f rxvt-unicode: fix terminfo path 2021-10-01 20:19:18 +03:00
Martin Weinelt
d6c64b2816
rxvt-unicode: 9.22 -> 9.26 2021-05-18 18:09:45 +02:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
AndersonTorres
5b5aac40d5 Terminal emulators: whitespace cleanup and regroup
Because editorconfig complains, and also why not to organize them
"ascii-betically"?
2020-10-28 22:28:32 -03:00
AndersonTorres
2bb3a9da24 A directory-category for terminal emulators
This is a mostly cosmetical commit, in the sense it doesn't change the contents
of any package, but reorganizes the overall Nixpkgs expressions.

Terminal emulators are an ubiquitous tool for any Unix user; even the beginners
are routinely familiarized to it. And, manifestly, there are many
implementations of terminal emulators out there, from those traditionally made
in C and C++ to those written in Haskell and Go.

Terminal emulators deserve more highlight. This commit does that by creating a
category for them.
2020-10-28 10:22:39 -03:00