diff options
author | Profpatsch <mail@profpatsch.de> | 2023-04-08T10·59+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-04-08T12·25+0000 |
commit | 5e400b5b2478fa59a84cc9a69c525ada4be6f0c3 (patch) | |
tree | 26af770cb195e20f27289a0c9c5098cca6122e1b /users/Profpatsch/reverse-haskell-deps.nix | |
parent | 6edc2182d113f325d6990684b750707e60123e58 (diff) |
chore(users/Profpatsch): bring reverse-haskell-deps into shape r/6078
Add a cabal file and move into subdir. Use MyPrelude & fix a few linter warnings. Change-Id: I19d5ba47be789fc24f8e02ee8721f73c706ae3e9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8465 Reviewed-by: Profpatsch <mail@profpatsch.de> Autosubmit: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/reverse-haskell-deps.nix')
-rw-r--r-- | users/Profpatsch/reverse-haskell-deps.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/users/Profpatsch/reverse-haskell-deps.nix b/users/Profpatsch/reverse-haskell-deps.nix deleted file mode 100644 index 6df7bc6329cd..000000000000 --- a/users/Profpatsch/reverse-haskell-deps.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ 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 = [ - pkgs.haskellPackages.nicify-lib - pkgs.haskellPackages.tagsoup - ]; - - } - ./reverse-haskell-deps.hs; - - -in -rev |