Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
514 B · 24 lines
Nix
12345678910111213141516171819202122232425{ pkgs, haskellPackages }:
let drv = haskellPackages.random; docs = pkgs.haskell.lib.compose.documentationTarball drv;
inpkgs.runCommand "test haskell.lib.compose.documentationTarball" { meta = { inherit (docs.meta) platforms; }; } '' tar xvzf "${docs}/${drv.name}-docs.tar.gz"
# Check for Haddock html find "${drv.name}-docs" | grep -q "System-Random.html"
# Check for source html find "${drv.name}-docs" | grep -q "src/System.Random.html"
touch "$out" ''