Commit Graph

27 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
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
sanana
79f9ec1033
edk2: add loongarch64 support
Upstream had this for some time, let's just enable building it.
2024-09-02 11:12:24 +03:00
Martin Joerg
8b47539e65 edk2: 202405 -> 202408
https://github.com/tianocore/edk2/releases/tag/edk2-stable202408
https://github.com/tianocore/edk2/compare/edk2-stable202408..edk2-stable202405
2024-08-27 15:14:52 +00:00
Martin Joerg
aea24a3839 OVMF: enable compilation using Clang
Disable -Wno-unneeded-internal-declaration causing the build to fail due to -Wall with Clang.
2024-08-27 15:14:51 +00:00
Martin Joerg
0bb9616782 edk2: 202402 -> 202405
https://github.com/tianocore/edk2/releases/tag/edk2-stable202405
https://github.com/tianocore/edk2/compare/edk2-stable202402...edk2-stable202405

Add patch to avoid stuck system (#325403).
2024-08-27 15:14:51 +00:00
Martin Joerg
ad318f1ff4 edk2: remove patch obsoleted by OpenSSL 3.0.14 2024-08-27 15:14:51 +00:00
Martin Joerg
b7a9ac40c8 edk2: propagate patches
Ensure patches to EDK II and OpenSSL are propagated to edk2.mkDerivation.
2024-08-27 15:14:51 +00:00
Martin Joerg
960e0694d9 edk2, edk2-uefi-shell, OVMF: add mjoerg as maintainer 2024-08-27 15:14:51 +00:00
Jeroen Wijenbergh
52bb7f5c57
eduvpn-client: 4.3.1 -> 4.4.0 2024-07-30 10:56:14 +02:00
Martin Weinelt
93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
Vladimír Čunát
ad0a19f0f2
Merge #323718: ed: a huge refactor
...into staging
2024-07-20 09:46:44 +02:00
Krzysztof Nazarewski
8559b460b1 edido: init 2024-07-18 16:57:18 +03:00
Anderson Torres
79866be383 ed: a huge rewrite
- delete `edUnstable`
- migrate to `pkgs/by-name`
- strictDeps
- testVersion
- meta.mainProgram
2024-07-12 11:01:33 -03:00
Vladimír Čunát
655f80cb7c
Merge #325403: edk2: 202405 -> 202402 (downgrade) 2024-07-08 07:49:52 +02:00
Adam Stephens
30ef8b6ba9
edk2: 202405 -> 202402
Revert #321143 as nixos boot tests are hanging and timing out.

Moving unvendor to postFetch added a dependency on openssl in the source fetching, meaning an openssl change causes a hash mismatch.
2024-07-07 22:46:50 -04:00
Adam Stephens
24efbe2c36
edk2: 202402 -> 202405 2024-06-20 01:56:54 +00:00
Adam Stephens
0de2895c09
edk2: add updateScript and changelog 2024-06-19 21:54:51 -04:00
Adam Stephens
62921811dd
edk2: move to by-name 2024-06-19 21:47:20 -04:00
Benedikt Tissot
a0840027a1 eduvpn-client: 4.2.1 -> 4.3.1 2024-06-15 16:14:50 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Anderson Torres
5a56dbf2db edbrowse: enable Unix ODBC support 2024-02-25 19:32:14 -03:00
Anderson Torres
7659f7b35b edbrowse: refactor
- finalAttrs design pattern
- get rid of nested with
- substitute vrthra to AndersonTorres on meta.maintainers
2024-02-25 18:47:29 -03:00
Anderson Torres
98802aa75a edbrowse: migrate to by-name 2024-02-25 18:41:45 -03:00
jwijenbergh
ff057da35b
eduvpn-client: 4.2.0 -> 4.2.1 2024-02-13 10:50:29 +01:00
jwijenbergh
243ec9a4e7
eduvpn-client: init at 4.2.0 2024-01-08 12:04:10 +01:00