Skip to content

Commit 9a8a095

Browse files
Fix package file path in spack_exercise.md (#246)
Updated the path for the package file location in Note 2. The previous path was working for an older Spack version but more recent versions use a new path.
1 parent d9fc8f9 commit 9a8a095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03_building_and_packaging/spack_exercise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Please do all the development inside a Docker container. The Docker container is
4141

4242
**Note 1**: When specifying the URL to the software, you need to use the URL of the original repository name [`spack-exercise`](https://github.com/Simulation-Software-Engineering/spack-exercise). Sometimes the versions are not correctly detected from the original repository name. In case this happens, use the URL of one version, for example [v0.1.0](https://github.com/Simulation-Software-Engineering/spack-exercise/releases/tag/v0.1.0) of the original repository. Spack will then detect the respective version. To add more versions, change the URL accordingly. Packaging the code from your fork will fail because the releases are forked only partially. In your fork the archives, i.e., the `zip` and `tar.gz` files, will be missing.
4343

44-
**Note 2**: Spack will open the created package file automatically in an editor. If you want to use a different editor or want to edit the package later, you can find the package file in `${HOME}/spack/var/spack/repos/builtin/packages/spack-exercise/package.py` (inside the container).
44+
**Note 2**: Spack will open the created package file automatically in an editor. If you want to use a different editor or want to edit the package later, you can find the package file in `${HOME}/.spack/package_repos/fncqgg4/repos/spack_repo/builtin/packages/spack_exercise$` (inside the container).
4545

4646
- Verify that the class name of the package is `SpackExercise`.
4747
- Verify that all three releases are listed.

0 commit comments

Comments
 (0)