dump1090: fix html path

Use correct variable syntax for GNU Make so that HTML resources
can be found when running `dump1090 --net`. Additionally, add
view1090 binary to output.
This commit is contained in:
Luke Sandell 2017-12-31 14:57:44 -06:00 committed by Bjørn Forsman
parent 4e63119c54
commit 4de7e5cae0

View file

@ -15,11 +15,11 @@ stdenv.mkDerivation rec {
buildInputs = [ libusb rtl-sdr ];
makeFlags = [ "PREFIX=$out" ];
makeFlags = [ "PREFIX=$(out)" ];
installPhase = ''
mkdir -p $out/bin $out/share
cp -v dump1090 $out/bin/dump1090
cp -v dump1090 view1090 $out/bin
cp -vr public_html $out/share/dump1090
'';