fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ pkgs, haskellPackages }:
2
3let
4 drv = haskellPackages.vector;
5 docs = pkgs.haskell.lib.compose.documentationTarball drv;
6
7in pkgs.runCommand "test haskell.lib.compose.documentationTarball" {
8 meta = {
9 inherit (docs.meta) platforms;
10 };
11} ''
12 tar xvzf "${docs}/${drv.name}-docs.tar.gz"
13
14 # Check for Haddock html
15 find "${drv.name}-docs" | grep -q "Data-Vector.html"
16
17 # Check for source html
18 find "${drv.name}-docs" | grep -q "src/Data.Vector.html"
19
20 touch "$out"
21''