1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 14:28:24 +01:00

1 Commits

Author SHA1 Message Date
aszlig
e5dc3dc6ef
Add a default.nix for building with Nix.
This is roughly based on my version at:

667735efe0/pkgs/tomahawk/default.nix

Unlinke over there, we don't hardcode a specific version and instead
invoke cmake to get the current version. Also, I've stripped out
meta.maintainers, as it it is only relevant for nixpkgs.

With this, building Tomahawk from latest Git is just a matter of cloning
this repository and doing a nix-build from the source root directory.

If you want to set specific flags, you can do something like:

nix-build --arg enableKDE true

After the build, you have a "result" symlink pointing to your shiny new
build of Tomahawk.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-04-11 07:53:58 +02:00