summary refs log tree commit diff
path: root/pkgs/applications/graphics/sane/xsane.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-28 19:54:15 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-28 19:54:15 +0100
commit84779a6f7da93bd6325f478c62c82cc0a1a2e341 (patch)
tree554971a930d84656bb952ba0f9a328ef08e70c72 /pkgs/applications/graphics/sane/xsane.nix
parente2d505b24e50e16e3634478d565c7c9988b1d90f (diff)
downloadnixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar
nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.gz
nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.bz2
nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.lz
nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.xz
nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.tar.zst
nixpkgs-84779a6f7da93bd6325f478c62c82cc0a1a2e341.zip
Remove unnecessary parentheses around if conditions
Pet peeve...
Diffstat (limited to 'pkgs/applications/graphics/sane/xsane.nix')
-rw-r--r--pkgs/applications/graphics/sane/xsane.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/sane/xsane.nix b/pkgs/applications/graphics/sane/xsane.nix
index c4fdf3a0044..de8d4c33652 100644
--- a/pkgs/applications/graphics/sane/xsane.nix
+++ b/pkgs/applications/graphics/sane/xsane.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
   '';
 
   buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ] ++
-	(if (libusb != null) then [libusb] else []);
+	(if libusb != null then [libusb] else []);
 
   meta = {
     homepage = http://www.sane-project.org/;