mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
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:
parent
96c8a9a417
commit
a3ff75fd7e
1 changed files with 3 additions and 0 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue