diff options
Diffstat (limited to 'users/Profpatsch/parked/reverse-haskell-deps/default.nix.inactive')
-rw-r--r-- | users/Profpatsch/parked/reverse-haskell-deps/default.nix.inactive | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/users/Profpatsch/parked/reverse-haskell-deps/default.nix.inactive b/users/Profpatsch/parked/reverse-haskell-deps/default.nix.inactive new file mode 100644 index 000000000000..b0a44420d793 --- /dev/null +++ b/users/Profpatsch/parked/reverse-haskell-deps/default.nix.inactive @@ -0,0 +1,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 |