mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 17:54:49 +03:00
Fix overlays in NixOS module.
This commit is contained in:
parent
87396617b9
commit
fc6be9ef7d
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ in {
|
|||
overlays = mkOption {
|
||||
type = types.listOf overlayType;
|
||||
default = [];
|
||||
apply = foldr composeExtensions (_: _: {});
|
||||
apply = composeManyExtensions;
|
||||
description = ''
|
||||
Set of package overlays to apply to ROS package set for the configured
|
||||
distro.
|
||||
|
@ -83,7 +83,7 @@ in {
|
|||
nixpkgs.overlays = mkAfter (singleton (import ../overlay.nix));
|
||||
|
||||
services.ros = {
|
||||
pkgs = mkDefault (pkgs.rosPackages."${cfg.distro}".extend cfg.overlays);
|
||||
pkgs = mkDefault (pkgs.rosPackages."${cfg.distro}".overrideScope cfg.overlays);
|
||||
|
||||
hostname = mkDefault config.networking.hostName;
|
||||
masterUri = mkDefault "http://${cfg.hostname}:11311/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue