Skip to content

Commit

Permalink
Use pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
theoparis committed Oct 7, 2024
1 parent 1c813cc commit e427943
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
packages =
with pkgs;
[
pkgconf
pkg-config
autoPatchelfHook
installShellFiles
python3
Expand Down
17 changes: 10 additions & 7 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
enableAlsa ? stdenv.targetPlatform.isLinux,
enableSpeechd ? stdenv.targetPlatform.isLinux,
enableVulkan ? true,
pkgconf,
pkg-config,
autoPatchelfHook,
installShellFiles,
python3,
Expand Down Expand Up @@ -35,14 +35,17 @@ stdenv.mkDerivation {
name = "redot-engine";
src = ./.;

nativeBuildInputs = [
pkg-config
autoPatchelfHook
installShellFiles
makeWrapper
python3
scons
];

buildInputs =
[
pkgconf
autoPatchelfHook
installShellFiles
python3
makeWrapper
scons
fontconfig
]
++ lib.optionals enableSpeechd [ speechd ]
Expand Down

0 comments on commit e427943

Please sign in to comment.