Skip to content

Commit

Permalink
Fix shell.nix on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchmindtree committed Jan 17, 2024
1 parent 30fff57 commit 90ecbd4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{ nannou
{ lib
, nannou
, mkShell
, stdenv
}:
mkShell {
name = "nannou-dev";
inputsFrom = [ nannou ];
env = {
inherit (nannou) ALSA_LIB_DEV LD_LIBRARY_PATH XCURSOR_THEME;
};
env = (lib.optionalAttrs stdenv.isLinux
{
inherit (nannou) ALSA_LIB_DEV LD_LIBRARY_PATH XCURSOR_THEME;
} // lib.optionalAttrs stdenv.isDarwin {
inherit (nannou) COREAUDIO_SDK_PATH;
});
}

0 comments on commit 90ecbd4

Please sign in to comment.