libraspberrypi: fix output
libraspberrypi provided an empty directory. The during
https://github.com/NixOS/nixpkgs/pull/107637, this was refactored to use
cmakeFlags.
cmakeFlags can't use `$out` directly. `$out` is a bash variable, so to
use it there, `${placeholder "out"}` is needed, otherwise it'll
pick `"$out"` literally.
commitce709163f2df2de0fa8691add5acdecc440d126c
authorFlorian Klink <flokli@flokli.de>
dateMon 28 Dec 2020, 16:49 (6 years ago)
parent3f87066
pkgs/development/libraries/libraspberrypi/default.nix+1−1
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 nativeBuildInputs = [ cmake pkg-config ];
2828 cmakeFlags = [
2929 (if (stdenv.hostPlatform.isAarch64) then "-DARM64=ON" else "-DARM64=OFF")
30− "-DVMCS_INSTALL_PREFIX=$out"
30+ "-DVMCS_INSTALL_PREFIX=${placeholder "out"}"
3131 ];
3232
3333 meta = with stdenv.lib; {