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

error: attribute 'services' missing #275

Open
milahu opened this issue Aug 30, 2022 · 0 comments
Open

error: attribute 'services' missing #275

milahu opened this issue Aug 30, 2022 · 0 comments

Comments

@milahu
Copy link
Contributor

milahu commented Aug 30, 2022

cd nix-gui
nix develop
cd nixui
p=/nix/store/ip17r412b9by9nwb0ri0avrzhvv49ajc-source
export NIX_PATH=$p:nixpkgs=$p:nixos-config=$(readlink -f tests/sample/configuration.nix)
pytest -svv tests/test_api.py::test_get_option_tree
E               nixui.options.nix_eval.NixEvalError: NixEvalError("""
E               error: attribute 'services' missing
E               
E                      at /tmp/nix-gui/nixui/tests/sample/configuration.nix:95:25:
E               
E                          94|         # test getting config
E                          95|         echo ${toString config.services.nix-serve.port}
E                            |                         ^
E                          96|       '';
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

1 participant