Commit Graph

107 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
John Titor
dce85e24f8
louvre: add update script
cleanup
2024-09-12 10:04:46 +05:30
John Titor
6a65627a05
louvre: 2.2.0-1 -> 2.9.0-1 2024-09-12 10:02:44 +05:30
cheeseecake
b038196283 logseq: add maintainer cheesecake 2024-09-01 20:26:00 +08:00
github-actions[bot]
a0418f66a3
Merge master into staging-next 2024-08-28 06:04:54 +00:00
github-actions[bot]
903fa485a4
Merge master into staging-next 2024-08-27 18:04:19 +00:00
Matteo Pacini
419c70aa5a loopwm: 1.0.0 -> 1.1.1 2024-08-27 17:31:10 +01:00
Sandro
078be5f645
loopwm: added updateScript (#334081) 2024-08-27 14:28:14 +02:00
K900
5c68540f8b Merge remote-tracking branch 'origin/staging-next' into staging 2024-08-22 13:20:38 +03:00
Matteo Pacini
5d5a33a8e3 loopwm: added updateScript 2024-08-22 08:15:07 +01:00
Weijia Wang
60809f5681
Merge pull request #336188 from pbsds/bump-localsend-1724194260
localsend: 1.15.0 -> 1.15.4
2024-08-21 20:56:04 +02:00
Peder Bergebakken Sundt
27d5b878ea localsend: 1.15.0 -> 1.15.4 2024-08-21 00:58:53 +02: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
Christian Kögler
b854c51588
Merge pull request #330331 from ck3d/localai-2192
local-ai: 2.18.1 -> 2.19.4
2024-08-19 10:26:21 +02:00
Peder Bergebakken Sundt
7020a1d893 treewide: default.nix -> package.nix in pkgs/by-name
We need to remember to go over all the update scripts once the mass-by-name migration has happened
2024-08-18 18:09:17 +02:00
github-actions[bot]
0f820c1c5a
Merge staging-next into staging 2024-08-18 00:03:22 +00:00
Sandro
3bedd26586
Merge pull request #330146 from Sigmanificient/logdy
logdy: init at 0.13.0
2024-08-17 22:35:31 +02:00
Sigmanificient
aff037092f logdy: init at 0.13.0 2024-08-17 21:20:59 +02:00
Someone
ccaaa9ca53
Merge pull request #318614 from wolfgangwalther/structured-attrs-setup-hooks
treewide: support structuredAttrs in setup hooks
2024-08-13 19:29:36 +00:00
kirillrdy
5b14f25672
Merge pull request #331824 from yzx9/logseq-drawin-support
logseq: add darwin support
2024-08-13 18:30:53 +10:00
Peder Bergebakken Sundt
71e658b73a
Merge pull request #333047 from Pandapip1/localsend-minor-reformat
localsend: remove a with lib
2024-08-11 22:19:11 +02:00
Christian Kögler
c875450f52 local-ai: 2.18.1 -> 2.19.4 2024-08-10 14:56:11 +02:00
Christian Kögler
c8fd4604a3 local-ai: Switch test to llama 3.1 2024-08-10 14:56:11 +02:00
Gavin John
3a6ef929de localsend: remove a with lib 2024-08-07 18:43:59 +01:00
yzx9
437d3e574d
logseq: add darwin support 2024-08-06 10:40:12 +08:00
Wolfgang Walther
6bdfef9d2d
stdenv: generalize _accumFlagsArray to concatTo
Passing "flagsArray" as the first argument allows using this function
in a few more places.
2024-08-02 22:11:38 +02:00
Peder Bergebakken Sundt
a0396ab411 treewide: use src.name in sourceRoot 2024-08-02 14:56:50 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Nydragon
dab6632ebe
lollypop: move to by-name 2024-07-17 22:22:04 +02:00
linsui
26b069decb localsend: 1.14.0 -> 1.15.0 2024-07-16 20:49:09 +08:00
linsui
63425c530c localsend: format 2024-07-16 20:27:22 +08:00
linsui
11f1030337 localsend: move to by-name 2024-07-16 20:27:22 +08:00
Aleksana
8536937b75
Merge pull request #327080 from Aleksanaa/fetchgit-sha256-fix
treewide: sha256 -> hash attribute for fetchgit
2024-07-14 20:56:04 +08:00
aleksana
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Franz Pletz
39c58c75eb
Merge pull request #324987 from ck3d/localai-2181
local-ai: 2.17.1 -> 2.18.1
2024-07-09 16:05:51 +02:00
h7x4
7384b9abdc
treewide: set meta.changelog 2024-07-07 15:20:06 +02:00
Christian Kögler
e1f3b1a53c local-ai: 2.17.1 -> 2.18.1 2024-07-06 09:58:44 +02:00
Christian Kögler
61131e976b local-ai: fix libcuda.so stub 2024-07-03 20:14:35 +02:00
ckie
7d34b64eca maintainers: remove ckie
well, we failed. we have not saved nix together[0], and today's show of
utter incompetence[1] has pushed me over the edge along with many others[2]

it's been good. a lot of PRs. a lot of endless reviews.
some new friends, some old friends converted :P

cya in the next world, cuties <3

[0] https://save-nix-together.org/
[1] https://discourse.nixos.org/t/nca-member-jonringer-joint-announcement/48231
[2] https://github.com/NixOS/nixpkgs/issues?q=label%3A%228.has%3A+maintainer-list+%28update%29%22+remove+in%3Atitle+created%3A%3C2024-07-10
2024-07-02 02:40:02 +02:00
Matthias Beyer
97271541c3
Merge pull request #322509 from r-ryantm/auto-update/louvre
louvre: 2.1.0-1 -> 2.2.0-1
2024-06-30 17:28:43 +02:00
Sandro
533a48e6ff
Merge pull request #321219 from matteo-pacini/loopwm 2024-06-27 12:44:02 +02:00
R. Ryantm
50e9b66a1c louvre: 2.1.0-1 -> 2.2.0-1 2024-06-25 22:58:36 +00:00
Matteo Pacini
dbc9dcd311 loopwm: init at 1.0.0 2024-06-23 18:05:13 +01:00
Christian Kögler
9ad5d2dec8 local-ai: 2.16.0 -> 2.17.1 2024-06-22 17:39:54 +02:00
superherointj
8b7d6f8b0a logseq: fix build, move to by-name 2024-06-20 08:50:23 -03:00
R. Ryantm
be62ed3eec louvre: 2.0.0-1 -> 2.1.0-1 2024-06-18 22:57:21 +00:00
Christian Kögler
ed7c5230a7 local-ai: 2.15.0 -> 2.16.0 2024-06-15 22:15:55 +02:00