firefox, thunderbird: conditional search file#5970
firefox, thunderbird: conditional search file#5970rycee merged 3 commits intonix-community:masterfrom
Conversation
|
I can try and add a test for this scenario, too. Just wanted to unblock my flake building. |
|
Alright, added a test to firefox for the shared path. Verified it throws error without the change and with the change the test passes. |
|
Looks like unrelated test failure due to recent neovim PR
|
|
Rebased and should be good now. |
Used to make sure that profiles that share a common generated path still build properly.
|
Thanks! Merged to master now 🙂 |
|
thanks for the fix.
It's annoying that the tests are not run against the flake nixpkgs, it means we cant provide lockstep updates and any nixos-unstable bump can break HM's CI/configs |
Description
When using multiple profiles that share the same path we still try to evaluate the file even when search customization isn't enabled.
Follow up to #5697 (comment) to only evaluate when the profile wants a search.json.mozlz4 file generated.
Checklist
Change is backwards compatible.
Code formatted with
./format.Code tested through
nix-shell --pure tests -A run.allornix develop --ignore-environment .#allusing Flakes.Test cases updated/added. See example.
Commit messages are formatted like
See CONTRIBUTING for more information and recent commit messages for examples.
If this PR adds a new module
Maintainer CC
@teto @rycee @kira-bruneau