Reword
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Michael Zhang 2023-04-20 14:25:51 -05:00
parent 60b97648da
commit 535c3dca9f
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B

View file

@ -119,8 +119,8 @@ the directory the file is in, not just the current one. This way if you `cd`
somewhere within your project hierarchy, you're not losing all the shell hook somewhere within your project hierarchy, you're not losing all the shell hook
behavior. behavior.
We can use this by moving the dev flake into the parent directory instead. So We can use this by moving the git repo _into_ the dev flake instead. So now the
now the project structure should look a bit more like this: project structure should look a bit more like this:
``` ```
  project-dev-flake   project-dev-flake
@ -130,11 +130,12 @@ now the project structure should look a bit more like this:
 flake.nix  flake.nix
``` ```
Remember, since you moved the `.envrc` file, you will need to run `direnv allow` > Remember, since you moved the `.envrc` file, you will need to run `direnv
again. Depending on how you moved it, you might also need to change the path you > allow` again. Depending on how you moved it, you might also need to change the
wrote in the `use flake` command. But with this setup, the `project` directory > path you wrote in the `use flake` command.
can contain a clean clone of upstream and your flake files will create the
appropriate environment. With this setup, the `project` directory can contain a clean clone of upstream
and your flake files will create the appropriate environment.
This _does_ create an extra layer of directory nesting, but except for copying This _does_ create an extra layer of directory nesting, but except for copying
longer paths, it really doesn't hurt my workflow. I use [autojump], which longer paths, it really doesn't hurt my workflow. I use [autojump], which