fixing the default.nix
This commit is contained in:
parent
6fc15c6f47
commit
193254e1ba
1 changed files with 5 additions and 9 deletions
14
default.nix
14
default.nix
|
@ -93,18 +93,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# '';
|
||||
|
||||
configurePhase = ''
|
||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ .
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make --dir build/
|
||||
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
|
||||
'';
|
||||
# buildPhase = ''
|
||||
# rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
|
||||
# '';
|
||||
|
||||
installPhase = ''
|
||||
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; {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue