about summary refs log tree commit diff
path: root/pkgs/applications/audio/snd
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-01-18 12:36:56 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-01-18 12:36:56 +0000
commitbc46eaf4047f4cfd3152f3748f114b8743ed4faf (patch)
tree4ba6055a35af6b96427cd5b2186108f8a3551d9c /pkgs/applications/audio/snd
parenta5e0e39cdb575a38216a2a0e9ee25eae5bb05397 (diff)
Some review of builder-defs and dependent files. No rebuild needed. Now it should be possible to override elements in builderDefs
svn path=/nixpkgs/trunk/; revision=10214
Diffstat (limited to 'pkgs/applications/audio/snd')
-rw-r--r--pkgs/applications/audio/snd/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/audio/snd/default.nix b/pkgs/applications/audio/snd/default.nix
index 9a650570a6d2f..961d82fb88935 100644
--- a/pkgs/applications/audio/snd/default.nix
+++ b/pkgs/applications/audio/snd/default.nix
@@ -1,5 +1,5 @@
 args : with args;
-	with builderDefs {
+	let localDefs = builderDefs {
 		src = 
 	fetchurl {
 		url = ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-9.4.tar.gz;
@@ -20,6 +20,7 @@ args : with args;
 			++ (lib.optional (args ? sndlib) "--with-midi" )
 			;
 	} null; /* null is a terminator for sumArgs */
+	in with localDefs;
 	let preBuild = FullDepEntry ("
 		cp config.log /tmp/snd-config.log
 	") [minInit doUnpack];
@@ -27,7 +28,7 @@ in
 stdenv.mkDerivation rec {
 	name = "Snd-9.4";
 	builder = writeScript (name + "-builder")
-		(textClosure [doConfigure preBuild doMakeInstall doForceShare]);
+		(textClosure localDefs [doConfigure preBuild doMakeInstall doForceShare]);
 	meta = {
 		description = "
 		Snd sound editor.