diff options
author | Florian Paul Schmidt <mista.tapas@gmx.net> | 2015-10-15 15:01:35 +0200 |
---|---|---|
committer | Florian Paul Schmidt <mista.tapas@gmx.net> | 2015-10-15 15:01:35 +0200 |
commit | a8113e2c8c3c522e3a35d75c278c582cac444ddb (patch) | |
tree | be34312e3ad1631a0e70cff45d281f20cfcd19c5 /pkgs/applications/audio/ardour | |
parent | 729098633ca718c960bc01d2bccb29950f2ffa88 (diff) |
ardour: add a clarifying comment to patchPhase
Diffstat (limited to 'pkgs/applications/audio/ardour')
-rw-r--r-- | pkgs/applications/audio/ardour/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/audio/ardour/default.nix b/pkgs/applications/audio/ardour/default.nix index a9f699a04cd05..c9075220cd6b8 100644 --- a/pkgs/applications/audio/ardour/default.nix +++ b/pkgs/applications/audio/ardour/default.nix @@ -37,6 +37,9 @@ stdenv.mkDerivation rec { makeWrapper pango perl pkgconfig python rubberband serd sord-svn sratom suil taglib vampSDK ]; + # ardour's wscript has a "tarball" target but that required the git revision + # be available. Since this is an unzipped tarball fetched from github we + # have to do that ourself. patchPhase = '' printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = \"${tag}-${builtins.substring 0 8 src.rev}\"; }\n' > libs/ardour/revision.cc sed 's|/usr/include/libintl.h|${glibc}/include/libintl.h|' -i wscript |