Commit Graph

16 Commits

Author SHA1 Message Date
David Calavera
ffdc305e97 cargo-lambda: 1.4.0 -> 1.5.0 2024-11-07 23:33:57 +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
Matthew Brown
ecd5746037 cargo-lambda: 1.3.0 -> 1.4.0 2024-09-17 11:20:57 +01:00
Matthew Brown
959b505da3 cargo-lambda: 1.2.1 -> 1.3.0 2024-08-15 08:00:05 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Matthew Brown
527a0c8767 cargo-lambda: 1.0.1 -> 1.2.1 2024-04-09 10:33:47 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Florentin Eckl
e4956fb21f cargo-lambda: add passthru.updateScript 2024-01-16 09:33:35 +01:00
Florentin Eckl
5a6f0f7c3a cargo-lambda: 0.21.1 -> 1.0.1 2024-01-15 20:05:17 +01:00
Taylor Everding
d48011b75d cargo-lambda: 0.18.1 -> 0.21.1 2023-10-07 21:19:15 -06:00
Wayne Van Son
80d04027c6 cargo-lambda: 0.13.0 -> 0.18.1 2023-04-13 11:56:14 +10:00
figsoda
64d0d965d3 cargo-lambda: avoid impurity 2022-11-30 20:10:40 -05:00
R. Ryantm
06d158f987 cargo-lambda: 0.12.0 -> 0.13.0 2022-11-30 21:55:04 +00:00
R. Ryantm
7aac181e81 cargo-lambda: 0.11.3 -> 0.12.0 2022-11-22 16:33:48 +08:00
David Calavera
8325547268 cargo-lambda: 0.11.2 -> 0.11.3
Signed-off-by: David Calavera <david.calavera@gmail.com>
2022-11-06 19:16:31 -08:00
Taylor Everding
4f9179c1f6 cargo-lambda: init at 0.11.2 2022-10-29 21:55:53 -06:00