Commit Graph

41 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
Felix Schröter
9366f2b44a
tor-browser: 13.5.3 -> 13.5.4
https://blog.torproject.org/new-release-tor-browser-1354/
2024-09-18 17:53:25 +02: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
Peder Bergebakken Sundt
7226dd4070
tocpdf: init at 0.3.3 (#319145) 2024-09-16 02:22:49 +02: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
1579b92dd4
todesk: init at 4.7.2.0 (#310474) 2024-09-10 21:42:59 +08:00
Felix Schröter
8716383e94
tor-browser: 13.5.2 -> 13.5.3
https://blog.torproject.org/new-release-tor-browser-1353/
2024-09-04 19:11:33 +02:00
Jan Tojnar
ca9576c81d gnome-shell: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
wxt
0295652d91 todesk: init at 4.7.2.0 2024-09-01 17:19:09 +08:00
Peder Bergebakken Sundt
fcdecc256a
treewide: change ${pname} to string literal (#336172)
* adwaita-icon-theme: change `${pname}` to string literal

* alp: change `${pname}` to string literal

* alsa-oss: change `${pname}` to string literal

* alsa-plugins: change `${pname}` to string literal

* alsa-ucm-conf: change `${pname}` to string literal

* alsa-utils: change `${pname}` to string literal

* anyrun: change `${pname}` to string literal

* assemblyscript: change `${pname}` to string literal

* audiobookshelf: change `${pname}` to string literal

* baobab: change `${pname}` to string literal

* braa: change `${pname}` to string literal

* brill: change `${pname}` to string literal

* centrifugo: change `${pname}` to string literal

* cheese: change `${pname}` to string literal

* cljfmt: change `${pname}` to string literal

* coppwr: change `${pname}` to string literal

* cosmic-edit: change `${pname}` to string literal

* cosmic-files: change `${pname}` to string literal

* cosmic-store: change `${pname}` to string literal

* cosmic-term: change `${pname}` to string literal

* crate2nix: change `${pname}` to string literal

* cups-kyocera-3500-4500: change `${pname}` to string literal

* dbqn: change `${pname}` to string literal

* dconf-editor: change `${pname}` to string literal

* devhelp: change `${pname}` to string literal

* dmarc-report-converter: change `${pname}` to string literal

* engage: change `${pname}` to string literal

* eog: change `${pname}` to string literal

* evolution-data-server-gtk4: change `${pname}` to string literal

* find-billy: change `${pname}` to string literal

* firefly-iii: change `${pname}` to string literal

* fuchsia-cursor: change `${pname}` to string literal

* geary: change `${pname}` to string literal

* ghex: change `${pname}` to string literal

* gitg: change `${pname}` to string literal

* glasskube: change `${pname}` to string literal

* gnome.gnome-autoar: change `${pname}` to string literal

* gnome.gnome-calculator: change `${pname}` to string literal

* gnome.gnome-calendar: change `${pname}` to string literal

* gnome.gnome-common: change `${pname}` to string literal

* gnome.gnome-dictionary: change `${pname}` to string literal

* gnome.gnome-disk-utility: change `${pname}` to string literal

* gnome.gnome-font-viewer: change `${pname}` to string literal

* gnome.gnome-keyring: change `${pname}` to string literal

* gnome.gnome-screenshot: change `${pname}` to string literal

* gnome.gnome-system-monitor: change `${pname}` to string literal

* gnome.seahorse: change `${pname}` to string literal

* gnome.simple-scan: change `${pname}` to string literal

* gnome.sushi: change `${pname}` to string literal

* gnome.totem: change `${pname}` to string literal

* gnome.yelp: change `${pname}` to string literal

* gnome.yelp-xsl: change `${pname}` to string literal

* gnucap-full: change `${pname}` to string literal

* goredo: change `${pname}` to string literal

* guile-semver: change `${pname}` to string literal

* halo: change `${pname}` to string literal

* intiface-central: change `${pname}` to string literal

* intune-portal: change `${pname}` to string literal

* iscc: change `${pname}` to string literal

* jetbrains-toolbox: change `${pname}` to string literal

* jnr-posix: change `${pname}` to string literal

* keymapp: change `${pname}` to string literal

* libation: change `${pname}` to string literal

* libeduvpn-common: change `${pname}` to string literal

* libmamba: change `${pname}` to string literal

* littlefs-fuse: change `${pname}` to string literal

* logseq: change `${pname}` to string literal

* lxgw-wenkai-tc: change `${pname}` to string literal

* microsoft-identity-broker: change `${pname}` to string literal

* minetest-mapserver: change `${pname}` to string literal

* msalsdk-dbusclient: change `${pname}` to string literal

* neverest: change `${pname}` to string literal

* nf-test: change `${pname}` to string literal

* numbat: change `${pname}` to string literal

* pdf2odt: change `${pname}` to string literal

* plemoljp: change `${pname}` to string literal

* plemoljp-hs: change `${pname}` to string literal

* plemoljp-nf: change `${pname}` to string literal

* pocket-updater-utility: change `${pname}` to string literal

* proto: change `${pname}` to string literal

* pw3270: change `${pname}` to string literal

* ratchet: change `${pname}` to string literal

* read-it-later: change `${pname}` to string literal

* redmine: change `${pname}` to string literal

* regina: change `${pname}` to string literal

* regripper: change `${pname}` to string literal

* revolt-desktop: change `${pname}` to string literal

* rs: change `${pname}` to string literal

* signaturepdf: change `${pname}` to string literal

* sonarlint-ls: change `${pname}` to string literal

* srgn: change `${pname}` to string literal

* stackit-cli: change `${pname}` to string literal

* substudy: change `${pname}` to string literal

* swayosd: change `${pname}` to string literal

* synthesia: change `${pname}` to string literal

* tarlz: change `${pname}` to string literal

* termcap: change `${pname}` to string literal

* tinycompress: change `${pname}` to string literal

* tracexec: change `${pname}` to string literal

* treefmt2: change `${pname}` to string literal

* udev-gothic: change `${pname}` to string literal

* udev-gothic-nf: change `${pname}` to string literal

* vvvvvv: change `${pname}` to string literal

* yggdrasil: change `${pname}` to string literal

* zsync: change `${pname}` to string literal
2024-08-20 15:56:55 -07:00
kirillrdy
a0d6390cb3
Merge pull request #326675 from D3vil0p3r/patch-1
tokyonight-gtk-theme: 0-unstable-2024-06-27 -> 0-unstable-2024-07-22
2024-08-17 20:40:00 +10:00
Felix Schröter
9a34f063c4
tor-browser: 13.5.1 -> 13.5.2
https://blog.torproject.org/new-release-tor-browser-1352/
2024-08-06 23:23:42 +02:00
David McFarland
d3ca5027fa dotnet: use unpacked nuget packages 2024-07-31 00:47:14 -03:00
OTABI Tomoya
bf68af8f22
Merge pull request #327803 from Sigmanificient/toolong
toolong: init at 1.4.0
2024-07-27 10:17:28 +09:00
Sigmanificient
f537106418 toolong: init at 1.4.0 2024-07-27 00:29:55 +02:00
D3vil0p3r
e2bc2e5256 tokyonight-gtk-theme: 0-unstable-2024-06-27 -> 0-unstable-2024-07-22 2024-07-24 15:49:44 +02:00
Anthony Roussel
88e8ae101a
tomb: move to pkgs/by-name 2024-07-13 13:18:27 +02:00
Felix Schröter
ff1dc27711 {tor,mullvad}-browser: migrate to pkgs/by-name 2024-07-12 10:20:37 +02:00
Nikolay Korotkiy
f282bd4d74
Merge pull request #326086 from r-ryantm/auto-update/tootik
tootik: 0.11.2 -> 0.11.4
2024-07-10 18:04:54 +04:00
R. Ryantm
7ad92e5aab tootik: 0.11.2 -> 0.11.4 2024-07-10 10:26:49 +00:00
Sandro
e3e90f7b8a
Merge pull request #323506 from D3vil0p3r/patch-5 2024-07-09 16:29:04 +02:00
Jan Tojnar
598a574e08 totem: Move from gnome scope to top-level 2024-07-01 08:26:49 +02:00
D3vil0p3r
5be8710888 tokyonight-gtk-theme: unstable-2023-05-31 -> 0-unstable-2024-06-27 2024-06-30 03:27:13 +02:00
isabel
6a8f3db202
toml-sort: init at 0.23.1 2024-06-21 20:18:56 +01:00
dansbandit
4098898ff6 tocpdf: init at 0.3.3 2024-06-12 16:58:04 +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
3JlOy_PYCCKUi
2f9350605a
torrentstream: 1.0.1.6 -> 1.0.1.11 (#311109) 2024-05-13 00:02:11 +00:00
R. Ryantm
655aa1c85e tootik: 0.10.4 -> 0.11.2 2024-05-12 07:49:43 +00:00
R. Ryantm
5a7cb0dcba tootik: 0.10.3 -> 0.10.4 2024-05-04 16:23:22 +00:00
R. Ryantm
36c588e1dc tootik: 0.10.2 -> 0.10.3 2024-04-27 14:55:47 +00:00
Ryan Hendrickson
f9565232ec
Merge pull request #299661 from Tochiaha/torctl
torctl: init at 0.5.7
2024-04-24 23:26:26 -04:00
R. Ryantm
b6d1a291ae tootik: 0.10.0 -> 0.10.2 2024-04-20 01:04:12 +00:00
R. Ryantm
6bb72e79f7 tootik: 0.9.6 -> 0.10.0 2024-04-13 14:48:04 +00:00
Nikolay Korotkiy
870545873f
tootik: init at 0.9.6 2024-04-10 22:23:38 +04:00
Weijia Wang
62bc9629d3 toxic: fix license 2024-04-01 00:10:33 +02:00
Emery Hemingway
636d8e09e5 toxic: 0.11.3 -> 0.15.1 2024-03-31 09:39:25 +01:00
Emery Hemingway
8736da4cc6 toxic: move to pkgs/by-name 2024-03-31 09:39:25 +01:00
Tochiaha
80ffc60897 torctl: init at 0.5.7 2024-03-28 06:29:32 +00:00
Yueh-Shun Li
91b3db1309 treewide: fix sourceRoot for fetchgit-based src
According to Nixpkgs manual[1] and NixOS 23.11 Release Note[2], the
`sourceRoot` attribute passed to `stdenv.mkDerivation` should be
specified as `"${src.name}"` or `"${src.name}/subdir"` when `src` is
produced using `fetchgit`-based fetchers.

`sourceRoot = "source"` or `sourceRoot = "source/subdir"` is based on
the assumption that the `name` attribute of these pre-unpacked fetchers
are always `"source"`, which is not the case. Expecting constant `name`
also makes the source FODs prone to irrelevent hashes during version
bumps.

[1]: https://nixos.org/manual/nixpkgs/unstable/#var-stdenv-sourceRoot
[2]: https://nixos.org/manual/nixos/stable/release-notes#sec-release-23.11
2024-03-09 07:53:25 +08:00
Philip Hayes
55a41d555d toml-cli: init at 0.2.3 2024-01-23 11:50:09 +08:00
3JlOy_PYCCKUI
a18dfbf5e3 torrentstream: init at 1.0.1.6 2023-11-26 16:36:48 +02:00