Commit Graph

8 Commits

Author SHA1 Message Date
Randy Eckenrode
472d10b75b
cmake: do in fact use the Darwin SDK in the setup hook 2024-10-10 16:23:00 -04:00
Yueh-Shun Li
468cfccb0c cmake: setup-hook.sh: unify indentation 2024-08-19 04:59:27 +08:00
Wolfgang Walther
34a2b7ae9f
cmake: support structuredAttrs in setup hook
Tested litehtml with and without __structuredAttrs.

Resolves #289037
Supersedes #299622 (at least parts)
2024-08-03 12:56:08 +02:00
Reno Dakota
8c9c8ade2f
cmake: fix strictDeps
patch cmake to implement a NIXPKGS_CMAKE_PREFIX_PATH env variable which
is similar to CMAKE_PREFIX_PATH except it is not searched for programs.

This is required because cmake will search CMAKE_PREFIX_PATH for
programs before PATH which is problematic as that means buildInputs gets
searched before nativeBuildInputs which can break things when the
binaries in PATH are covered or the order re-arranged.
2024-07-27 18:36:23 +00:00
Reno Dakota
00cb5c8fc4
cmake: use addToSearchPath 2024-07-27 18:36:22 +00:00
Vladimír Čunát
5155e0c03b
cmake: refactor setup hook's find command
It became unnecessarily repetitive and complicated.
2024-07-20 09:41:02 +02:00
siddharth-narayan
4f8de0d551 cmake: Add -type f filter to find command
This commit adds the -type f filter to the find command. Previously, -type f
only applied to the first file name: *.cmake. The -o command means that -type f
has to be added back for the other file names.
2024-06-29 16:45:24 -04:00
Anderson Torres
0f4bc8579f cmake: migrate to by-name 2023-10-28 23:38:57 -03:00