Skip to content

Commit

Permalink
default-crate-overrides: add libseat-sys
Browse files Browse the repository at this point in the history
This is needed for building `cosmic-comp` using `crate2nix` instead
of `buildRustPackage` (like
#251365 does).
  • Loading branch information
Adam Joseph committed Aug 26, 2023
1 parent 6b4a899 commit 2ea678e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/build-support/rust/default-crate-overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
, autoconf
, automake
, libtool
, seatd # =libseat
, ...
}:

Expand Down Expand Up @@ -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 ];
Expand Down

0 comments on commit 2ea678e

Please sign in to comment.