nixpkgs/pkgs/misc/sane-backends/builder.sh

13 lines
230 B
Bash
Raw Normal View History

source $stdenv/setup
postInstall() {
if test "$udevSupport" = "1" ; then
ensureDir $out/etc/udev/rules.d/
cp tools/udev/libsane.rules $out/etc/udev/rules.d/60-libsane.rules
fi
}
postInstall=postInstall
genericBuild