remove some assertions
svn path=/nixpkgs/trunk/; revision=4634
This commit is contained in:
parent
3ce62c7a5e
commit
13398fe348
@ -1,14 +1,13 @@
|
|||||||
{stdenv, fetchurl, hotplug ? null, hotplugSupport ? false}:
|
{stdenv, fetchurl, hotplugSupport ? false}:
|
||||||
|
|
||||||
assert hotplugSupport -> hotplug != null;
|
|
||||||
assert hotplugSupport -> stdenv.system == "i686-linux";
|
assert hotplugSupport -> stdenv.system == "i686-linux";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "sane-backends-1.0.17";
|
name = "sane-backends-1.0.17";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
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";
|
md5 = "b51c10da8a81a04e1bae88c9e6556df2";
|
||||||
};
|
};
|
||||||
inherit (if hotplugSupport then hotplug else null);
|
inherit hotplugSupport;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user