diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 11:31:39 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 13:36:04 +0700 |
commit | 2e34288f0d8cf01eea228c7dbc50af9589b885f3 (patch) | |
tree | 90b3e8c3181614a7a884130ccbee41d34f514cb7 /pkgs/games/beret | |
parent | 93e5d99592cea45837867ca2a379093aaec3fbe8 (diff) |
pkgs/games: stdenv.lib -> lib
Diffstat (limited to 'pkgs/games/beret')
-rw-r--r-- | pkgs/games/beret/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/beret/default.nix b/pkgs/games/beret/default.nix index db9e6b96902a7..e59fc7eb27408 100644 --- a/pkgs/games/beret/default.nix +++ b/pkgs/games/beret/default.nix @@ -6,8 +6,8 @@ stdenv.mkDerivation { buildInputs = [ SDL SDL_image SDL_ttf SDL_mixer ]; NIX_CFLAGS_COMPILE = "-I${SDL.dev}/include/SDL"; - NIX_CFLAGS_LINK = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; - NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin + NIX_CFLAGS_LINK = lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework CoreFoundation -framework OpenGL -framework Cocoa"; patches = [ ./use-home-dir.patch ]; |