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
Update: I've opened an upstream issue regarding the build problems with the previous GYP approach: telegramdesktop/tdesktop#7001.-> The GYP approach is now deprecated.Unfortunately quite a few things changed and the build still fails :oI cannot finish this ATM, help is very welcome if someone has time for it :)
Feel free to modify/reuse my commit, open a new PR, etc.
The build should work now.
Current PKGBUILD file from Arch (reference): https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/telegram-desktop
Upstream build instructions (unfortunately a complete mess :o):
https://github.com/telegramdesktop/tdesktop/blob/dev/docs/building-cmake.md
Rejected PR for the build errors with the GYP approach:telegramdesktop/tdesktop#6920 (mentioned build instruction updates: telegramdesktop/tdesktop@3b562bf).
Relevant Arch package changes (our version is based on the Arch package, mainly for the patches, but we also require some additional changes):
(Edit: Seems like I missed the opportunity to open this as a draft PR... :o)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)