teeworlds: cmake instead of bam, oh joy! cleanup #77842
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Looks like teeworlds offers cmake support
and since it is mentioned first in their README
I gave it a go and ... 馃榿 馃帀
This fixes long-standing issues I've had building teeworlds
with more exotic compilers
(including clang? but havne't tried it using nixpkgs-master lately...)
and makes it possible to greatly simplify the expression
with all the same files installed AFAICT.
I noticed bam now has no consumers in-tree,
but I'm content letting it sit there (and maybe bitrot if untested)
as long as it doesn't make things too awkward when we're hanging
and it sees teeworlds expression happier and healthier than ever before
and while that truly brings joy it hurts and is a constant reminder of
its mistakes and weaknesses and what could have been ....
well so I think we can maybe hold off on evicting it for now.
That seems kinda cruel. Likely teeworlds wouldn't be what it is today
if not for all bam has done for it.
Okay anyway >> <<.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)I've only tested the client?
And now that there's a build system we're familiar with... if anyone's
curious we might have some options to poke at.
(sorry bam ;3)