fretboard: fix build on darwin
This commit is contained in:
parent
7809c97fcf
commit
95f5fbdbfd
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, blueprint-compiler
|
||||
, cargo
|
||||
, darwin
|
||||
, desktop-file-utils
|
||||
, fetchFromGitHub
|
||||
, glib
|
||||
|
@ -48,8 +49,14 @@ stdenv.mkDerivation rec {
|
|||
glib
|
||||
gtk4
|
||||
libadwaita
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Foundation
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-error=incompatible-function-pointer-types"
|
||||
]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Look up guitar chords";
|
||||
homepage = "https://github.com/bragefuglseth/fretboard";
|
||||
|
|
Loading…
Reference in a new issue