Commit Graph

59 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
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
4d183800f5 keypunch: 1.0 -> 3.1 2024-09-09 20:39:58 +08:00
éclairevoyant
e273bc80a5
treewide: remove existing usages of pname+version in fetchCargoTarball
This is done because the existing fetchCargoTarball does not support pname or version, resulting in a vendor tarball
with the name cargo-deps-vendor.tar.gz. Since adding pname+version support would change the name of the derivation,
and therefore its hash, we remove existing usages to avoid treewide breakage.
2024-09-07 01:10:33 -04:00
Sandro
954e821047
keycastr: added update script (#337745) 2024-09-01 17:49:20 +02:00
éclairevoyant
70aea8ceb3
keeweb: remove dead code 2024-08-30 16:43:59 -04:00
éclairevoyant
e600974d6c
keeweb: remove meta = with lib; 2024-08-30 16:41:01 -04:00
éclairevoyant
6dc3fd448f
keeweb: make overriding easier 2024-08-30 16:40:08 -04:00
éclairevoyant
b4b5c236dc
keeweb: fix runtime crash 2024-08-30 16:39:19 -04:00
éclairevoyant
9c81cde9e5
keeweb: fix gtk wrapping 2024-08-30 16:38:17 -04:00
éclairevoyant
be56643cbb
keeweb: nixfmt 2024-08-30 16:36:29 -04:00
éclairevoyant
f9839bc927
keeweb: migrate to by-name 2024-08-30 16:34:55 -04:00
Matteo Pacini
1e14ee7532 keycastr: added update script 2024-08-27 17:41:10 +01: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
Florian
6ace6a00c5
Merge pull request #332921 from ofalvai/keepassxc-go-unbreak-darwin
keepassxc-go: unbreak on darwin
2024-08-13 11:04:30 +02:00
Olivér Falvai
faf1e1700a
keepassxc-go: unbreak on darwin 2024-08-07 08:48:43 +02:00
Peder Bergebakken Sundt
7afb7c355e
Merge pull request #331163 from Shawn8901/update_keymapp
keymapp: 1.3.1 -> 1.3.2
2024-08-07 00:50:06 +02:00
zimbatm
caa12efaf4 keycard-cli: move to by-name 2024-07-31 09:10:31 +02:00
Shawn8901
7034d28afb keymapp: 1.3.1 -> 1.3.2 2024-07-30 23:21:23 +02:00
Shawn8901
e5d65aefac keymapp: 1.3.0 -> 1.3.1 2024-07-14 19:37:23 +02:00
Aleksana
6794d064ed
Merge pull request #321743 from getchoo/pkgs/key-rack/init
key-rack: init at 0.4.0
2024-07-12 10:08:50 +08:00
seth
94b35a21e3
key-rack: init at 0.4.0 2024-07-11 12:53:19 -04:00
Sandro
468e214dbb
Merge pull request #325487 from SFrijters/keepassxc-go-completions 2024-07-10 13:48:30 +02:00
Shawn8901
e70ed1056a keymapp: 1.2.1 -> 1.3.0 2024-07-09 20:07:44 +02:00
Stefan Frijters
91ac44bb0d
keepassxc-go: only generate shell completions if possible 2024-07-08 11:37:43 +02:00
Sandro
a9e45a7bf5
Merge pull request #323232 from matteo-pacini/keycastr
keycastr: init at 0.9.18
2024-07-07 17:35:26 +02:00
Matteo Pacini
413b10edb0 keycastr: init at 0.9.18 2024-07-07 14:45:16 +01:00
aleksana
8e35bfbeba treewide: fix runHook spelling mistakes 2024-07-05 12:21:15 +08:00
Aleksana
dcfa91ab15
Merge pull request #320606 from Shawn8901/upgrade_keymapp
keymapp: Migrate to pkg/by-name, nixfmt-rfc-style and update 1.1.1 -> 1.2.1
2024-07-03 02:41:32 +08:00
Masum Reza
3c831e9939
Merge pull request #264430 from Compile-Time/master
keym: init at unstable-2022-07-10
2024-06-22 20:39:48 +05:30
Shawn8901
3f82beef06 keymapp: 1.1.1 -> 1.2.1 2024-06-17 22:13:33 +02:00
Shawn8901
fa49d6ecd1 keymapp: reformat with nixfmt-rfc-style 2024-06-17 22:13:33 +02:00
Shawn8901
4d5f87ef1f keymapp: migrate to pkgs/by-name 2024-06-17 22:13:33 +02:00
Weijia Wang
af1dc0a893
Merge pull request #318917 from jzbor/update-kermit-terminal
kermit-terminal: 3.8 -> 4.0
2024-06-11 11:04:29 +02:00
jzbor
ed94c1b7c2 kermit-terminal: 3.8 -> 4.0 2024-06-11 00:09: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
TomaSajt
e22ff752ff
keypunch: set meta.platforms to linux only 2024-06-06 18:39:41 +02:00
TomaSajt
9c49e7821f
keypunch: init at 1.0 2024-06-06 15:15:42 +02:00
R. Ryantm
a505c02f76 keepass: 2.56 -> 2.57 2024-06-02 02:35:36 +00:00
Vladyslav Burzakovskyy
5a37ed1bc0 keto: init at 0.13.0-alpha.0 2024-05-13 11:41:49 +02:00
John Titor
722a131602
keydb: move to finalAttrs, cleanup
explicitly use lib where needed
2024-04-29 19:07:40 +05:30
Simon Hauser
b3642388fe
keydb: init at 6.3.4 2024-04-11 10:47:07 +02:00
Weijia Wang
2cb1818907
Merge pull request #287537 from erdnaxe/kernel-hardening-checker
kernel-hardening-checker: init at 0.6.6
2024-03-08 21:40:56 +01:00
Weijia Wang
f876fc9aa5
Merge pull request #286426 from r-ryantm/auto-update/keepass
keepass: 2.55 -> 2.56
2024-03-07 10:45:35 +01:00
Paul Meyer
ac3b8fd117 keep-sorted: add update script
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-03-05 20:20:15 +01:00
Paul Meyer
d597b3c3ee keep-sorted: 0.3.1 -> 0.4.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-03-05 20:18:56 +01:00
Janik
1b846e6488
Merge pull request #289946 from peterablehmann/Package--keepassxc-go
keepassxc-go: init at 1.5.1
2024-02-20 17:36:11 +01:00
Peter Lehmann
2d78e1b237 keepassxc-go: init at 1.5.1 2024-02-20 11:40:24 +01:00
Alexandre Iooss
94f6b130d0 kernel-hardening-checker: init at 0.6.6 2024-02-09 19:06:33 +01:00
Paul Meyer
e45311f14a keep-sorted: 0.3.0 -> 0.3.1 2024-02-06 21:17:29 +01:00