Skip to content

Instantly share code, notes, and snippets.

View juhp's full-sized avatar

Jens Petersen juhp

View GitHub Profile
@juhp
juhp / gist:e4f92e6df99524da0d7df72afe2470d4
Created November 29, 2024 04:28
stack-3.1.1 --resolver lts-22.43 build aeson --verbose
This file has been truncated, but you can view the full file.
Version 3.1.1 x86_64
Compiled with:
- Cabal-3.10.3.0
- Cabal-syntax-3.10.3.0
- Glob-0.10.2
- OneTuple-0.4.2
- QuickCheck-2.14.3
- StateVar-1.2.2
- aeson-2.1.2.1
- aeson-warning-parser-0.1.1
@juhp
juhp / gist:8cf70c3e00509347ff5e5f4bbfad74c5
Created November 28, 2024 08:06
stack --resolver lts-22.43 build aeson --verbose
Version 2.15.7 x86_64
Compiled with:
- Cabal-3.10.3.0
- Cabal-syntax-3.10.3.0
- Glob-0.10.2
- OneTuple-0.4.2
- QuickCheck-2.14.3
- StateVar-1.2.2
- aeson-2.1.2.1
- aeson-warning-parser-0.1.1
@juhp
juhp / gist:234f19d9f5d580180d109b0fbbbf33b2
Created August 10, 2024 11:31
stack install --verbose
stack install --verbose
Version 2.15.7, Git revision 94291936ebf8335b4cd2da593aa879ea628c7f09 (dirty) (239 commits) x86_64
Compiled with:
- Cabal-3.10.3.0
- Cabal-syntax-3.10.3.0
- Glob-0.10.2
- OneTuple-0.4.2
- QuickCheck-2.14.3
- StateVar-1.2.2
- aeson-2.1.2.1
@juhp
juhp / stack-symlink-distro-ghc.sh
Created January 7, 2022 09:57
script to setup stack symlinks to fedora ghcX.Y
$ stack -v --resolver lts-12 --stack-yaml stack-lts12.yaml build
Version 2.1.3.1 x86_64
Compiled with:
- Cabal-2.4.1.0
- Glob-0.10.0
- StateVar-1.2
- aeson-1.3.1.1
- annotated-wl-pprint-0.7.0
- ansi-terminal-0.9.1
- ansi-wl-pprint-0.6.9

Keybase proof

I hereby claim:

  • I am juhp on github.
  • I am juhp (https://keybase.io/juhp) on keybase.
  • I have a public key ASC_RrirmAZeeslaPILKIXjpdmdW2fdgOb06M8iSNS-vbgo

To claim this, I am signing this object:

@juhp
juhp / stackage-top-revdeps
Last active April 10, 2017 07:20
Stackage Nightly packages with >= 20 revdeps (2017-04-10)
818 text
527 mtl
419 QuickCheck
357 hspec
333 unordered-containers
307 tasty
270 vector
249 aeson
236 tasty-hunit
220 HUnit
#!/bin/sh
# uses httpie for ease
#
# $ stckg-query.sh lts pandoc
# lts-7.14 pandoc-1.17.1
http --all -F -h https://www.stackage.org/$1/package/$2 | grep Location: | tail -1 | sed -e "s%Location: https://www.stackage.org/%%" -e "s%/package/% %"
@juhp
juhp / el7check.hs
Last active April 25, 2019 11:50
haskell turtle shell script to check NVRs of epel7 packages
{-# LANGUAGE OverloadedStrings #-}
import Turtle
import Data.Text (words)
rpmspecSrc qf spec = do
(_res, out) <- procStrict "rpmspec" ["-q", "--srpm", "--undefine=dist", "--qf", qf, spec] empty
return out
nvr = "%{name}-%{version}-%{release}"
@juhp
juhp / turtle-shell
Last active October 5, 2015 16:44
start turtle interactive shell
#!/bin/sh
ghci -ghci-script turtle.ghci -package turtle -package foldl