mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-01 15:14:37 +02:00
fix(nix): only create compile_commands.json if it doesn't exist
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
32b49ecb84
commit
58579539d0
@ -105,8 +105,10 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
cmake $cmakeFlags -D CMAKE_BUILD_TYPE=Debug
|
if [ ! -f compile_commands.json ]; then
|
||||||
ln -s {build/,}compile_commands.json
|
cmake $cmakeFlags -D CMAKE_BUILD_TYPE=Debug
|
||||||
|
ln -s {build/,}compile_commands.json
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user