Commit Graph

103 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
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
Paul Meyer
d3463a289c
athens: 0.14.1 -> 0.15.1 (#340700) 2024-09-09 10:52:18 +02:00
Paul Meyer
92fe93c327 athens: 0.14.1 -> 0.15.1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-09 09:15:54 +02:00
R. Ryantm
3a69df5acc atlauncher: 3.4.37.2 -> 3.4.37.3 2024-09-08 10:04:38 +00:00
Peder Bergebakken Sundt
8379df360e
atlas: 0.26.0 -> 0.27.0 (#337881) 2024-09-07 20:09:26 +02:00
GetPsyched
ead836a24e
atlauncher: 3.4.36.10 -> 3.4.37.2
Changelog: https://github.com/ATLauncher/ATLauncher/compare/v3.4.36.10...v3.4.37.2
2024-09-05 17:12:21 +05:30
K900
4c7acf930a
atlauncher: build from source (#327592) 2024-09-05 14:00:14 +03:00
Aaron Jheng
d8abd48bcb
atlas: 0.26.0 -> 0.27.0 2024-09-03 10:53:10 +00:00
Aaron Jheng
4a7b3001ab
atlas: move to by-name 2024-08-28 07:09:53 +00:00
R. Ryantm
a916cae47a atac: 0.16.0 -> 0.18.0 2024-08-25 09:27:58 +00:00
Jan Tojnar
b8f3c78021
Merge pull request #333917 from jtojnar/gnome-top-level
gnome: Move more packages to top-level
2024-08-24 01:43:31 +02:00
Jörg Thalheim
85189bee5b attic-client: 0-unstable-2024-08-01 -> 0-unstable-2024-08-19 2024-08-21 20:35:51 +02:00
Alyssa Ross
0973b38266
attic-client,attic-server: 0-unstable-2024-02-08 -> 0-unstable-2024-08-01
Required to build with Rust 1.80[1].

Note: I'm pretty sure the labelling of the previous version as 0.1.0
was a mistake — the commit message referred to an unstable version
rather than 0.1.0, and there's no 0.1.0 tag upstream.

[1]: https://github.com/rust-lang/rust/issues/127343
2024-08-13 12:14:15 +02:00
GetPsyched
c6ede05a87
atlauncher: build from source 2024-08-12 09:37:26 +05:30
Jan Tojnar
fcd5e77e53 atomix: Move from gnome scope to top-level 2024-08-12 00:29:02 +02:00
Peder Bergebakken Sundt
462b96d2a1
Merge pull request #326243 from jcaesar/pr-13
treewide: skip generating shell completions using $out/bin/… when cross compiling
2024-08-06 08:15:56 +02:00
tomberek
0b4f0f1d35
Merge pull request #331567 from r-ryantm/auto-update/atac
atac: 0.15.1 -> 0.16.0
2024-08-04 14:44:37 -04:00
Julius Michaelis
87e574e110 treewide: rewrite some uses of hostPlatform == buildPlatform to canExecute
This rewrites uses of

stdenv.hostPlatform == stdenv.buildPlatform

to

stdenv.buildPlatform.canExecute stdenv.hostPlatform

when guarding postInstall scripts that use $out/bin/… to generate shell completions
2024-08-04 10:50:48 +09:00
Emily
2e7de3ff64 attract-mode: 2.6.2 -> 2.7.0-unstable-2024-08-02
Includes fixes for FFmpeg 7.
2024-08-03 19:02:38 +01:00
Emily
7b2c57a072 attract-mode: format with nixfmt-rfc-style 2024-08-02 00:23:49 +01:00
Emily
d30e4a2f59 attract-mode: move to pkgs/by-name 2024-08-02 00:23:49 +01:00
R. Ryantm
6525c157c1 atac: 0.15.1 -> 0.16.0 2024-08-01 17:16:17 +00:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
GetPsyched
2083cdd4b3
atlauncher: 3.4.36.9 -> 3.4.36.10
Changelog:

Fixes
- Issue with NeoForge searching on Modrinth not working correctly
2024-07-15 12:51:51 +04:00
GetPsyched
863c65e63d
atlauncher: add missing libraries 2024-07-09 19:25:48 +04:00
GetPsyched
c458862baf
atlauncher: format with nixfmt 2024-07-09 19:25:10 +04:00
GetPsyched
273c05d527
atlauncher: use stdenvNoCC 2024-06-30 17:39:35 +04:00
Sandro
0360d94ec3
Merge pull request #320334 from GetPsyched/atlauncher-version-bump 2024-06-24 11:05:57 +02:00
0x4A6F
36c6b2e9a2
atuin: use buildPackages.protobuf 2024-06-18 18:32:18 +02:00
GetPsyched
f6039ec1a2
atlauncher: 3.4.36.6 -> 3.4.36.9 2024-06-17 10:19:08 +04:00
GetPsyched
10e3bd4ef1
atlauncher: 3.4.36.5 -> 3.4.36.6 2024-06-16 15:08:16 +04:00
Yt
698c1d1aeb
Merge pull request #319039 from 0x4A6F/master-atuin
atuin: 18.2.0 -> 18.3.0
2024-06-12 01:32:08 +00:00
0x4A6F
b79dc362ea
atuin: 18.2.0 -> 18.3.0 2024-06-11 20:35:08 +02:00
Weijia Wang
e66204dc5f
Merge pull request #318784 from Shawn8901/fix-attic-server-meta-override
attic-server: fix faulty meta attrs override for mainProgram
2024-06-10 18:30:46 +02:00
Shawn8901
d2db2042bc attic-server: fix faulty meta attrs override for mainProgram 2024-06-10 14:34:18 +02:00
Paul Meyer
629cf33e2d
Merge pull request #318534 from r-ryantm/auto-update/athens
athens: 0.14.0 -> 0.14.1
2024-06-10 07:26:57 +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
R. Ryantm
74ca8895bc athens: 0.14.0 -> 0.14.1 2024-06-09 14:17:27 +00:00
Sandro
9731173bc9
Merge pull request #316749 from SFrijters/atuin-conditional-completions 2024-06-05 13:14:22 +02:00
GetPsyched
29494034d0
atlauncher: 3.4.36.4 -> 3.4.36.5 2024-06-04 09:00:30 +04:00
GetPsyched
b7c5c2954b
atlauncher: update meta attributes
- Remove nested `with` in meta.
  See: https://nix.dev/guides/best-practices#with-scopes
- Add changelog
2024-06-04 08:57:57 +04:00
Stefan Frijters
b7dd52f329
atuin: only generate completions if program can be executed
https://github.com/NixOS/nixpkgs/pull/289517 will break cross otherwise.
2024-06-03 00:24:03 +02:00
GetPsyched
74e18ebb62
atlauncher: add options and missing libs
Co-authored-by: eljamm <fedi.jamoussi@protonmail.ch>
2024-05-16 17:21:50 +05:30
GetPsyched
67f21b3795
atlauncher: fix build
Launching any instance would throw an error due to a missing library

Co-authored-by: eljamm <fedi.jamoussi@protonmail.ch>
2024-05-16 01:10:11 +05:30
Priyanshu Tripathi
42768e4590
atlauncher: 3.4.36.3 -> 3.4.36.4 (#311019) 2024-05-12 21:41:35 +00:00
github-actions[bot]
8d97a60dd1
Merge master into staging-next 2024-05-08 18:01:26 +00:00
Vinny Meller
b000cf4ce0
atac: fix build on darwin 2024-05-07 20:37:40 -04:00
github-actions[bot]
4781c03d7f
Merge master into staging-next 2024-05-06 18:01:20 +00:00