Skip to content

Commit

Permalink
docs(nix): Switch docs build env to use stable packages
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomSpaceship committed Nov 29, 2024
1 parent 3b8a217 commit 3bb47c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,13 @@
(import nix-ros-workspace { }).overlay
# import ros workspace packages + fixes
(import ./software/overlay.nix rosDistro)
# finally, alias the output to pkgs.ros to make it easier to use
(final: prev: {
# alias the output to pkgs.ros to make it easier to use
ros = final.rosPackages.${rosDistro}.overrideScope (
rosFinal: rosPrev: { manualDomainId = toString productionDomainId; }
);
# override select packages with latest
inherit (pkgs-unstable) uv;
})
];
# Gazebo makes use of Freeimage.
Expand Down Expand Up @@ -155,7 +156,7 @@
# --- PYTHON (UV) WORKSPACES ---
# note: called with pkgs-unstable since we need the uv tool to be up-to-date due to rapid development
# note: called with rosDistro to link correct intersphinx inventory
docs = pkgs-unstable.callPackage (import ./docs) {
docs = pkgs.callPackage (import ./docs) {
inherit
rosDistro
pyproject-nix
Expand Down

0 comments on commit 3bb47c2

Please sign in to comment.