mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
16 lines
791 B
Diff
16 lines
791 B
Diff
Do not embed paths to build-only depends (-I...SDL2-dev and friends)
|
|
into savefile lua comments.
|
|
--- a/src/savestruct_internal.c
|
|
+++ b/src/savestruct_internal.c
|
|
@@ -571,8 +571,8 @@ void save_game_data(struct auto_string *strout)
|
|
autostr_append(strout,
|
|
"SAVEGAME: %s %s %s;sizeof(tux_t)=%d;sizeof(enemy)=%d;sizeof(bullet)=%d\n",
|
|
SAVEGAME_VERSION, SAVEGAME_REVISION, VERSION, (int)sizeof(tux_t), (int)sizeof(enemy), (int)sizeof(bullet));
|
|
- autostr_append(strout, "BUILD_CFLAGS: %s\n", BUILD_CFLAGS);
|
|
- autostr_append(strout, "BUILD_LDFLAGS: %s\n", BUILD_LDFLAGS);
|
|
+ autostr_append(strout, "BUILD_CFLAGS: %s\n", "<hidden>");
|
|
+ autostr_append(strout, "BUILD_LDFLAGS: %s\n", "<hidden>");
|
|
autostr_append(strout, "VERSION: %s\n", freedroid_version);
|
|
autostr_append(strout, "--]]\n");
|
|
|