Commit Graph

58 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
3e368ea8c5 gh-f: 1.1.5 -> 1.1.6 2024-09-16 17:17:23 +00: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
R. Ryantm
871a39f694 gh-markdown-preview: 1.7.0 -> 1.8.0 2024-09-10 12:59:47 +00:00
Loïc Reynier
a581f86b10
gh-notify: 0-unstable-2024-04-24 -> 0-unstable-2024-08-01 2024-09-06 20:04:58 +00:00
Becker A.
e847adaa30
ghdl: enable builds on "x86_64-darwin" (#335975)
* ghdl: enable builds on "x86_64-darwin"

* oops

Co-authored-by: Aleksana <me@aleksana.moe>
2024-09-03 19:51:19 +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
a-kenji
cc3dba1134 gh-dash: 4.5.2 -> 4.5.4 2024-08-18 13:56:56 +02:00
R. Ryantm
57bdc12026 gh-dash: 4.5.0 -> 4.5.2 2024-08-12 05:41:49 +00:00
nixpkgs-merge-bot[bot]
e3f7da0efa
Merge pull request #333688 from r-ryantm/auto-update/gh-i
gh-i: 0.0.7 -> 0.0.8
2024-08-10 14:58:42 +00:00
R. Ryantm
c1aafecb92 gh-i: 0.0.7 -> 0.0.8 2024-08-10 13:38:00 +00:00
R. Ryantm
7019239c0b gh-markdown-preview: 1.6.0 -> 1.7.0 2024-08-10 11:58:37 +00:00
phanirithvij
69cb995812 gh-i: init at 0.0.7
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-08-07 20:33:49 +05:30
amesgen
0f05f31b4d
gh-markdown-preview: move to by-name 2024-08-04 13:37:11 +02:00
amesgen
5781e6b004
gh-dash: move to by-name 2024-08-04 13:37:11 +02:00
amesgen
9ca3776827
gh-actions-cache: move to by-name 2024-08-04 13:37:10 +02:00
R. Ryantm
87e96ef48c ghciwatch: 1.0.0 -> 1.0.1 2024-07-28 08:30:37 +00:00
Sandro
4f2a4548d1
Merge pull request #328736 from Sigmanificient/ghi 2024-07-26 23:50:21 +02:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
Sigmanificient
a3490e998e ghi: init at 1.2.1 2024-07-20 22:09:47 +02:00
Martijn Bastiaan
8dbbabec08 ghdl-gcc: init at 4.1.0
Not truly a new package, but rather a new backend next to the existing
`mcode` and `llvm` ones. Adding the GCC backend too, as it is the only
one that supports code coverage report generation. For more info see:
https://devsaurus.github.io/ghdl_gcov/ghdl_gcov.html.

Co-authored-by: Rowan Goemans <goemansrowan@gmail.com>
2024-07-08 20:53:33 +02:00
Martijn Bastiaan
2e9b82a7e6 Move GHDL files to respect naming scheme 2024-07-08 20:43:33 +02:00
Weijia Wang
590d597417
Merge pull request #323529 from r-ryantm/auto-update/gh-gei
gh-gei: 1.7.1 -> 1.8.0
2024-07-07 03:40:25 +02:00
Martin Weinelt
7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar
9d9d02c56a ghex: Move from gnome scope to top-level 2024-07-01 08:26:44 +02:00
R. Ryantm
6e560f1ab3 gh-gei: 1.7.1 -> 1.8.0 2024-06-30 05:14:46 +00:00
Martin Weinelt
153fa063ee
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/eigenpy/default.nix
2024-06-24 14:07:50 +02:00
Joseph LaFreniere
0cc66c26bc
gh-gei: init at 1.7.1 2024-06-22 04:50:47 -04:00
Martin Weinelt
f822b2ba5c Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/langsmith/default.nix
- pkgs/development/python-modules/rich-pixels/default.nix
- pkgs/servers/teleport/generic.nix
2024-06-18 20:16:19 +02:00
R. Ryantm
75c1d9bf29 ghciwatch: 0.5.16 -> 1.0.0 2024-06-17 00:45:09 +00:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +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
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
R. Ryantm
40dd44ef54 gh-poi: 0.9.10 -> 0.10.1 2024-06-05 14:02:09 +00:00
Pol Dellaiera
1febaefa05
Merge pull request #314534 from isabelroses/fix/gh-eco
gh-eco: added fetchpatch; modernize
2024-05-27 21:16:19 +02:00
isabel
072363fc3e
gh-eco: added fetchpatch; modernize 2024-05-27 10:44:04 +01:00
R. Ryantm
0b331b2636 ghciwatch: 0.5.12 -> 0.5.16 2024-05-27 07:14:41 +00:00
Darryl Magadzika
a7d3990462
gh-s: init at 0.0.8 (#313455) 2024-05-22 15:47:01 +00:00
R. Ryantm
db2032a095 ghciwatch: 0.5.11 -> 0.5.12 2024-05-20 21:47:33 +00:00
R. Ryantm
7f79a78fd0 gh-poi: 0.9.8 -> 0.9.10 2024-05-07 01:02:07 +00:00
R. Ryantm
8f7e3d8cc5 ghciwatch: 0.5.10 -> 0.5.11 2024-05-02 12:59:06 +00:00
mangoiv
1466209377
ghciwatch: init at 0.5.10 2024-05-01 20:01:03 +02:00
Loïc Reynier
7952c7ce7d
gh-notify: 0-unstable-2024-03-19 -> 0-unstable-2024-04-24 2024-04-24 14:51:18 +00:00
Moritz Sanft
419771a5ef
ghunt: add missing dependencies 2024-04-16 13:00:33 +02:00
Aleksana
67e2bc0371
Merge pull request #301263 from loicreynier/gh-f-make-standalone
gh-f: package as standalone command
2024-04-03 23:46:03 +08:00
Aleksana
d16e3a6e06
Merge pull request #299557 from loicreynier/gh-notify-init-at-unstable-2024-03-19
gh-notify: init at 0-unstable-2024-03-19
2024-04-03 23:38:37 +08:00
Loïc Reynier
fab46df763
gh-f: package as standalone command 2024-04-03 15:05:00 +00:00
Loïc Reynier
1a1bfe0857
gh-notify: init at 0-unstable-2024-03-19
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-04-03 14:19:31 +00:00
Loïc Reynier
b4f96d2b98
gh-f: init at 1.1.5
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-04-02 14:02:54 +00:00
PerchunPak
963be65915
gh-copilot: 0.5.4-beta -> 1.0.1 2024-03-23 15:43:46 +01:00