You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nix flake check 28.10.2024 12:18:21
warning: ignoring untrusted substituter 'https://ros.cachix.org', you are not a trusted user.
Run `man nix.conf`for more information on the `substituters` configuration option.
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error:
… while checking flake output 'devShells'
at /nix/store/qkig73szmrhgp0qhncxy5vb36lw2g3jj-source/lib.nix:39:17:
38| {
39|${key} = (attrs.${key} or { })
| ^
40| // { ${system} = ret.${key}; };
… while checking the derivation 'devShells.x86_64-linux.default'
at /nix/store/aic4p2xr91i2sxfzmy321zc42x3sc28f-source/flake.nix:14:9:
13|in {
14| devShells.default = pkgs.mkShell {
| ^
15| name = "Example project";
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: attribute 'rosdep' missing
at /nix/store/aic4p2xr91i2sxfzmy321zc42x3sc28f-source/flake.nix:19:13:
18| pkgs.cargo-ament-build
19| pkgs.rosdep
| ^
20|# ... other non-ROS packages
Did you mean one of rosie or rsbep?
The corresponding flake.nix
{inputs={nix-ros-overlay.url="github:lopsided98/nix-ros-overlay/master";nixpkgs.follows="nix-ros-overlay/nixpkgs";# IMPORTANT!!!};outputs={self,nix-ros-overlay,nixpkgs}:
nix-ros-overlay.inputs.flake-utils.lib.eachDefaultSystem(system:
letpkgs=importnixpkgs{inheritsystem;overlays=[nix-ros-overlay.overlays.default];};in{devShells.default=pkgs.mkShell{name="Example project";packages=[pkgs.colconpkgs.cargo-ament-buildpkgs.rosdep# ... other non-ROS packages(withpkgs.rosPackages.humble;buildEnv{paths=[ros-core];})];};});nixConfig={extra-substituters=["https://ros.cachix.org"];extra-trusted-public-keys=["ros.cachix.org-1:dSyZxI8geDCJrwgvCOHDoAfOm5sV1wCPjBkKL+38Rvo="];};}
To be honest, I still find it difficult to understand nix mistakes.
The text was updated successfully, but these errors were encountered:
That's because rosdep is not the top-level package. Use pkgs.python3Packages.rosdep and nix flake check will be happy.
However, you usually don't need rosdep with Nix, because all dependencies are automatically installed by Nix even without rosdep. rosdep is used when generating this overlay, so users don't need to bother with it.
The corresponding
flake.nix
To be honest, I still find it difficult to understand
nix
mistakes.The text was updated successfully, but these errors were encountered: