Commit Graph

42 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
R. Ryantm
d31416e794 mdbook-alerts: 0.6.4 -> 0.6.5 2024-09-18 13:26:13 +00:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -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
aleksana
69fdcd4af5 md-tui: add anas to maintainers 2024-09-03 20:22:24 +08:00
aleksana
f2e14433d7 mdt: remove (duplicate of md-tui) 2024-09-03 20:22:24 +08:00
R. Ryantm
a3297a5522 mdt: 0.8.5 -> 0.8.6 2024-09-01 04:51:39 +00:00
Gaetan Lepage
cab1e2bbd4 md-tui: 0.8.5 -> 0.8.6
Diff: https://github.com/henriklovhaug/md-tui/compare/refs/tags/v0.8.5...v0.8.6

Changelog: https://github.com/henriklovhaug/md-tui/blob/refs/tags/v0.8.6/CHANGELOG.md
2024-08-28 09:05:54 +02:00
R. Ryantm
68a8df19a0 mdbook-alerts: 0.6.3 -> 0.6.4 2024-08-27 13:16:48 +00:00
Gaetan Lepage
9d00f765b4 md-tui: 0.8.4 -> 0.8.5
Diff: https://github.com/henriklovhaug/md-tui/compare/refs/tags/v0.8.4...v0.8.5

Changelog: https://github.com/henriklovhaug/md-tui/blob/refs/tags/v0.8.5/CHANGELOG.md
2024-08-27 08:41:20 +02:00
R. Ryantm
cca78c7b15 mdt: 0.8.4 -> 0.8.5 2024-08-26 17:25:30 +00:00
R. Ryantm
de456377fe mdbook-d2: 0.3.0 -> 0.3.1 2024-08-20 13:25:47 +00:00
R. Ryantm
3d4e992893 mdbook-alerts: 0.6.2 -> 0.6.3 2024-08-16 12:12:02 +00:00
R. Ryantm
e0e7f52fe6 mdt: 0.8.1 -> 0.8.4 2024-08-14 02:06:01 +00:00
pinage404
77b9ba2e7b mdbook-yml-header: package is built from source 2024-08-11 16:11:37 +02:00
pinage404
ae129da1ea mdbook-yml-header: add update script 2024-08-11 16:11:37 +02:00
R. Ryantm
94348336c5 mdbook-alerts: 0.6.1 -> 0.6.2 2024-08-09 23:44:31 +00:00
Gaetan Lepage
c06f27cb4f md-tui: 0.8.3 -> 0.8.4
Diff: https://github.com/henriklovhaug/md-tui/compare/refs/tags/v0.8.3...v0.8.4

Changelog: https://github.com/henriklovhaug/md-tui/blob/refs/tags/v0.8.4/CHANGELOG.md
2024-08-09 13:24:13 +02:00
nix-julia
46301c51c1 mdbook-d2: unstable-2023-03-30 -> 0.3.0 2024-08-08 22:31:22 +03:30
nix-julia
7fc41e1fcf mdbook-d2: move to pkgs/by-name 2024-08-08 22:28:36 +03:30
Matthias Beyer
953b6b6e77
Merge pull request #331176 from pinage404/mdbook-yml-header
mdbook-yml-header: init at 0.1.4
2024-07-31 07:50:10 +02:00
pinage404
78a6137855 mdbook-yml-header: init at 0.1.4 2024-07-31 01:05:52 +02:00
R. Ryantm
555696489e mdbook-alerts: 0.6.0 -> 0.6.1 2024-07-29 22:35:01 +00:00
Gaetan Lepage
5f2c64dc00 md-tui: 0.8.1 -> 0.8.3
Diff: https://github.com/henriklovhaug/md-tui/compare/refs/tags/v0.8.1...v0.8.3

Changelog: https://github.com/henriklovhaug/md-tui/blob/refs/tags/v0.8.3/CHANGELOG.md
2024-07-28 14:12:40 +02:00
Brian McGillion
9bca10c721
mdbook-alerts: init at 0.6.0
Add mdbook-alerts a pre-processor for mdbook to support the inclusion of
Markdown alerts.

https://github.com/lambdalisue/rs-mdbook-alerts

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2024-07-25 09:10:07 +04:00
Masum Reza
6ecabf9e3f
Merge pull request #324432 from jalil-salame/update-mdbook
mdbook: 0.4.37 -> 0.4.40
2024-07-16 23:49:17 +05:30
Aleksana
b14c54413e
Merge pull request #315942 from anas-contribs/by-name/md-tui
mdt: init at 0.8.1
2024-07-15 16:09:23 +08:00
Jalil David Salamé Messina
2caa06582c
mdbook: move to pkgs/by-name 2024-07-13 12:03:02 +02:00
Pablo Ovelleiro Corral
5974cd5016
mdk3-master: init at 6-unstable-2015-05-24 (#298469) 2024-07-12 22:28:18 +02:00
R. Ryantm
de9e56cb96 mdsh: 0.8.0 -> 0.9.0 2024-06-19 00:26:05 +00:00
0x61nas
7f3fcae721
mdt: init at 0.8.1 2024-06-10 02:40:25 +03:00
Gaetan Lepage
899a94a087 md-tui: init at 0.8.1 2024-06-09 11:46:14 +02:00
zimbatm
e3597ddd55 mdsh: 0.7.0 -> 0.8.0
And also move it to pkgs/by-name
2024-02-29 15:37:32 +01:00
Sandro
a619a1ae3c
Merge pull request #288305 from nix-julia/add-mdbook-pdf-outline
mdbook-pdf-outline: init at 0.1.4
2024-02-12 17:42:16 +01:00
nix-julia
b17969fe5a mdbook-pdf-outline: init at 0.1.4 2024-02-12 18:16:02 +03:30
Robert Schütz
8858d9c00f
Merge pull request #287103 from dotlambda/mdformat-propagate
python311Packages.mdformat-*: propagate dependencies
2024-02-11 18:45:16 +00:00
Robert Schütz
f7205efda3 mdformat: move withPlugins to top-level attribute 2024-02-07 17:12:49 -08:00
R. Ryantm
690e40da1d md4c: 0.5.1 -> 0.5.2 2024-02-05 18:24:50 +00:00
Anderson Torres
4ced36cf90 md4c: 0.5.0 -> 0.5.1 2024-01-27 09:33:34 -03:00
Anderson Torres
5b35a895b6 md4c: 0.4.8 -> 0.5.0
With a small update on longDescription.
2024-01-27 09:33:34 -03:00
Anderson Torres
ad1a9965f4 md4c: refactor
- finalAttrs design pattern
- split outputs
- meta.changelog
2024-01-27 09:33:34 -03:00
Anderson Torres
0d4ed02177 md4c: migrate to by-name 2024-01-26 19:12:37 -03:00