Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jappeace/93a2b613bf8de4296dfd44fdbfddc25e to your computer and use it in GitHub Desktop.
Save jappeace/93a2b613bf8de4296dfd44fdbfddc25e to your computer and use it in GitHub Desktop.
hpack derivation
{
"/nix/store/xz3cq4n9v2ndh7mw7wbqvm31ikplv3qf-hpack-0.28.2.drv": {
"outputs": {
"doc": {
"path": "/nix/store/0xqgn5p4f5fpzh18mvy5an7n9napsw7l-hpack-0.28.2-doc"
},
"out": {
"path": "/nix/store/zq5diis1hf37k5q5qpbyack14madinf0-hpack-0.28.2"
}
},
"inputSrcs": [
"/nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs",
"/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
],
"inputDrvs": {
"/nix/store/21jmg12z5b1l4a0dqmlm5x01wqxrf200-HUnit-1.6.0.0.drv": [
"out"
],
"/nix/store/2z7dcw3xmzrracjzsh18r3d1acfr052f-cryptonite-0.25.drv": [
"out"
],
"/nix/store/5aqrybflhrpfp2q0zi7pj5bzq6g4bqmf-temporary-1.3.drv": [
"out"
],
"/nix/store/802wif5k4qqqwhbdgpz5lmxc56lby9in-ghc-8.4.3.drv": [
"out"
],
"/nix/store/8ac6j9lwfg3cybgpwmyx2lb2nkqbyh0g-http-client-tls-0.3.5.3.drv": [
"out"
],
"/nix/store/8jjc0q9qm4wkwmr8zjfz0ww54p2ia94a-remove-references-to.drv": [
"out"
],
"/nix/store/8xabiyhr7nzlhq515f6l8gc01129x5g5-gnugrep-3.1.drv": [
"out"
],
"/nix/store/bbz07wc87cv842fmhqlkg5dg6kgs3mxl-unordered-containers-0.2.9.0.drv": [
"out"
],
"/nix/store/c1b2gkin697k03jvyldqgx8ws5b8kk5n-ghcjs-8.4.0.1.drv": [
"out"
],
"/nix/store/c84lqdx839naphk31snn2qv26mcjmyrm-glibc-locales-2.27.drv": [
"out"
],
"/nix/store/c8ffi8wa07mgr18mddbcwwb1qanbm6fx-nodejs-slim-6.14.4.drv": [
"out"
],
"/nix/store/cl6kmrz1h3jws0s2xif96gwimdfa83dh-hspec-2.5.5.drv": [
"out"
],
"/nix/store/dbfqfpng61xh04y4n237dggaz04ra9hl-gnused-4.5.drv": [
"out"
],
"/nix/store/dmjdq9rphb35vv9k9k601h0y0h0riwsw-stdenv-linux.drv": [
"out"
],
"/nix/store/iqcis3yydvb2f8qsabcpmp9gghcm5gqp-yaml-0.8.32.drv": [
"out"
],
"/nix/store/j3rkjf1364i87c4w4mmf6yr1r5f3ca51-interpolate-0.2.0.drv": [
"out"
],
"/nix/store/k2jh99ymh1bzsx92fc7qm90sh7q8d9zl-hpack-0.28.2.tar.gz.drv": [
"out"
],
"/nix/store/mr7dcwjpn4ym7w0k8qza445bkjnr3vkj-QuickCheck-2.11.3.drv": [
"out"
],
"/nix/store/p9hq1c7vp6rl8k403b2hpiprvdj5ycdq-aeson-1.3.1.1.drv": [
"out"
],
"/nix/store/q6ybgis60rhsbfc3cy74yc8dxig9d1j7-Glob-0.9.2.drv": [
"out"
],
"/nix/store/ra5j3slxmz32fs5nw7mn1g4whncc85zb-http-client-0.5.13.1.drv": [
"out"
],
"/nix/store/sh0bc4k6j1pjimm3q1l2iih7hb2g348s-http-types-0.12.1.drv": [
"out"
],
"/nix/store/skh6bxyxwhpwpwgk5x3adkxnhgrh82v9-bifunctors-5.5.3.drv": [
"out"
],
"/nix/store/wh7rk7azc083yn83d62hdga2n0cl6miv-hscolour-1.24.4.drv": [
"out"
],
"/nix/store/wld5gv2q9f5vn5kkbh2xcxf0x905kkr5-coreutils-8.29.drv": [
"out"
],
"/nix/store/x55fdqpxr93wwfjbsh2cyp9vv51wjflf-bash-4.4-p23.drv": [
"out"
],
"/nix/store/xmz6x7hnbpwyv9m6887840khqgi8x6nk-mockery-0.3.5.drv": [
"out"
],
"/nix/store/yvf8gqbwh0rf6pqnznck8dslymy3hli9-scientific-0.3.6.2.drv": [
"out"
]
},
"platform": "x86_64-linux",
"builder": "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash",
"args": [
"-e",
"/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
],
"env": {
"LANG": "en_US.UTF-8",
"LOCALE_ARCHIVE": "/nix/store/78yiqfgzz2b32pn391najl1k1jqch2hf-glibc-locales-2.27/lib/locale/locale-archive",
"buildInputs": "/nix/store/9bvgvpm3i4yq52ha4c3n55f6m4yc5kr1-aeson-1.3.1.1 /nix/store/xfbh5597m9rsn7hd3wlk8imd2i3gz609-bifunctors-5.5.3 /nix/store/z1a64qpy4w0vma0lvqdxabbpmn5l3zv9-cryptonite-0.25 /nix/store/rr7hdzcszlssdg4j9zg0y2x4vbh34abh-Glob-0.9.2 /nix/store/0yqz068jcygwwjz5a29vw42as2f6i2zd-hspec-2.5.5 /nix/store/qn16kjcj7dzz9924jkrqgflnalsslxib-http-client-0.5.13.1 /nix/store/vrbrcyqjxh890v8rwi8j2bm4l5lpr47d-http-client-tls-0.3.5.3 /nix/store/zfm2h73y4fklngghvnzs2sryh2rm2y0c-http-types-0.12.1 /nix/store/q0m56238jamly787qsjxkmk8x62wm59y-HUnit-1.6.0.0 /nix/store/a73368ik5mnnwc6hd28ria98xlvww0jm-interpolate-0.2.0 /nix/store/2phbvf6bvslhzf1kwsyxilh3w8gd39a6-mockery-0.3.5 /nix/store/24zzkhv8hj2ysvn9gq5axsjdc0jmixsy-QuickCheck-2.11.3 /nix/store/b3sn2pvgaj0cns3z7gsbs09pa362x78i-scientific-0.3.6.2 /nix/store/kw89vgk2dvwd9q2hlyq3kkykzx52jdyp-temporary-1.3 /nix/store/l4l88z48kfx3np1i2pbm6gcpgffywr58-unordered-containers-0.2.9.0 /nix/store/06a6780kim007xxh84lbkw6j2x0izvr7-yaml-0.8.32",
"buildPhase": "runHook preBuild\n./Setup build \nrunHook postBuild\n",
"builder": "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash",
"checkPhase": "runHook preCheck\n./Setup test \nrunHook postCheck\n",
"compileBuildDriverPhase": "runHook preCompileBuildDriver\n\nfor i in Setup.hs Setup.lhs /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs; do\n test -f $i && break\ndone\n\necho setupCompileFlags: $setupCompileFlags\nghc $setupCompileFlags --make -o Setup -odir $TMPDIR -hidir $TMPDIR $i\n\nrunHook postCompileBuildDriver\n",
"configureFlags": "--ghcjs-options=-fexpose-all-unfoldings",
"configurePhase": "runHook preConfigure\n\nunset GHC_PACKAGE_PATH # Cabal complains if this variable is set during configure.\n\necho configureFlags: $configureFlags\n./Setup configure $configureFlags 2>&1 | /nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin/tee \"$NIX_BUILD_TOP/cabal-configure.log\"\nif /nix/store/9f89z51na7w931aja8lqlmhqny9h16cj-gnugrep-3.1/bin/egrep -q -z 'Warning:.*depends on multiple versions' \"$NIX_BUILD_TOP/cabal-configure.log\"; then\n echo >&2 \"*** abort because of serious configure-time warning from Cabal\"\n exit 1\nfi\n\nexport GHC_PACKAGE_PATH=\"$packageConfDir:\"\n\nrunHook postConfigure\n",
"configurePlatforms": "",
"depsBuildBuild": "/nix/store/n5i1zdpmk2b1s3z96649xh8f9kr3g96s-ghc-8.4.3",
"depsBuildBuildPropagated": "",
"depsBuildTarget": "",
"depsBuildTargetPropagated": "",
"depsHostHost": "",
"depsHostHostPropagated": "",
"depsTargetTarget": "",
"depsTargetTargetPropagated": "",
"doCheck": "1",
"doInstallCheck": "",
"doc": "/nix/store/0xqgn5p4f5fpzh18mvy5an7n9napsw7l-hpack-0.28.2-doc",
"dontStrip": "1",
"haddockPhase": "runHook preHaddock\n./Setup haddock --html \\\n --hoogle \\\n --hyperlink-source\n\nrunHook postHaddock\n",
"installPhase": "runHook preInstall\n\n./Setup copy\nlocal packageConfDir=\"$out/lib/ghcjs-8.4.0.1/package.conf.d\"\nlocal packageConfFile=\"$packageConfDir/hpack-0.28.2.conf\"\nmkdir -p \"$packageConfDir\"\n./Setup register --gen-pkg-config=$packageConfFile\nif [ -d \"$packageConfFile\" ]; then\n mv \"$packageConfFile/\"* \"$packageConfDir\"\n rmdir \"$packageConfFile\"\nfi\nfor packageConfFile in \"$packageConfDir/\"*; do\n local pkgId=$( /nix/store/ny5p32137wfyzdm485xfdck21w1gyl3g-gnused-4.5/bin/sed -n -e 's|^id: ||p' $packageConfFile )\n mv $packageConfFile $packageConfDir/$pkgId.conf\ndone\n\n# delete confdir if there are no libraries\nfind $packageConfDir -maxdepth 0 -empty -delete;\n\nfor exeDir in \"$out/bin/\"*.jsexe; do\n exe=\"${exeDir%.jsexe}\"\n printWords '#!/nix/store/hqfjwqaf01im8ifivpg05imjirz72pih-nodejs-slim-6.14.4/bin/node' > \"$exe\"\n echo >> \"$exe\"\n cat \"$exeDir/all.js\" >> \"$exe\"\n chmod +x \"$exe\"\ndone\n\n\n\n\nfor x in $doc/share/doc/hpack-0.28.2\"/html/src/\"*.html; do\n remove-references-to -t $out $x\ndone\nmkdir -p $doc\n\n\n\nrunHook postInstall\n",
"name": "hpack-0.28.2",
"nativeBuildInputs": "/nix/store/2c6yq35b9nwypi42zldphrxz241ww6a9-ghcjs-8.4.0.1 /nix/store/r73fk98ik6dx9hyqwv8ya8byd5nhs9ks-remove-references-to",
"out": "/nix/store/zq5diis1hf37k5q5qpbyack14madinf0-hpack-0.28.2",
"outputs": "out doc",
"postPatch": "",
"preConfigurePhases": "compileBuildDriverPhase",
"preInstallPhases": "haddockPhase",
"prePatch": "",
"prePhases": "setupCompilerEnvironmentPhase",
"propagatedBuildInputs": "/nix/store/9bvgvpm3i4yq52ha4c3n55f6m4yc5kr1-aeson-1.3.1.1 /nix/store/xfbh5597m9rsn7hd3wlk8imd2i3gz609-bifunctors-5.5.3 /nix/store/z1a64qpy4w0vma0lvqdxabbpmn5l3zv9-cryptonite-0.25 /nix/store/rr7hdzcszlssdg4j9zg0y2x4vbh34abh-Glob-0.9.2 /nix/store/qn16kjcj7dzz9924jkrqgflnalsslxib-http-client-0.5.13.1 /nix/store/vrbrcyqjxh890v8rwi8j2bm4l5lpr47d-http-client-tls-0.3.5.3 /nix/store/zfm2h73y4fklngghvnzs2sryh2rm2y0c-http-types-0.12.1 /nix/store/b3sn2pvgaj0cns3z7gsbs09pa362x78i-scientific-0.3.6.2 /nix/store/l4l88z48kfx3np1i2pbm6gcpgffywr58-unordered-containers-0.2.9.0 /nix/store/06a6780kim007xxh84lbkw6j2x0izvr7-yaml-0.8.32 /nix/store/9bvgvpm3i4yq52ha4c3n55f6m4yc5kr1-aeson-1.3.1.1 /nix/store/xfbh5597m9rsn7hd3wlk8imd2i3gz609-bifunctors-5.5.3 /nix/store/z1a64qpy4w0vma0lvqdxabbpmn5l3zv9-cryptonite-0.25 /nix/store/rr7hdzcszlssdg4j9zg0y2x4vbh34abh-Glob-0.9.2 /nix/store/qn16kjcj7dzz9924jkrqgflnalsslxib-http-client-0.5.13.1 /nix/store/vrbrcyqjxh890v8rwi8j2bm4l5lpr47d-http-client-tls-0.3.5.3 /nix/store/zfm2h73y4fklngghvnzs2sryh2rm2y0c-http-types-0.12.1 /nix/store/b3sn2pvgaj0cns3z7gsbs09pa362x78i-scientific-0.3.6.2 /nix/store/l4l88z48kfx3np1i2pbm6gcpgffywr58-unordered-containers-0.2.9.0 /nix/store/06a6780kim007xxh84lbkw6j2x0izvr7-yaml-0.8.32",
"propagatedNativeBuildInputs": "",
"setOutputFlags": "",
"setupCompilerEnvironmentPhase": "runHook preSetupCompilerEnvironment\n\necho \"Build with /nix/store/2c6yq35b9nwypi42zldphrxz241ww6a9-ghcjs-8.4.0.1.\"\nexport PATH=/nix/store/shhfbn131vj96nni715lnp1xlhjfv1c0-hscolour-1.24.4/bin:$PATH\n\nsetupPackageConfDir=\"$TMPDIR/setup-package.conf.d\"\nmkdir -p $setupPackageConfDir\npackageConfDir=\"$TMPDIR/package.conf.d\"\nmkdir -p $packageConfDir\n\nsetupCompileFlags=\"-package-db=$setupPackageConfDir -j$NIX_BUILD_CORES -threaded\"\nconfigureFlags=\"--verbose --prefix=$out --libdir=\\$prefix/lib/\\$compiler --libsubdir=\\$abi/\\$libname --docdir=$doc/share/doc/hpack-0.28.2 --with-gcc=$CC --package-db=$packageConfDir --ghc-option=-j$NIX_BUILD_CORES --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --enable-library-vanilla --enable-library-for-ghci --ghc-option=-split-sections --disable-library-stripping --disable-executable-stripping --ghcjs $configureFlags\"\nfor p in \"${pkgsBuildBuild[@]}\" \"${pkgsBuildHost[@]}\" \"${pkgsBuildTarget[@]}\"; do\n if [ -d \"$p/lib/ghc-8.4.3/package.conf.d\" ]; then\n cp -f \"$p/lib/ghc-8.4.3/package.conf.d/\"*.conf $setupPackageConfDir/\n continue\nfi\n\ndone\nghc-pkg --package-db=\"$setupPackageConfDir\" recache\nfor p in \"${pkgsHostHost[@]}\" \"${pkgsHostTarget[@]}\"; do\n if [ -d \"$p/lib/ghcjs-8.4.0.1/package.conf.d\" ]; then\n cp -f \"$p/lib/ghcjs-8.4.0.1/package.conf.d/\"*.conf $packageConfDir/\n continue\nfi\n\n if [ -d \"$p/include\" ]; then\n configureFlags+=\" --extra-include-dirs=$p/include\"\n fi\n if [ -d \"$p/lib\" ]; then\n configureFlags+=\" --extra-lib-dirs=$p/lib\"\n fi\nif [[ -d \"$p/Library/Frameworks\" ]]; then\n configureFlags+=\" --extra-framework-dirs=$p/Library/Frameworks\"\nfi\ndone\nghcjs-pkg --package-db=\"$packageConfDir\" recache\n\nrunHook postSetupCompilerEnvironment\n",
"src": "/nix/store/kmfkrycflfq0hcmy2gifrxzj5n8yx27m-hpack-0.28.2.tar.gz",
"stdenv": "/nix/store/i6vl5lwlz5jbkg4r6p340dwmj6fha3xq-stdenv-linux",
"strictDeps": "",
"system": "x86_64-linux"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment