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

Poetry2nixify #10

Merged
merged 4 commits into from
May 29, 2020
Merged

Poetry2nixify #10

merged 4 commits into from
May 29, 2020

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Apr 3, 2020

I couldn't actually get it to work because my libvirtd wasn't easy to set up. Maybe someone else can test it.

testing steps:

clone, check out the PR
nix-shell
poetry install
poetry shell
nixops create -d test tests/functional/....nix
nixops deploy -d test

... make sure it works :P

@mmilata
Copy link

mmilata commented Apr 3, 2020

Followed the testing steps and encountered no error. Looks good!


[tool.poetry.dependencies]
python = "^3.7"
nixops = {git = "https://github.com/adisbladis/nixops.git", rev = "poetry2nix-plugins"}
Copy link
Member Author

Choose a reason for hiding this comment

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

Update after merging NixOS/nixops#1256

Copy link
Member Author

Choose a reason for hiding this comment

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

change this to nixos/nixops.git rev = "master"

@jhillyerd
Copy link
Contributor

These steps are working for me.

@mgdm
Copy link

mgdm commented May 3, 2020

This works for me too

@jhillyerd
Copy link
Contributor

@grahamc give these steps a try: https://gist.github.com/jhillyerd/38dd7fe1492b713c64686055c910dfa7

I forgot I had written https://github.com/nix-community/nixops-libvirtd/pull/15/files - but after experimenting last night I've determined the main thing missing is the storage pool for root, not a particular user, so it needs to be updated. So I've flipped that to draft for now.

@adisbladis adisbladis merged commit c5befa8 into master May 29, 2020
@grahamc grahamc deleted the poetry2nixify branch June 1, 2020 15:00
@typetetris
Copy link

How can I provide a nixops with the loaded plugin as an application? I don't want my colleagues to have to follow the above steps every time, they use nixops.

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.

6 participants