aboutsummaryrefslogtreecommitdiff
path: root/.this-is-lix
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-06-24 13:37:41 -0700
committerJade Lovelace <lix@jade.fyi>2024-06-24 13:41:38 -0700
commitd5637ee790799ffa00bcaa3067bb6940b6cbad16 (patch)
tree9caf65927a09f7f07d781f0ac0e062cc8b8ccc18 /.this-is-lix
parenteb5de71adc7d376036dbf5c526300e8d20d2794e (diff)
devShell: guard against running from another directory
I was working on nix-eval-jobs with a dev shell with some shenanigans to run against a locally built Lix and it was getting really annoying when `nix develop ../lix#` was messing up my other git repo's hooks. This is a fix via blunt force, but it is at least obvious how it works. Change-Id: Ia29eeb5be57ab6a2c88451c00ea18a51e4dfe65e
Diffstat (limited to '.this-is-lix')
-rw-r--r--.this-is-lix1
1 files changed, 1 insertions, 0 deletions
diff --git a/.this-is-lix b/.this-is-lix
new file mode 100644
index 000000000..b7ad8ef98
--- /dev/null
+++ b/.this-is-lix
@@ -0,0 +1 @@
+This is a file used by the dev shell shellHook in package.nix to check that this is actually a Lix repo before installing git hooks. Its contents have no meaning.