sane: tidy-up, wrap expression arguments
This commit is contained in:
parent
46646feb17
commit
b5bac4c7a4
@ -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
|
let
|
||||||
firmware = gt68xxFirmware { inherit fetchurl; };
|
firmware = gt68xxFirmware { inherit fetchurl; };
|
||||||
in
|
in
|
||||||
|
@ -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");
|
assert hotplugSupport -> (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user