diff options
author | Cillian de Róiste <goibhniu@fsfe.org> | 2013-11-09 14:35:35 +0100 |
---|---|---|
committer | Cillian de Róiste <goibhniu@fsfe.org> | 2013-11-09 15:03:12 +0100 |
commit | b5bac4c7a4de0209cd4f704ddf23d88adf0b599a (patch) | |
tree | 23c4eb92b4168826f7813df6e127a0d0833788ab /pkgs/applications | |
parent | 46646feb17e33bf65ea38830260577277fd4090d (diff) | |
download | nixlib-b5bac4c7a4de0209cd4f704ddf23d88adf0b599a.tar nixlib-b5bac4c7a4de0209cd4f704ddf23d88adf0b599a.tar.gz nixlib-b5bac4c7a4de0209cd4f704ddf23d88adf0b599a.tar.bz2 nixlib-b5bac4c7a4de0209cd4f704ddf23d88adf0b599a.tar.lz nixlib-b5bac4c7a4de0209cd4f704ddf23d88adf0b599a.tar.xz nixlib-b5bac4c7a4de0209cd4f704ddf23d88adf0b599a.tar.zst nixlib-b5bac4c7a4de0209cd4f704ddf23d88adf0b599a.zip |
sane: tidy-up, wrap expression arguments
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/graphics/sane/backends-git.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/graphics/sane/backends.nix | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/sane/backends-git.nix b/pkgs/applications/graphics/sane/backends-git.nix index 0892933566de..7ba6e1756ba0 100644 --- a/pkgs/applications/graphics/sane/backends-git.nix +++ b/pkgs/applications/graphics/sane/backends-git.nix @@ -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 diff --git a/pkgs/applications/graphics/sane/backends.nix b/pkgs/applications/graphics/sane/backends.nix index acb4ab12d4dd..eaf1c3b725f0 100644 --- a/pkgs/applications/graphics/sane/backends.nix +++ b/pkgs/applications/graphics/sane/backends.nix @@ -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"); |