Commit Graph

77 Commits

Author SHA1 Message Date
R. Ryantm
7652f0e6be raspberrypifw: 1.20240924 -> 1.20240926 2024-10-02 03:40:45 +00:00
Nick Cao
dbd97393f2
raspberrypifw: 1.20240902 -> 1.20240924 (#344258) 2024-09-24 18:06:47 -04:00
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
52208da9ab raspberrypifw: 1.20240902 -> 1.20240924 2024-09-24 17:39:49 +00:00
R. Ryantm
ff85fb798a raspberrypifw: 1.20240529 -> 1.20240902 2024-09-02 15:14:44 +00: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
Samuel Dionne-Riel
1c0bec2499
Merge pull request #321436 from samueldr/ce n'est qu'un au revoir, à la prochaine! 2024-06-21 03:24:13 -04:00
Samuel Dionne-Riel
c9d484b7b8 raspberrypi-armstubs: Drop samueldr as maintainer 2024-06-20 20:46:00 -04:00
Ratchanan Srirattanamet
146bd2d9cf raspberrypifw: stable_20231123 -> 1.20240529
The repo starts to tag commits again, so we use the tag for version
again.
2024-06-17 00:56:22 +07:00
Ratchanan Srirattanamet
8f144732d4 raspberrypi-firmware: 1.20230405 -> stable_20231123 2023-12-30 19:34:05 +07:00
Bernardo Meurer
f4e0f22a2b
raspberrypifw: 1.20230106 -> 1.20230405 2023-05-04 14:03:29 -04:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Jamie Magee
0060dbd720
raspberrypi-armstubs: 2021-11-01 -> unstable-2022-07-11 2023-01-08 11:14:58 -08:00
Jamie Magee
42b10e9e5c
raspberrypifw: 1.20221028 -> 1.20230106 2023-01-08 11:07:47 -08:00
Florian Brandes
c02cb0fd58
raspberrypi-firmware: 1.20220331 -> 1.20221028
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-11-06 23:24:03 +01:00
Bernardo Meurer
4cb5e8a914 raspberrypifw: mark as broken on Darwin 2022-04-21 14:57:43 -07:00
Bernardo Meurer
d4eb5c68f2 raspberrypifw: 1.20220118 -> 1.20220331 2022-04-21 14:10:07 -07:00
Cole Mickens
51b7e23e8f raspberrypi-fw: use fetchurl to avoid darwin issue
Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
2022-02-12 00:04:48 -08:00
leo60228
10afc59e3a raspberrypi-armstubs: 2021-07-05 -> 2021-11-01 2022-02-12 00:04:48 -08:00
leo60228
2164279a04 raspberrypifw: 1.20210805 -> 1.20211118
Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
2022-02-12 00:04:48 -08:00
Bernardo Meurer
ca4a093c32
raspberrypifw: 1.20210727 -> 1.20210805 2021-08-06 10:40:45 -07:00
Bernardo Meurer
f00890056a
raspberrypi-armstubs: remove unused arguments 2021-08-05 10:05:56 -07:00
Bernardo Meurer
b59ab5263d
raspberrypi-armstubs: run pre/post hooks in installPhase 2021-08-05 10:05:55 -07:00
Bernardo Meurer
e828b6b431
raspberrypi-armstubs: don't use URI literals in meta 2021-08-05 10:05:54 -07:00
Bernardo Meurer
f4dcb9768e
raspberrypi-armstubs: 2020-10-08 -> 2021-07-05 2021-08-05 09:59:10 -07:00
Bernardo Meurer
8a4a84ec58
raspberrypifw: 1.20210303 -> 1.20210727 2021-08-05 09:59:08 -07:00
Michael Weiss
3e01d42024
maintainers: remove tavyc
Their last commit was dcc84d8 from 2017.
Thank you for your contributions.
2021-04-22 11:34:25 +02:00
Martin Weinelt
c067f62fb9
raspberrypifw: 1.20210201 -> 1.20210303 2021-04-05 05:55:24 +02:00
Martin Weinelt
82dadb9f06
raspberrypifw: 1.20201201 -> 1.20210201 2021-02-18 05:51:47 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Jörg Thalheim
231b166b12
Merge pull request #108573 from LumiGuide/fix-armstubs
raspberrypi-armstubs: fix native compilation on armv7l
2021-01-12 06:11:46 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Yorick van Pelt
d6e97555bd
raspberrypi-armstubs: fix native compilation on armv7l 2021-01-06 11:17:10 +01:00
Samuel Dionne-Riel
7f23d3e519 raspberrypi-armstubs: init at 2020-10-08 2020-12-31 18:20:49 +01:00
Drew Risinger
979a1e109f raspberrypi-tools: remove in favor of libraspberrypi
These packages were duplicated, and often weren't being updated in sync.
The only difference between them was the lack of pkg-config in
libraspberrypi, which is easily fixable.
2020-12-27 17:01:02 +01:00
Drew Risinger
924d461587 raspberrypifw: use stdenvNoCC
This only copies unfree redistributables, don't need a compiler for
that.
2020-12-27 17:01:02 +01:00
Drew Risinger
860cb184ec raspberrypifw: 20201022 -> 20201201 2020-12-27 17:01:02 +01:00
Florian Klink
b1fb82e979 raspberrypi-tools: fix build on x86_64-linux
This allows using tools such as dtmerge on x86_64-linux.
2020-12-27 03:29:25 +01:00
Janne Heß
1829a89f84
raspberrypifw: 1.20200902 -> 1.20201022 2020-10-26 11:30:36 +01:00
Janne Heß
9a966e84b6
raspberrypifw: 1.20200601 -> 1.20200902
Also disable the fixup phase since it only throws errors and remove the
platforms since these are only static files.
2020-10-07 00:41:15 +02:00
Ada Avery
df9950ed7b
raspberrypifw: 1.20190925 -> 1.20200601 2020-06-16 14:19:07 -03:00
Ada Avery
cd0cfb2ed1
raspberrypi-tools: 2018-10-03 -> 2020-5-28 2020-06-16 14:19:00 -03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Edmund Wu
0266449187
raspberrypifw: 1.20190819 -> 1.20190925 2019-10-01 08:43:15 -04:00
Thomas Kerber
cc5baf2d86
Various: Add support for raspberry pi 4. 2019-09-17 04:05:16 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk
fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00