diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2008-01-30 17:20:48 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2008-01-30 17:20:48 +0000 |
commit | 5bca69ac34e4b9aaa233aef75396830f42b2d3d7 (patch) | |
tree | 8d9c956fd7dcf0a68c46db61ded970e81a98736b /pkgs/development/libraries/openexr_ctl/default.nix | |
parent | f831e0420a6b17799bec42fdaaee2f11d8794ff8 (diff) | |
download | nixpkgs-5bca69ac34e4b9aaa233aef75396830f42b2d3d7.tar nixpkgs-5bca69ac34e4b9aaa233aef75396830f42b2d3d7.tar.gz nixpkgs-5bca69ac34e4b9aaa233aef75396830f42b2d3d7.tar.bz2 nixpkgs-5bca69ac34e4b9aaa233aef75396830f42b2d3d7.tar.lz nixpkgs-5bca69ac34e4b9aaa233aef75396830f42b2d3d7.tar.xz nixpkgs-5bca69ac34e4b9aaa233aef75396830f42b2d3d7.tar.zst nixpkgs-5bca69ac34e4b9aaa233aef75396830f42b2d3d7.zip |
Nix-expr style review
Unneded args.something replaced with args: with args; line. After this line args is the only place where we can recieve variables from. Also removed several buildInputs = []; lines. svn path=/nixpkgs/trunk/; revision=10415
Diffstat (limited to 'pkgs/development/libraries/openexr_ctl/default.nix')
-rw-r--r-- | pkgs/development/libraries/openexr_ctl/default.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/libraries/openexr_ctl/default.nix b/pkgs/development/libraries/openexr_ctl/default.nix index 634a38990cb..288067a4bf2 100644 --- a/pkgs/development/libraries/openexr_ctl/default.nix +++ b/pkgs/development/libraries/openexr_ctl/default.nix @@ -1,17 +1,17 @@ -args: -args.stdenv.mkDerivation { +args: with args; +stdenv.mkDerivation { name = "openexr_ctl-1.0.1"; - src = args.fetchurl { + src = fetchurl { url = http://kent.dl.sourceforge.net/sourceforge/ampasctl/openexr_ctl-1.0.1.tar.gz; sha256 = "1jg9smpaplal8l14djp184wzk11nwd3dvm4lhkp69kjgw8jdd21d"; }; - propagatedBuildInputs = (with args; [ilmbase]); - buildInputs = ( with args; [openexr ctl]); - configureFlags="--with-ilmbase-prefix=${args.ilmbase}"; + propagatedBuildInputs = [ilmbase]; + buildInputs = [openexr ctl]; + configureFlags="--with-ilmbase-prefix=${ilmbase}"; #configurePhase = " - #export CXXFLAGS=\"-I${args.ilmbase}/include -L${args.ilmbase}/lib\" + #export CXXFLAGS=\"-I${ilmbase}/include -L${ilmbase}/lib\" #echo $CXXFLAGS #unset configurePhase; configurePhase #"; |