devShells: null out src to avoid nix develop rebuild

Whenever src changed, nix develop would internally create a fresh
derivation, which it has to try and substitute and then build.
Let's not do that.
This commit is contained in:
Robert Hensing 2024-04-18 23:45:00 +02:00
parent 96c8a9a417
commit a3ff75fd7e

View file

@ -441,6 +441,9 @@
XDG_DATA_DIRS+=:$out/share
'';
# We use this shell with the local checkout, not unpackPhase.
src = null;
env = {
# For `make format`, to work without installing pre-commit
_NIX_PRE_COMMIT_HOOKS_CONFIG =