flake update & regenerate all packages
This commit is contained in:
parent
c13d44e7bb
commit
85f08a2c5a
44 changed files with 1011 additions and 3 deletions
18
nix/default.nix
Normal file
18
nix/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
nix-ros-overlay ? builtins.fetchTarball "https://github.com/lopsided98/nix-ros-overlay/archive/master.tar.gz",
|
||||
}:
|
||||
let
|
||||
applyDistroOverlay =
|
||||
rosOverlay: rosPackages:
|
||||
rosPackages
|
||||
// builtins.mapAttrs (
|
||||
rosDistro: rosPkgs: if rosPkgs ? overrideScope then rosPkgs.overrideScope rosOverlay else rosPkgs
|
||||
) rosPackages;
|
||||
rosDistroOverlays = final: prev: {
|
||||
# Apply the overlay to multiple ROS distributions
|
||||
rosPackages = applyDistroOverlay (import ./overlay.nix) prev.rosPackages;
|
||||
};
|
||||
in
|
||||
import nix-ros-overlay {
|
||||
overlays = [ rosDistroOverlays ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue