mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
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 ```
This commit is contained in:
parent
5706443baf
commit
0effc1df91
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue