diff options
author | Rebecca Turner <rbt@sent.as> | 2024-03-05 14:51:33 -0800 |
---|---|---|
committer | Rebecca Turner <rbt@sent.as> | 2024-03-06 10:02:19 -0800 |
commit | 0effc1df9102fc57deecc613cea1fd2aef76473c (patch) | |
tree | 8266a88f20a04df59c5fa540bc640a108427e607 | |
parent | 5706443baf9ce6a4cdb09f0c8463429c0549a9df (diff) |
pict-rs: Mark broken on darwin
A lot of build failures when testing: ``` pict-rs> Executing cargoCheckHook pict-rs> ++ cargo test -j 20 --profile release --target aarch64-apple-darwin --frozen -- --test-threads=20 pict-rs> Compiling ring v0.17.8 pict-rs> Compiling io-uring v0.5.13 pict-rs> Compiling socket2 v0.4.10 pict-rs> Compiling scoped-tls v1.0.1 pict-rs> error[E0425]: cannot find value `MAP_POPULATE` in crate `libc` pict-rs> --> /private/tmp/nix-build-pict-rs-0.5.7.drv-0/pict-rs-0.5.7-vendor.tar.gz/io-uring/src/util.rs:19:42 pict-rs> | pict-rs> 19 | libc::MAP_SHARED | libc::MAP_POPULATE, pict-rs> | ^^^^^^^^^^^^ help: a constant with a similar name exists: `MAP_PRIVATE` pict-rs> | pict-rs> ::: /private/tmp/nix-build-pict-rs-0.5.7.drv-0/pict-rs-0.5.7-vendor.tar.gz/libc/src/unix/bsd/apple/mod.rs:3314:1 ```
-rw-r--r-- | pkgs/servers/web-apps/pict-rs/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/web-apps/pict-rs/default.nix b/pkgs/servers/web-apps/pict-rs/default.nix index 82a701e021673..55437c7926db9 100644 --- a/pkgs/servers/web-apps/pict-rs/default.nix +++ b/pkgs/servers/web-apps/pict-rs/default.nix @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { PROTOC_INCLUDE = "${protobuf}/include"; nativeBuildInputs = [ makeWrapper ]; - buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks ]; + buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; postInstall = '' wrapProgram "$out/bin/pict-rs" \ @@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec { passthru.tests = { inherit (nixosTests) pict-rs; }; meta = with lib; { + broken = stdenv.isDarwin; description = "A simple image hosting service"; homepage = "https://git.asonix.dog/asonix/pict-rs"; license = with licenses; [ agpl3Plus ]; |