Commit Graph

10 Commits

Author SHA1 Message Date
R. Ryantm
67f3b2a27a kakoune-lsp: 17.1.2 -> 18.0.2 2024-10-19 05:51:19 +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
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
Philip Taron
096157a01d
kakoune-lsp: 17.1.1 -> 17.1.2 2024-08-16 17:59:29 -07:00
Philip Taron
fd77255de4
kakoune-lsp: 17.0.1 -> 17.1.1 2024-08-12 14:50:54 -07:00
Philip Taron
6d151f1e19
kakoune-lsp: use replaceVars 2024-08-12 14:50:54 -07:00
Philip Taron
d176239d50
kakoune-lsp: nixfmt 2024-08-12 14:50:54 -07:00
V
8d9ed73e65 kakoune-lsp: 16.0.0 -> 17.0.1 2024-08-11 11:05:34 +02:00
Philip Taron
2f3e77e1f2
kakoune: add philiptaron as maintainer to most kakoune-related things 2024-08-01 18:06:40 -07:00
V
dcfecc9bbb kakoune-lsp: 15.0.1 -> 16.0.0
The project renamed from "kak-lsp" in this version. Command and config
file paths remain the same, at least for now.

Change-Id: I7cbce56096bac5d4c68c2e9d4effd11f51b7bbf5
2024-04-01 03:27:28 +02:00