Commit 2ea678ed authored by Adam Joseph's avatar Adam Joseph
Browse files

default-crate-overrides: add libseat-sys

This is needed for building `cosmic-comp` using `crate2nix` instead
of `buildRustPackage` (like
https://github.com/NixOS/nixpkgs/pull/251365/ does).
parent 6b4a8998
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@
, autoconf
, automake
, libtool
, seatd # =libseat
, ...
}:

@@ -172,6 +173,11 @@ in
    buildInputs = [ openssl zlib libgit2 ];
  };

  libseat-sys = attrs: {
    nativeBuildInputs = [ pkg-config ];
    buildInputs = [ seatd ];
  };

  libsqlite3-sys = attrs: {
    nativeBuildInputs = [ pkg-config ];
    buildInputs = [ sqlite ];