Skip to content

fix: spack config get output#474

Merged
alecbcs merged 1 commit intospack:mainfrom
cmelone:cmelone/fix-env-config-get-output
Aug 4, 2025
Merged

fix: spack config get output#474
alecbcs merged 1 commit intospack:mainfrom
cmelone:cmelone/fix-env-config-get-output

Conversation

@cmelone
Copy link
Copy Markdown
Member

@cmelone cmelone commented Aug 4, 2025

previous output:

$ spack config get | head -12
# This is a Spack Environment file.
#
# It describes a set of packages to be installed, along with
# configuration settings.
spack:
  # add package specs to the `specs` list
  specs:
  - tcl
  - trilinos
  view: true
  concretizer:
    unify: true
==> Error: cannot dump Spack YAML configuration
[Errno 32] Broken pipe
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

This PR cats the environment configuration directly from the spack.yaml file

Copy link
Copy Markdown
Member

@alecbcs alecbcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@alecbcs alecbcs merged commit a38f43c into spack:main Aug 4, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants