Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aylur committed Sep 14, 2024
1 parent c57a304 commit 71ee1ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ in

installPhase = ''
runHook preInstall
${genLib "astal" "" "Astal core library" {
${genLib "astal" "" {
out = "libastal";
description = "Astal core library";
version = ../core/version;
Expand Down
6 changes: 4 additions & 2 deletions lib/battery/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ config = configure_file(
},
)

deps = [
pkgconfig_deps = [
dependency('glib-2.0'),
dependency('gio-2.0'),
dependency('gobject-2.0'),
]

deps = pkgconfig_deps + meson.get_compiler('c').find_library('m')

sources = [
config,
'ifaces.vala',
Expand All @@ -64,7 +66,7 @@ if get_option('lib')
filebase: meson.project_name() + '-' + api_version,
version: meson.project_version(),
subdirs: meson.project_name(),
requires: deps,
requires: pkgconfig_deps,
install_dir: get_option('libdir') / 'pkgconfig',
)

Expand Down

0 comments on commit 71ee1ea

Please sign in to comment.