mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-09 15:52:23 +03:00
Use mdsh during nix flake check
This commit is contained in:
parent
c4bc177658
commit
59cfa1be32
1 changed files with 6 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
inputs.flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, flake-utils, nix-ros-overlay, ... } @ inputs:
|
||||
{ self, nixpkgs, flake-utils, nix-ros-overlay, ... } @ inputs:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
|
@ -95,6 +95,11 @@
|
|||
default = ros2nix;
|
||||
inherit rosdistro rosdep-cache rosdep ros2nix;
|
||||
};
|
||||
checks = {
|
||||
mdsh = pkgs.runCommandNoCC "mdsh" {
|
||||
nativeBuildInputs = [ ros2nix ];
|
||||
} "cd ${self}; ${pkgs.mdsh}/bin/mdsh --frozen";
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue