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
toastal
f0ccbfb331 abduco: add mirror, remove recursion
> You can always fetch the current code base from the git repository
> located at GitHub or SourceHut.

The owner says the source code will be offered in two places so the code
fetching should reflect the mirror & it adds resiliance.
2024-02-10 22:19:54 +07:00
toastal
79ba445fd5 abduco: add patch to report pixel sizes to child processes 2024-02-10 22:19:54 +07:00
toastal
4c5ada2276 aduco: add patch to give exit code on dead session 2024-02-10 22:19:54 +07:00
toastal
1cd94ec066 adbuco: patch to use XDG directory scheme by default
This eliminates clutter in the user’s $HOME directory
2024-02-10 22:19:54 +07:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
rnhmjoj
7453cb20b1
abduco: 2018-05-16 -> 2020-04-30 2021-03-18 17:20:20 +01:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tilpner
2922ae9ee7
abduco: 0.6 -> 2018-05-16 2019-01-01 17:54:39 +01:00
Luke Clifton
3d8f6b6188 abduco: refactor (compile on darwin) (#47124) 2018-09-22 14:07:34 +00:00
Pascal Wittmann
f942b09bf9 abduco: 0.5 -> 0.6 2016-03-24 15:52:35 +01:00
Pascal Wittmann
67a61addf4 abduco: 0.4 -> 0.5 2016-01-17 14:06:42 +01:00
Pascal Wittmann
7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Pascal Wittmann
7811c40974 abduco: update from 0.3 to 0.4 2015-03-23 15:55:30 +01:00
Pascal Wittmann
95800b2991 abduco: update from 0.2 to 0.3 2015-03-02 16:24:10 +01:00
Pascal Wittmann
58ad907b49 abduco: update from 0.1 to 0.2 2014-11-15 16:21:56 +01:00
Luke Clifton
dcb226deb7 Changed to correct license from licenses.* 2014-07-26 08:39:14 +08:00
Luke Clifton
50c63f9b32 Added abduco 2014-07-23 21:52:22 +08:00