Commit Graph

10 Commits

Author SHA1 Message Date
Masum Reza
e13831335f
treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)
* treewide: stdenv.is -> stdenv.hostPlatform.is

* treewide: nixfmt due to ci error
2024-11-17 16:11:54 +05:30
Olivér Falvai
7337fc1928
matrix-authentication-service: fix aarch64-darwin build 2024-10-04 18:30:54 +02:00
Olivér Falvai
846019f060
matrix-authentication-service: mark x86-64-darwin as a badPlatform 2024-10-04 18:28:59 +02:00
Olivér Falvai
da77e713b4
matrix-authentication-service: format with nixfmt-rfc-style 2024-10-04 18:27:53 +02: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
teutat3s
24677dd257
matrix-authentication-service: 0.10.0 -> 0.12.0
Diff: https://github.com/element-hq/matrix-authentication-service/compare/refs/tags/v0.10.0...v0.12.0

Changelog: https://github.com/element-hq/matrix-authentication-service/releases/tag/v0.11.0
Changelog: https://github.com/element-hq/matrix-authentication-service/releases/tag/v0.12.0
2024-09-16 15:07:01 +02:00
teutat3s
5c57962a12
matrix-authentication-service: 0.9.0 -> 0.10.0
Diff: https://github.com/matrix-org/matrix-authentication-service/compare/refs/tags/v0.9.0...v0.10.0

Changelog: https://github.com/matrix-org/matrix-authentication-service/releases/tag/v0.10.0
2024-08-21 15:45:57 +02:00
teutat3s
b6128987a7
matrix-authentication-service: fix build on x86_64-darwin
Build currently fails for x86_64-darwin with:

Undefined symbols for architecture x86_64:
            "_SecTrustEvaluateWithError"
2024-05-07 17:31:00 +02:00
Daniel Kilimnik
ed9b67d4de matrix-authentication-service: 0.7.0 -> 0.9.0 2024-04-22 18:05:35 +02:00
teutat3s
05e00f63f7
matrix-authentication-service: init at 0.7.0
MAS (Matrix Authentication Service) is an OAuth 2.0 and OpenID Provider
server for Matrix

https://github.com/matrix-org/matrix-authentication-service/releases/tag/v0.7.0

Co-authored-by: Nick Cao <nickcao@nichi.co>
2023-12-19 01:49:11 +01:00