mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
commandergenius: fix cmakeFlags and makeFlags for __structuredAttrs
This commit is contained in:
parent
263be5c851
commit
2d66a0bf73
@ -28,10 +28,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf libGL boost libvorbis zlib curl python3 ];
|
||||
|
||||
preConfigure = ''
|
||||
export cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_PREFIX=$out -DSHAREDIR=$out/share"
|
||||
export makeFlags="$makeFlags DESTDIR=$(out)"
|
||||
'';
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}"
|
||||
"-DSHAREDIR=${placeholder "out"}/share"
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"DESTDIR=${placeholder "out"}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user