Commit Graph

140 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
Jörg Thalheim
03c0a80f39
disko: depend on nixos-install directly (#342320) 2024-09-21 14:42:58 +02:00
Sarah Clark
619e9e200c
diagrams-as-code: fix build failure due to pyyaml constraint (#343308)
python312.diagrams-as-code: fix build failure due to pyaml constraint

Co-authored-by: sarahec <sarahec@nextquestion.net>
2024-09-21 00:09:35 +02:00
R. Ryantm
b6f5bf49d3 disko: 1.7.0 -> 1.8.0 2024-09-20 13:50:31 +00:00
Jörg Thalheim
44b9691b37 disko: depend on nixos-install rather than nixos-install-tools
this avoids rebuilds.
2024-09-20 11:19:01 +02:00
Aleksana
a407d26ec2
dissent: fix /usr/bin path (#342742) 2024-09-18 19:16:05 +08:00
Honnip
43b276a43b
dissent: fix /usr/bin path 2024-09-18 18:38:27 +09: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
nicoo
02ea5fbeff
Merge #340996: dissent 0.0.27 -> 0.0.30 2024-09-12 13:32:49 +00:00
éclairevoyant
49f7e34d6e
maintainers: remove eclairevoyant 2024-09-10 15:02:41 -04:00
Honnip
1e557511c6
dissent: 0.0.27 -> 0.0.30 2024-09-10 21:18:37 +09:00
Weijia Wang
e4b7f0de75
discover-overlay: 0.7.4 -> 0.7.8 (#335033) 2024-09-09 23:57:38 +02:00
R. Ryantm
7209339f1c diesel-cli: 2.2.3 -> 2.2.4 2024-09-08 18:02:35 +00:00
R. Ryantm
54aa628cf6 disko: 1.6.1 -> 1.7.0 2024-09-04 01:54:10 +00:00
R. Ryantm
0ef332b825 discover-overlay: 0.7.4 -> 0.7.8 2024-08-29 19:05:14 +00:00
Nick Cao
252fdc8def
diesel-cli: 2.2.1 -> 2.2.3 (#337382) 2024-08-26 18:28:43 -04:00
seth
2434f2f15b
diesel-cli: 2.2.1 -> 2.2.3
Changelog: https://github.com/diesel-rs/diesel/releases/tag/v2.2.3
Diff: https://github.com/diesel-rs/diesel/compare/v2.2.2...v2.2.3
2024-08-25 22:34:12 -04:00
zendo
3366d35db0 dippi: 4.0.6 -> 4.1.0 2024-08-25 22:14:12 +08:00
zendo
7960c50993 dippi: move to by-name 2024-08-25 22:08:40 +08:00
Jörg Thalheim
8d87e1cc77 disko: add missing nixos-install for disko-install 2024-08-21 12:03:23 +02:00
R. Ryantm
448b8431b6 dissent: 0.0.26 -> 0.0.27 2024-08-11 01:32:43 +00:00
éclairevoyant
e0b9fac8c3
digikam: fix wayland platform support 2024-08-09 11:25:48 -04:00
Gabriel Fontes
930cbcd072
dim: fix compilation error with rust 1.80
As per https://github.com/NixOS/nixpkgs/issues/332957,
https://github.com/rust-lang/rust/issues/127343. Bumps the time dependency in Cargo.lock, to fix a compilation issue
2024-08-08 10:31:52 -03:00
phanirithvij
77743bb232 distrobox-tui: init at 0.1.0
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-08-07 20:33:50 +05:30
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
éclairevoyant
03d798e381
digikam: fix binary replacements 2024-08-05 20:42:06 -04:00
éclairevoyant
14d2848c92
digikam: wrap with exiftool 2024-08-05 20:41:17 -04:00
Pol Dellaiera
8858c1c8da
Merge pull request #332017 from Sigmanificient/diagrams-as-code
python312Packages.diagrams-as-code: init at 0.0.4
2024-08-04 22:53:33 +02:00
Sigmanificient
e85e1bc098 python312Packages.diagrams-as-code: init at 0.0.4 2024-08-04 15:52:04 +02:00
Doron Behar
75f326405e
Merge pull request #331910 from pyrox0/rem-mkyarnpackage/diagnostic-languageserver
diagnostic-languageserver: migrate from mkYarnPackage
2024-08-04 04:59:52 +00:00
Pyrox
e8a6875398
diagnostic-languageserver: migrate from mkYarnPackage 2024-08-03 22:21:47 -04:00
Julius Michaelis
6a9beaf893 treewide: skip generating shell completions using $out/bin/… when cross compiling
This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:

  postInstall = ''
    installShellCompletion --cmd foo \
      --bash <($out/bin/foo completion bash) \
      …

This commit just guards those with

lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)

splitting the string where unrelated actions are performed.
2024-08-04 10:50:48 +09:00
Aleksana
f5e0dfbca1
Merge pull request #331535 from r-ryantm/auto-update/dissent
dissent: 0.0.25 -> 0.0.26
2024-08-03 22:51:13 +08:00
R. Ryantm
07dfa0de03 dissent: 0.0.25 -> 0.0.26 2024-08-01 13:54:31 +00:00
Peder Bergebakken Sundt
b926e6ece9
Merge pull request #331116 from pbsds/fix-finalattrs-docheck-1722356587
treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
2024-08-01 14:58:44 +02:00
zimbatm
1ccc99fe9e dispad: move to by-name 2024-07-31 09:10:32 +02:00
zimbatm
3d2cee1c04 direnv: move to by-name 2024-07-31 09:10:32 +02:00
Peder Bergebakken Sundt
29ab705c17 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
repeat of #271241
discussion: #272978

I did not replace the instance in eiwd, since it causes an infinite recursion.
2024-07-30 18:32:01 +02:00
Vladimír Čunát
64c6a981fe
Merge branch 'master' into staging-next 2024-07-27 09:18:58 +02:00
Emily
b8faf5d599
Merge pull request #329470 from emilazy/push-omxsrkkkvymx
digikam: modernize, update, and use Qt 6; libsForQt5.libqtav: drop
2024-07-26 23:33:14 +01:00
K900
1410c766c8 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-26 08:41:08 +03:00
Aleksana
0e563a350f
Merge pull request #328403 from rrcomtech/package/AddingDitaOT
dita-ot: init at 4.2.3
2024-07-26 10:31:32 +08:00
Robert Richter
c2735fd1e7 dita-ot: init at version 4.2.3 2024-07-25 10:58:02 +02:00
Emily
5ca94336fd digikam: use Qt 6 2024-07-23 20:20:51 +01:00
Emily
94a39c9ace digikam: 8.3.0 -> 8.4.0
Includes fixes for FFmpeg 7.
2024-07-23 18:54:54 +01:00
Emily
282f3440bb digikam: drop libqtav dependency
This isn’t being used any more; on Qt 5 they use QtAVPlayer and on
Qt 6 they use the Qt Multimedia module.
2024-07-23 18:54:54 +01:00
Emily
c363e27c57 digikam: modernize 2024-07-23 18:54:54 +01:00
Emily
60b1c879b2 digikam: reformat with nixfmt-rfc-style 2024-07-23 18:54:54 +01:00
github-actions[bot]
637b531dcf
Merge staging-next into staging 2024-07-19 18:01:40 +00:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00