sane: tidy-up, wrap expression arguments

This commit is contained in:
Cillian de Róiste 2013-11-09 14:35:35 +01:00
parent 46646feb17
commit b5bac4c7a4
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,6 @@
{ stdenv, fetchurl, fetchgit, hotplugSupport ? true, libusb ? null, gt68xxFirmware ? null, snapscanFirmware ? null }:
{ stdenv, fetchurl, fetchgit, hotplugSupport ? true, libusb ? null
, gt68xxFirmware ? null, snapscanFirmware ? null
}:
let
firmware = gt68xxFirmware { inherit fetchurl; };
in

View file

@ -1,4 +1,6 @@
{ stdenv, fetchurl, hotplugSupport ? true, libusb ? null, libv4l ? null, pkgconfig ? null , gt68xxFirmware ? null , snapscanFirmware ? null }:
{ stdenv, fetchurl, hotplugSupport ? true, libusb ? null, libv4l ? null
, pkgconfig ? null, gt68xxFirmware ? null, snapscanFirmware ? null
}:
assert hotplugSupport -> (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux");