Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am albertov on github.
  • I am albertovalverde (https://keybase.io/albertovalverde) on keybase.
  • I have a public key whose fingerprint is D965 D631 C6E9 8A1C BCDA 546C 2FF8 6F9B 4475 071A

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am albertov on github.
  • I am albertovalverde (https://keybase.io/albertovalverde) on keybase.
  • I have a public key whose fingerprint is D965 D631 C6E9 8A1C BCDA 546C 2FF8 6F9B 4475 071A

To claim this, I am signing this object:

This file has been truncated, but you can view the full file.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU Hello configure 2.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-dependency-tracking --prefix=/nix/store/xsngrd6w0r2aaqc3fdzyi16a4hpndwa2-hello-2.10
## --------- ##
## Platform. ##
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU Hello configure 2.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --disable-dependency-tracking --prefix=/nix/store/xsngrd6w0r2aaqc3fdzyi16a4hpndwa2-hello-2.10
## --------- ##
## Platform. ##
Derive([("out","/nix/store/hy65mn4wjswqih75gfr6g4q3xgqdm325-python3-3.6.6","","")],[("/nix/store/35q426c3k05sf0aq7p1kx2n08b4mrf12-python-setup-hook.sh.drv",["out"]),("/nix/store/4ai41fpcjxxjj8rrchgbmk53bvsv4c0f-Python-3.6.6.tar.xz.drv",["out"]),("/nix/store/4m1nhq1mhc3mz28zzfsjjcn4qd4gvzx9-expat-2.2.6.drv",["dev","out"]),("/nix/store/4skgv7va1vr7qglk6nvn8sjaf6bxidgq-gdbm-1.17.drv",["out"]),("/nix/store/7rf2z9lr99aws2wa1l3map71x1lks524-ncurses-6.1.drv",["dev","out"]),("/nix/store/94cj4id8pz8ai3c9pws0r528f4b2hkvk-libffi-3.2.1.drv",["dev","out"]),("/nix/store/cfd8kwpjak4yxs6jq20an627wh6rg864-zlib-1.2.11.drv",["dev","out"]),("/nix/store/dmjdq9rphb35vv9k9k601h0y0h0riwsw-stdenv-linux.drv",["out"]),("/nix/store/i12c15d9rnz45as76s0nsa0nypl0fl6z-openssl-1.0.2p.drv",["dev","out"]),("/nix/store/n55v46dmpf3gv0kni6l9ypsir8wb18lk-xz-5.2.4.drv",["dev","out"]),("/nix/store/qsqxb7q71kygnh8vzzfab2q60jfz2k3y-sqlite-3.24.0.drv",["dev","out"]),("/nix/store/sirfkhr6fj7sn83h56khfbs38c51s6fp-bzip2-1.0.6.0.1.drv",["dev","out"]),("/ni
{ stdenv, fetchurl, libXcomposite, libXdamage, gobjectIntrospection, glib
, dbus, nss, nspr, libX11, libxcb, libXcursor, libXext, libXfixes
, libXi, libXrender, libXtst, libXScrnSaver, expat, cairo, libXrandr, zlib
, pango, alsaLib, atk, gtk3, at-spi2-atk, gdk_pixbuf, fontconfig, makeWrapper
}:
let
libPath = stdenv.lib.makeLibraryPath [
libXdamage
libXcomposite
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDNycAdIt6d09X8drPxZVZM6gPyWl787zYY4qqdORknX2d2a/Cia4Ocp/SzF4Zb2w+iaBk/OMyjevxULFq4b2HG1CTQ5hJY//DGU8F0QVRuTdCxEGXz4x3sMEJNMA901aQbiFkOYOIMGqoSvhP65kN1y9PKMfDFatlzXZZzIDLSaxJNP6vu4jvrgWLAED58iDzaytKbQyiaTE9/anvLM1bff9uIEHjcA1OW4/5dm85lmh0B6p34FLfXeDaqo+FNSymhniKqu5zulKonz5emgwpnWzFahpFh6hirP5RncS6dH+q1wubDoMY2Dxk2QW4TMx0iDSMpwbgpq78h1p6t4gL5AINehzUOBVmNkn9J/slJ5RCyjiHQdN9uNBambeklJCZbeVLW0ZirMIgj1UyKpm+LDRedWc4Kifz/B5VoxBewf06Pn8JPfvzLVlcB201+3NWpIwRgp/DsVHPsaIGeh7VGH9Et965ssTYCxytS2uFixGXpT1gcM0+KQkfw3v0svyw5UOmr9prCgT1Zyl6DJ68b4puH90pV9VThH07JCdJrBV/Y6r7yilCpswO2ADawlMp5/ZU3/pQ+7BIISiIA1ddmADnGRmKHsSXV4n8xGleR3szmLxtjyCKhY9znhrjlc4VLryBPjqyzOtR4PVmWBscchmP8dyPCZlx2V3qYayzymQ==
@albertov
albertov / 8.0.2.log
Last active June 8, 2017 12:44
Sigym4-Propag compile logs
Results for The Glorious Glasgow Haskell Compilation System, version 9.0.2
Resolving dependencies...
In order, the following will be built (use -v for more details):
sigym4-propag-0.1.0.0
sigym4-propag-gdal-0.1.0.0
sigym4-propag-engine-0.1.0.0
Configuring sigym4-propag-0.1.0.0...
Glasgow Haskell Compiler, Version 8.0.2, stage 2 booted by GHC version 7.10.3
Using binary package database: /nix/store/xlipj08x2sh0261b503v5a6q97vva36j-ghc-8.0.2-with-packages/lib/ghc-8.0.2/package.conf.d/package.cache
loading package database /nix/store/xlipj08x2sh0261b503v5a6q97vva36j-ghc-8.0.2-with-packages/lib/ghc-8.0.2/package.conf.d
alberto@albertows:~/src/sigym4-propag$ time ./sigym4-propag-8.0.2 gdal --config config-wcs.yaml +RTS -qn1 > /dev/null
67,945,492,752 bytes allocated in the heap
3,621,627,448 bytes copied during GC
207,167,544 bytes maximum residency (11 sample(s))
12,935,232 bytes maximum slop
741 MB total memory in use (175 MB lost due to fragmentation)
Tot time (elapsed) Avg pause Max pause
Gen 0 1438 colls, 1438 par 0.577s 0.464s 0.0003s 0.0023s
Gen 1 11 colls, 10 par 0.074s 0.043s 0.0039s 0.0284s
@albertov
albertov / mkBinDist.sh
Last active March 13, 2017 10:25
Make a portable binary distribution from any nix package
#!/usr/bin/env bash
set -e
# Path to thhe nix file containing the derivation we want to package
NIXFILE=./path/to/some/nixfile.nix
# Refer to the attribute in the nix file containing the derivation we want to package
ATTRARG="-A foo"
# "drv" will be set to the path inside /nix/store which contains the resulting the derivation
drv=$(nix-build $NIXFILE $ATTRARG)