fixing the default.nix

This commit is contained in:
Chris Cochrun 2022-11-21 06:38:56 -06:00
parent 6fc15c6f47
commit 193254e1ba

View file

@ -93,18 +93,14 @@ stdenv.mkDerivation rec {
# ''; # '';
configurePhase = '' # buildPhase = ''
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ . # rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
''; # '';
buildPhase = ''
make --dir build/
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp -r build/bin/* $out/bin cp -r bin/* $out/bin
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
''; '';
meta = with lib; { meta = with lib; {