nix: make package derivation patchable (#378)

* internal/nix: add .direnv to gitignore

* nix: make package patchable
This commit is contained in:
anders130 2025-08-09 05:47:43 +02:00 committed by GitHub
parent 0b094f236e
commit a14430e759
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.direnv
/result
/.qmlls.ini

View file

@ -80,11 +80,15 @@ in
installPhase = ''
install -Dm755 bin/beat_detector $out/bin/beat_detector
mkdir -p $out/share/caelestia-shell
cp -r ./* $out/share/caelestia-shell
makeWrapper ${quickshell}/bin/qs $out/bin/caelestia-shell \
--prefix PATH : "${lib.makeBinPath runtimeDeps}" \
--set FONTCONFIG_FILE "${fontconfig}" \
--set CAELESTIA_BD_PATH $out/bin/beat_detector \
--add-flags '-p ${./.}'
--add-flags "-p $out/share/caelestia-shell"
'';
meta = {