From 13398fe348ec313b2ccc279b96e8c3c8e34f2187 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Tue, 31 Jan 2006 13:01:58 +0000 Subject: [PATCH] remove some assertions svn path=/nixpkgs/trunk/; revision=4634 --- pkgs/misc/sane-backends/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/sane-backends/default.nix b/pkgs/misc/sane-backends/default.nix index 425a6e93e52..5b83a13eb38 100644 --- a/pkgs/misc/sane-backends/default.nix +++ b/pkgs/misc/sane-backends/default.nix @@ -1,14 +1,13 @@ -{stdenv, fetchurl, hotplug ? null, hotplugSupport ? false}: +{stdenv, fetchurl, hotplugSupport ? false}: -assert hotplugSupport -> hotplug != null; assert hotplugSupport -> stdenv.system == "i686-linux"; stdenv.mkDerivation { name = "sane-backends-1.0.17"; builder = ./builder.sh; src = fetchurl { - url = http://nix.cs.uu.nl/dist/tarballs/sane-backends-1.0.17.tar.gz; + url = ftp://ftp3.sane-project.org/pub/sane/sane-backends-1.0.17/sane-backends-1.0.17.tar.gz; md5 = "b51c10da8a81a04e1bae88c9e6556df2"; }; - inherit (if hotplugSupport then hotplug else null); + inherit hotplugSupport; }