forked from mirrors/nixpkgs
bridge-utils: Fail if brctl is not built
This commit is contained in:
parent
2885cf525a
commit
ec453f984e
|
@ -15,6 +15,13 @@ stdenv.mkDerivation {
|
|||
|
||||
preConfigure = "autoreconf";
|
||||
|
||||
postInstall = ''
|
||||
# The bridge utils build does not fail even if the brctl binary
|
||||
# is not build. This test ensures that we fail if we don't produce a brctl
|
||||
# binary.
|
||||
test -f $out/sbin/brctl
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "http://sourceforge.net/projects/bridge/";
|
||||
homepage = [ "http://www.linux-foundation.org/en/Net:Bridge/" "http://sourceforge.net/projects/bridge/" ];
|
||||
|
|
Loading…
Reference in a new issue