blob: 766f6ee04fe10b880cb1d6f4e6d72581687f0dcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
(import ../pkglst/shell-pkgs.nix { inherit pkgs; })
];
buildPhase = "nix build -f default.nix";
shellHook = ''
if [[ -e ".envrc" ]]; then
source .envrc
fi
nix-build
RUN="./result/bin/spine --very-verbose --theme-light --html --epub --sqlite-discrete --output=/tmp/www ./data/pod/sisu-spine-markup"
$RUN
echo "built spine ... @ ./result/bin/spine"
echo "& (tested with) run:"
echo " $RUN"
'';
}
|