Commit Graph

13 Commits

Author SHA1 Message Date
seth
9ae02ff8a8
treewide: adopt new cargo-tauri versions 2024-11-14 02:27:32 -05:00
Addison Beck
3ebad8b9cd modrinth-app-unwrapped: Adjust broken tag to only apply to Linux on aarch64
Update pkgs/by-name/mo/modrinth-app-unwrapped/package.nix

Co-authored-by: seth <getchoo@tuta.io>

Update pkgs/by-name/mo/modrinth-app-unwrapped/package.nix

Co-authored-by: seth <getchoo@tuta.io>
2024-10-28 12:11:00 +08:00
seth
9531d73e83
modrinth-app: add meta.mainProgram 2024-10-23 00:35:34 -04:00
seth
60806f2e78
modrinth-app: 0.7.1 -> 0.8.2
passthru.updateScript is removed to avoid accidental upgrades as
upstream now uses a monorepo and hasn't actually tagged anything new yet
2024-10-23 00:35:31 -04:00
seth
c2fd5dfb85
modrinth-app: cleanup
Namely the broken recursion structure and meta-attributes in the wrapper
2024-10-23 00:33:58 -04:00
seth
c1b54d4d86
modrinth-app: use pnpm.fetchDeps 2024-10-23 00:33:58 -04:00
Fabián Heredia Montiel
ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06:00
seth
5b5c9540a5
modrinth-app: use cargo-tauri.hook 2024-09-30 20:13:14 -04: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
aa20ccad78
modrinth-app-unwrapped: remove with statements 2024-08-18 06:31:14 -07:00
Weijia Wang
f4bd45f2ca modrinth-app-unwrapped: replace nodePackages.pnpm with pnpm_8 2024-06-26 11:41:24 +02:00
seth
d0438109db
modrinth-app: init at 0.7.1 2024-05-08 16:33:01 -04:00