mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
Cleanup Python package overrides.
This commit is contained in:
parent
3fa6f9fb54
commit
b79845c4ed
5 changed files with 54 additions and 62 deletions
|
@ -77,9 +77,9 @@ in {
|
|||
# Implementation
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# FIXME: mkAfter is used to make sure the Python overlay is applied. That
|
||||
# means all other user configured Python overlays are ignored. This needs a
|
||||
# fix in nixpkgs: https://github.com/NixOS/nixpkgs/issues/44426
|
||||
# mkAfter is used to make sure the Python overlay (which uses overrideScope)
|
||||
# is applied after any user overlays that use packageOverrides, so that
|
||||
# composition works.
|
||||
nixpkgs.overlays = mkAfter (singleton (import ../../overlay.nix));
|
||||
|
||||
services.ros = {
|
||||
|
|
|
@ -69,9 +69,9 @@ in {
|
|||
# Implementation
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# FIXME: mkAfter is used to make sure the Python overlay is applied. That
|
||||
# means all other user configured Python overlays are ignored. This needs a
|
||||
# fix in nixpkgs: https://github.com/NixOS/nixpkgs/issues/44426
|
||||
# mkAfter is used to make sure the Python overlay (which uses overrideScope)
|
||||
# is applied after any user overlays that use packageOverrides, so that
|
||||
# composition works.
|
||||
nixpkgs.overlays = mkAfter (singleton (import ../../overlay.nix));
|
||||
|
||||
services.ros2.pkgs = mkDefault (pkgs.rosPackages."${cfg.distro}".overrideScope cfg.overlays);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue