Commit Graph

18 Commits

Author SHA1 Message Date
R. Ryantm
c73d5f09c5 duckscript: 0.9.3 -> 0.11.1 2024-11-01 00:11:22 +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
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Sigmanificient
a2353716f6 treewide: remove unused occurence of fetchurl argument 2024-05-20 05:20:23 +02:00
R. Ryantm
490556c6a9 duckscript: 0.9.2 -> 0.9.3 2024-01-19 14:07:14 +00:00
R. Ryantm
f9227b9de9 duckscript: 0.9.1 -> 0.9.2 2023-12-14 12:34:40 +00:00
Weijia Wang
0f9b7bf5a0 duckscript: 0.9.0 -> 0.9.1 2023-09-26 10:39:41 +02:00
R. Ryantm
987b024528 duckscript: 0.8.20 -> 0.9.0 2023-09-17 22:40:06 +00:00
R. Ryantm
713324f5fd duckscript: 0.8.19 -> 0.8.20 2023-06-26 04:07:20 +00:00
R. Ryantm
374bc6b470 duckscript: 0.8.18 -> 0.8.19 2023-06-05 23:26:09 +00:00
R. Ryantm
8c05171365 duckscript: 0.8.17 -> 0.8.18 2023-04-25 11:22:08 +00:00
R. Ryantm
fc19ee8819 duckscript: 0.8.16 -> 0.8.17 2023-01-28 10:42:27 +00:00
R. Ryantm
d0e73c7030 duckscript: 0.8.15 -> 0.8.16 2022-10-17 14:42:30 +00:00
R. Ryantm
d3c5a0b6cf duckscript: 0.8.14 -> 0.8.15 2022-10-06 09:28:18 +00:00
R. Ryantm
0c99a804a3 duckscript: 0.8.10 -> 0.8.14 2022-08-14 08:20:10 +00:00
Malo Bourgon
0e802eafad treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
Maciej Krüger
b39b297b20 duckscript: init at 0.8.10 2022-02-23 15:10:58 +01:00