diff options
Diffstat (limited to 'blog.org')
-rw-r--r-- | blog.org | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -495,9 +495,9 @@ $ ~/my-repo :: git log --pretty=oneline moreover, this state is extremely fragile. if we try to add a new file to the directory, even if it's not read from the nix expression, it will invalidate the cache, because it will generate a different store path, and the git tree isn't clean anymore. #+begin_src sh -[larissa] ~/my-repo :: touch newfile -[larissa] ~/my-repo :: git add newfile -[larissa] ~/my-repo :: time nix build ./a/b/c +$ ~/my-repo :: touch newfile +$ ~/my-repo :: git add newfile +$ ~/my-repo :: time nix build ./a/b/c warning: Git tree '/home/leonardo/my-repo' is dirty real 0m0,885s |