-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
docker-compose: rename from docker_compose, python3 by default #50176
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
Conversation
cc @jgeerds |
Success on x86_64-linux (full log) Attempted: docker-compose Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: docker-compose Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: docker-compose Partial log (click to expand)
|
pkgs/top-level/python-packages.nix
Outdated
@@ -2220,7 +2220,8 @@ in { | |||
|
|||
pyfribidi = callPackage ../development/python-modules/pyfribidi { }; | |||
|
|||
docker_compose = callPackage ../development/python-modules/docker_compose {}; | |||
docker-compose = callPackage ../development/python-modules/docker_compose {}; | |||
docker_compose = self.docker-compose; # legacy alias |
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.
Please don't add aliases. They only make it more confusing when overriding stuff. Because users eventually will have to update their expressions, and because an alias like this doesn't cause any notification of it, I don't see the point of it.
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.
I moved it out of python-packages.nix since it is not a library.
bafaad4
to
0c773cc
Compare
The command is called docker-compose hence the package should be called the same. Also prefer python3.
0c773cc
to
7a86bc3
Compare
Success on x86_64-linux (full log) Attempted: docker-compose Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: docker-compose Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: docker-compose Partial log (click to expand)
|
The command is called docker-compose hence the package should be called the same.
Also prefer python3.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)