summary refs log tree commit diff
path: root/pkgs/development/libraries/fftw
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/development/libraries/fftw
parenta5e0e39cdb575a38216a2a0e9ee25eae5bb05397 (diff)
downloadnixpkgs-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar
nixpkgs-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.gz
nixpkgs-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.bz2
nixpkgs-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.lz
nixpkgs-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.xz
nixpkgs-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.tar.zst
nixpkgs-bc46eaf4047f4cfd3152f3748f114b8743ed4faf.zip
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/development/libraries/fftw')
-rw-r--r--pkgs/development/libraries/fftw/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/fftw/default.nix b/pkgs/development/libraries/fftw/default.nix
index 3f712544303..3f5d13b09fb 100644
--- a/pkgs/development/libraries/fftw/default.nix
+++ b/pkgs/development/libraries/fftw/default.nix
@@ -1,5 +1,5 @@
 args : with args;
-	with builderDefs {
+	let localDefs = builderDefs { 
 		src = 
 			fetchurl {
 				url = ftp://ftp.fftw.org/pub/fftw/fftw-3.1.2.tar.gz;
@@ -8,10 +8,11 @@ args : with args;
 		buildInputs = [];
 		configureFlags = ["--enable-float --enable-shared"];
 	} null;
+	in with localDefs;
 stdenv.mkDerivation {
 	name = "fftw-3.1.2";
 	builder = writeScript "fftw-3.1.2-builder"
-		(textClosure [doConfigure doMakeInstall doForceShare]);
+		(textClosure localDefs [doConfigure doMakeInstall doForceShare]);
 	meta = {
 		description = "
 	Fastest Fourier Transform in the West library.