summary refs log tree commit diff
path: root/pkgs/applications/audio/ardour
diff options
context:
space:
mode:
authorFlorian Paul Schmidt <mista.tapas@gmx.net>2015-10-15 15:01:35 +0200
committerFlorian Paul Schmidt <mista.tapas@gmx.net>2015-10-15 15:01:35 +0200
commita8113e2c8c3c522e3a35d75c278c582cac444ddb (patch)
treebe34312e3ad1631a0e70cff45d281f20cfcd19c5 /pkgs/applications/audio/ardour
parent729098633ca718c960bc01d2bccb29950f2ffa88 (diff)
downloadnixpkgs-a8113e2c8c3c522e3a35d75c278c582cac444ddb.tar
nixpkgs-a8113e2c8c3c522e3a35d75c278c582cac444ddb.tar.gz
nixpkgs-a8113e2c8c3c522e3a35d75c278c582cac444ddb.tar.bz2
nixpkgs-a8113e2c8c3c522e3a35d75c278c582cac444ddb.tar.lz
nixpkgs-a8113e2c8c3c522e3a35d75c278c582cac444ddb.tar.xz
nixpkgs-a8113e2c8c3c522e3a35d75c278c582cac444ddb.tar.zst
nixpkgs-a8113e2c8c3c522e3a35d75c278c582cac444ddb.zip
ardour: add a clarifying comment to patchPhase
Diffstat (limited to 'pkgs/applications/audio/ardour')
-rw-r--r--pkgs/applications/audio/ardour/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/audio/ardour/default.nix b/pkgs/applications/audio/ardour/default.nix
index a9f699a04cd..c9075220cd6 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