blob: b0a44420d7938c88ac08e6f4311b0893fdf31bd1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ depot, pkgs, ... }:
# Parses https://packdeps.haskellers.com/reverse
# and outputs the amount of reverse dependencies of each hackage package.
let
rev = depot.nix.writeExecline "reverse-haskell-deps" { } [
"pipeline"
[
"${pkgs.curl}/bin/curl"
"-L"
"https://packdeps.haskellers.com/reverse"
]
rev-hs
];
rev-hs = pkgs.writers.writeHaskell "revers-haskell-deps-hs"
{
libraries = [
depot.users.Profpatsch.my-prelude
pkgs.haskellPackages.nicify-lib
pkgs.haskellPackages.tagsoup
];
ghcArgs = [ "-threaded" ];
}
./ReverseHaskellDeps.hs;
in
rev
|