-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
netbox-reorder-rack: init at 1.0.0 #311657
netbox-reorder-rack: init at 1.0.0 #311657
Conversation
pkgs/development/python-modules/netbox-reorder-rack/default.nix
Outdated
Show resolved
Hide resolved
bc964dd
to
aa6a1f8
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4032 |
pkgs/development/python-modules/netbox-reorder-rack/default.nix
Outdated
Show resolved
Hide resolved
export PYTHONPATH=${netbox}/opt/netbox/netbox:$PYTHONPATH | ||
''; | ||
|
||
dontUsePythonImportsCheck = python.pythonVersion != netbox.pythonVersion; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dontUsePythonImportsCheck = python.pythonVersion != netbox.pythonVersion; | |
dontUsePythonImportsCheck = python.pythonVersion != netbox.python.pythonVersion; |
Why not build netbox with the correct python version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NetBox itself is a python "application", so it's only built for one version of Python, in my opinion it doesn't make much sense to build it multiple times.
used in order to figure out if we can test a given NetBox plugin
not 1.1.0 yet because that version is only compatible with NetBox>=4.0.0
aa6a1f8
to
ce84d1e
Compare
Description of changes
A NetBox plugin for reordering racks using click and drop: https://github.com/minitriga/netbox-reorder-rack
Not packaged using v1.1.0 yet, because that version is only compatible with NetBox>=4.0.0.
Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Tested by running NetBox with that plugin enabled inside a clean VM.
@RaitoBezarius & @n0emis might be interested in this.
Add a 👍 reaction to pull requests you find important.