Commit Graph

29 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
h7x4
19635fef8f
nrfutil: 7.11.1 -> 7.13.0 2024-09-20 14:27:24 +02:00
h7x4
4dc21cedcb
nrfutil: switch upstream source 2024-09-20 14:27:24 +02:00
h7x4
3289ebc9ea
nrfutil: reinit at 7.11.1 2024-09-17 22:36:38 +02: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
Alyssa Ross
df61c2acb5 treewide: remove executable bit from .nix files
???
2024-09-14 13:08:57 +02:00
R. Ryantm
691fd881fb nrr: 0.9.4 -> 0.9.5 2024-08-26 07:22:01 +00:00
Ryan Cao
cffc27daf0
nrr: format with nixfmt-rfc-style 2024-08-18 18:09:04 +08:00
Ryan Cao
1460e06773
nrr: add meta.homepage 2024-08-18 18:08:44 +08:00
Ryan Cao
a186a7c2c5
nrr: enable LTO by default 2024-08-18 18:08:44 +08:00
R. Ryantm
5dc2c92774 nrr: 0.9.3 -> 0.9.4 2024-07-27 07:40:17 +00:00
R. Ryantm
36e4bfa3e0 nrr: 0.9.2 -> 0.9.3 2024-06-25 16:14:12 +00:00
h7x4
7f28d49b48
nrf-udev: init at 1.0.1 2024-06-15 20:40:11 +02:00
R. Ryantm
20fbc35459 nrr: 0.9.1 -> 0.9.2 2024-05-31 02:03:45 +00:00
Fabian Affolter
7daf6faa8a nray: limit platform support 2024-05-22 10:33:20 +02:00
Atemu
b4047a0455
Merge pull request #279260 from SuperSamus/multiPkgs-false-remove
treewide: remove `multiArch=false` and wrong usage of `extraPkgs`
2024-05-14 09:59:43 +02:00
Martino Fontana
6e465f4550 treewide: fix use of extraPkgs in AppImages
Mostly removes unnecessary use of `extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs;`
This caused some packages to be listed twice.

Also, fix some styling, and accidental use of top-level packages (sometimes due to the `with;` keyword, e.g. on `beeper`).
Remove inclusions of `bash`, since `bashInteractive` is already present by default.
2024-05-13 20:35:07 +02:00
Sandro
279b7bae8f
Merge pull request #311328 from StarGate01/nrfconnect 2024-05-13 16:01:03 +02:00
Christoph Honal
a1eb299ff9 nrfconnect: 4.3.0 -> 4.4.1, fix build 2024-05-13 13:28:13 +02:00
R. Ryantm
0be93cafb7 nrr: 0.9.0 -> 0.9.1 2024-05-11 14:36:53 +00:00
Fabian Affolter
1f1b4b79c6 nray: init at 1.1.0
Distributed port scanner

https://github.com/nray-scanner/nray
2024-04-24 09:58:54 +02:00
Ryan Cao
922ff9ac83
nrr: 0.8.0 -> 0.9.0 2024-04-19 10:52:06 +08:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Ryan Cao
a4850157ee
nrr: 0.5.2 -> 0.8.0 2024-02-24 10:23:20 +08:00
Ryan Cao
c5194c77dd
nrr: 0.5.0 -> 0.5.2 2024-02-14 08:14:49 +08:00
Christoph Honal
9058bc4e8f nrf-command-line-tools: init at 10.23.2 2024-02-01 10:25:50 +01:00
Christoph Honal
c2f2509a75 nrfconnect: init at 4.3.0 2024-02-01 10:25:33 +01:00
Ryan Cao
8d163530bd
nrr: init at 0.5.0 2024-01-26 18:37:12 +08:00
Emery Hemingway
0f2dc69519 nrpl: use new buildNimPackage 2023-11-28 16:48:10 +02:00