crda: use PREFIX instead of DESTDIR
Otherwise, `$out/lib/udev/rules.d/85-regulatory.rules` will still refer to a non-existent `/sbin/crda`.
This commit is contained in:
parent
f50a719a4d
commit
330b89c68b
|
@ -23,8 +23,9 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
makeFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
"PREFIX="
|
||||
"PREFIX=$(out)"
|
||||
"SBINDIR=$(out)/bin/"
|
||||
"UDEV_RULE_DIR=$(out)/lib/udev/rules.d/"
|
||||
"REG_BIN=${wireless-regdb}/lib/crda/regulatory.bin"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue