Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting started example not working #36

Open
segator opened this issue Oct 3, 2023 · 2 comments
Open

getting started example not working #36

segator opened this issue Oct 3, 2023 · 2 comments

Comments

@segator
Copy link

segator commented Oct 3, 2023

the example in makes page fails :(
m github:fluidattacks/makes-example@main

this derivation will be built:
  /nix/store/118d5m6azm08j65f4152krvc04lssv8i-config.json.drv
building '/nix/store/118d5m6azm08j65f4152krvc04lssv8i-config.json.drv'...
/nix/store/r23xy6nkc86zlaq1y0p1s9wk731rx522-config.json
Traceback (most recent call last):
  File "/nix/store/jaxaqynsvz0jlcv0wjsc0fmz6awi9dqv-src/src/cli/main/__main__.py", line 7, in <module>
    main(sys.argv)
  File "/nix/store/jaxaqynsvz0jlcv0wjsc0fmz6awi9dqv-src/src/cli/main/cli.py", line 786, in main
    cli(args)
  File "/nix/store/jaxaqynsvz0jlcv0wjsc0fmz6awi9dqv-src/src/cli/main/cli.py", line 576, in cli
    args, attr = _cli_get_args_and_attr(args, config.attrs, src)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/jaxaqynsvz0jlcv0wjsc0fmz6awi9dqv-src/src/cli/main/cli.py", line 601, in _cli_get_args_and_attr
    args = [*args[0:2], *_help_picking_attr(src, attrs)]
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/jaxaqynsvz0jlcv0wjsc0fmz6awi9dqv-src/src/cli/main/cli.py", line 546, in _help_picking_attr
    TextUserInterface.run(
TypeError: App.run() got an unexpected keyword argument 'attrs'
@dsalaza4
Copy link
Contributor

dsalaza4 commented Nov 8, 2023

Hi @segator,

We will be updating the entire repo soon and let you know.

This is most likely caused by a breaking change introduced in one of the latest releases of Makes.

@rohaquinlop
Copy link
Collaborator

Hey @segator it seems that the error has already been solved.

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

No branches or pull requests

3 participants