Commit Graph

7 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Daniel Perry
254ff60f27 recastnavigation: fix for darwin build break
Building on Darwin resulted in an error with not being able to find SDL header files.
Looking through the remote repository code, it looks like it expects the SDL2.framework layout
and not the Linux-style include directory layout.

The main difference between these two layouts is whether or not the SDL header files are
contained within a `SDL2` subdirectory. In the .framework file, the header files are located
at `Headers/SDL_*.h`. On Linux, the headers are located under `include/SDL2/SDL_*.h`.

When Nix builds SDL on Darwin, the output is in the Linux-style layout, while the
recastnavigation CMakeLists.txt is expecting things to be in the .framework layout.

The fix I made was to change the Darwin-specific `include_directories` directive which points
to the Headers directory to instead point to the headers from the Nix store.
2023-03-11 19:03:33 -05:00
Daniel Perry
8fba774d11 recastnavigation: 2021-03-05 -> 2023-01-02
Motivation: Needed for OpenMW Darwin support. Update contains build fixes for Darwin.
2023-03-11 18:54:05 -05:00
Alexander Shpilkin
73f88f1ddd recastnavigation: fix paths in pkg-config file 2022-09-07 21:49:33 +03:00
Rick van Schijndel
7d58a30286
treewide: pkgs/development/libraries: mark broken for darwin 2022-05-30 13:42:53 +02:00
Maximilian Bosch
a2ac7c607b
recastnavigation: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/163634618
2022-02-27 10:26:57 +01:00
marius david
5641c103cd recastnavigation: init at 2021-03-05 2021-11-08 23:31:56 +01:00