parent
9fa32749b9
commit
fafd711b1b
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@ -1,14 +1,20 @@ |
||||
{ |
||||
|
||||
pkgs ? (import ../nix/pkgs.nix).pkgs, |
||||
buildSystem ? builtins.currentSystem, |
||||
hostSystem ? buildSystem, |
||||
pkgsNix ? (import ../nix/pkgs.nix), |
||||
|
||||
}: pkgs.mkShell { |
||||
name = "isle-build-docs"; |
||||
buildInputs = [ pkgs.plantuml ]; |
||||
|
||||
shellHook = '' |
||||
set -e |
||||
plantuml -tsvg ./dev/*.plantuml |
||||
exit 0 |
||||
''; |
||||
} |
||||
}: let |
||||
pkgs = pkgsNix.default { |
||||
inherit buildSystem hostSystem; |
||||
}; |
||||
in |
||||
pkgs.mkShell { |
||||
name = "isle-build-docs"; |
||||
buildInputs = [ pkgs.plantuml ]; |
||||
shellHook = '' |
||||
set -e |
||||
plantuml -tsvg ./dev/*.plantuml |
||||
exit 0 |
||||
''; |
||||
} |
||||
|
Loading…
Reference in new issue