Commit Graph

134366 Commits

Author SHA1 Message Date
Will Dietz
503f8efbcd epoxy: explicitly search libGL path as fallback
Don't rely on questionable impact of DT_RPATH on dlopen().

This is a bit of a messy subject, but probably the clearest
reference to motivate *not* relying on how dlopen() behaves
in the presence of RPATH or RUNPATH is the following:

https://sourceware.org/ml/libc-hacker/2002-11/msg00011.html

FWIW the dlopen() manpage only mentions the the RPATH
and RUNPATH in the "executable file for the calling program";
no mention of the executable files for libraries--
this has been brought to the attention of the relevant
parties and AFAICT nothing has been done.

The best reference for glibc behavior is
apparently to ... "try it and see".
Luckily a generous soul did exactly that
and reported the findings:

https://www.spinics.net/lists/linux-man/msg02291.html

Qt wrote on the subject a bit when they were bit by this,
linking to the above articles (directly or indirectly).

See:
http://blog.qt.io/blog/2011/10/28/rpath-and-runpath/

--------

Since we know the path of libGL at build-time for libepoxy,
there's a simple solution we can use to avoid all of this:
simply teach libepoxy to explicitly look in the libGL path.

This commit patches libepoxy to accomplish this,
looking to "LIBGL_PATH" as a fallback if it cannot find
the libraries otherwise.

---------

This fixes use of libepoxy w/musl on NixOS!
2018-04-02 12:35:37 -05:00
Jan Tojnar
372b00dfe9
Merge pull request #37935 from jtojnar/meson-0.45
meson: 0.44.0 → 0.45.1
2018-03-30 23:20:39 +02:00
Ryan Mulligan
a283292df0 tortoisehg: 4.5 -> 4.5.2
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2/bin/.thg-wrapped -h` got 0 exit code
- ran `/nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2/bin/.thg-wrapped --help` got 0 exit code
- ran `/nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2/bin/.thg-wrapped help` got 0 exit code
- ran `/nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2/bin/.thg-wrapped version` and found version 4.5.2
- ran `/nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2/bin/thg -h` got 0 exit code
- ran `/nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2/bin/thg --help` got 0 exit code
- ran `/nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2/bin/thg help` got 0 exit code
- ran `/nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2/bin/thg version` and found version 4.5.2
- found 4.5.2 with grep in /nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2
- found 4.5.2 in filename of file in /nix/store/zffgxhajwm899w5ybwhr35j16xbx6lh7-tortoisehg-4.5.2
2018-03-30 22:53:42 +02:00
Ryan Mulligan
9dbd4ec0f3 mercurial: 4.5 -> 4.5.2
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg -h` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg --help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg --version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped -h` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped --help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped --version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped -h` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped --help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped --version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped version` and found version 4.5.2
- found 4.5.2 with grep in /nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2
- found 4.5.2 in filename of file in /nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2
- directory tree listing: https://gist.github.com/7a681b5af1e240918913ffd718e9b3e9
2018-03-30 22:53:23 +02:00
R. RyanTM
3f36f6095f zziplib: 0.13.68 -> 0.13.69
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/zziplib/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzcat -h` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzcat --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzcat help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzcat --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzdir --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzdir --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxorcat -h` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxorcat --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxorcat help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxorcat --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxordir -h` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxordir --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxordir --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxorcopy -h` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxorcopy --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/zzxorcopy --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip -v` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-mix --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-mix -v` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-mix --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-mem --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-mem -v` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-mem --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-big --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-big -v` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzzip-big --version` and found version 0.13.69
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzip-mem -h` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzip-mem --help` got 0 exit code
- ran `/nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69/bin/unzip-mem --version` and found version 0.13.69
- found 0.13.69 with grep in /nix/store/9lh4yxh3lq6mv354jvbd3gqjv4dha740-zziplib-0.13.69
- directory tree listing: https://gist.github.com/fec112f9114c98b118a59917224af5ff
2018-03-30 20:07:49 +01:00
R. RyanTM
5b8455c338 vim: 8.0.1605 -> 8.0.1655
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/vim/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/j6w96w36f0naab7fffqri1cmspaa3mnb-vim-8.0.1655/bin/vim -h` got 0 exit code
- ran `/nix/store/j6w96w36f0naab7fffqri1cmspaa3mnb-vim-8.0.1655/bin/vim --help` got 0 exit code
- ran `/nix/store/j6w96w36f0naab7fffqri1cmspaa3mnb-vim-8.0.1655/bin/vim --version` and found version 8.0.1655
- found 8.0.1655 with grep in /nix/store/j6w96w36f0naab7fffqri1cmspaa3mnb-vim-8.0.1655
- directory tree listing: https://gist.github.com/b65f9cb4045c205c8c3ee68503c42596
2018-03-30 20:06:39 +01:00
Pascal Wittmann
1f1ab16e42
gtk-doc: 1.27 -> 1.28 2018-03-30 12:48:36 +02:00
Pascal Wittmann
848c8c6fd2
Merge pull request #36593 from ryantm/auto-update/help2man
help2man: 1.47.5 -> 1.47.6
2018-03-30 12:00:20 +02:00
Shea Levy
6dc900c068
libatomic_ops: 7.6.2 -> 7.6.4.
Inspired by #38083.

Closes #38083.
2018-03-30 05:57:01 -04:00
Ryan Mulligan
743e685d98 isocodes: 3.74 -> 3.79
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/iso-codes/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.79 with grep in /nix/store/v3cwlccrh7g5m03wj8j7fhwc9xyrdj1q-iso-codes-3.79
- directory tree listing: https://gist.github.com/0636a62cebb498fde2d51579ff9c3e99
2018-03-30 10:22:55 +01:00
Frederik Rietdijk
402a074cfe python3: 3.6.4 -> 3.6.5 2018-03-30 08:17:24 +02:00
Frederik Rietdijk
9d2ff98571 Merge remote-tracking branch 'upstream/master' into HEAD 2018-03-30 08:14:35 +02:00
adisbladis
a7af5d4f88
Merge pull request #38039 from ryantm/auto-update/yakuake
yakuake: 3.0.4 -> 3.0.5
2018-03-30 13:10:17 +08:00
adisbladis
78206eb3ec
pythonPackages.linode-api: Enable tests 2018-03-30 12:55:58 +08:00
adisbladis
0fc0f28d39
pythonPackages.linode-api: 4.1.6b0 -> 4.1.8b1 2018-03-30 12:55:49 +08:00
Glenn Searby
2cf5f3cc60
linode-api: 4.1.2b0 -> 4.1.6b0
Needed because the underlying HTTP endpoint has also changed.
2018-03-30 12:39:39 +08:00
Robin Gloster
01fb1af4f5
libidn2: remove dependency on ronn
This is only needed if built from the source repository, since we are
using the release tarball the generated manpage is included. This
removes the "wild" dependency on ruby very deep in the dependency tree.
(util-linux -> systemd -> libidn2 -> ronn -> ruby)
2018-03-30 01:09:27 +02:00
Will Dietz
266cd103f1
Merge pull request #38076 from dtzWill/update/go-1.10.1
go: 1.10 -> 1.10.1
2018-03-29 18:06:24 -05:00
Will Dietz
50815d469a
Merge pull request #38079 from dtzWill/update/go-1.9.5
go: 1.9.4 -> 1.9.5
2018-03-29 18:06:15 -05:00
Pascal Wittmann
cef9812b93
Merge pull request #38082 from ryantm/auto-update/libgringotts
libgringotts: 1.1.2 -> 1.2.1
2018-03-30 00:43:22 +02:00
Wout Mertens
b4e92e0b34
Merge pull request #37921 from gnidorah/gitweb
nixos/nginx: add gitweb sub-service
2018-03-30 00:18:44 +02:00
Will Dietz
1661c0b2c6 go: 1.10 -> 1.10.1 2018-03-29 17:17:12 -05:00
Will Dietz
166a632124 go: 1.9.4 -> 1.9.5 2018-03-29 17:15:57 -05:00
Ryan Mulligan
dd33193f4c libgringotts: 1.1.2 -> 1.2.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/libgringotts/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.2.1 with grep in /nix/store/9z57bh8m3wr1fjaksavpyjr8y9xanf0l-libgringotts-1.2.1
- directory tree listing: https://gist.github.com/6efcd3f0105df20d27e52a1f3e69b142
2018-03-29 15:01:16 -07:00
Ryan Mulligan
299eb877a7 lyx: 2.2.3 -> 2.3.0
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/lyx/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/lyxclient -h` got 0 exit code
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/tex2lyx -h` got 0 exit code
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/tex2lyx --help` got 0 exit code
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/tex2lyx -v` and found version 2.3.0
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/tex2lyx --version` and found version 2.3.0
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/tex2lyx -h` and found version 2.3.0
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/tex2lyx --help` and found version 2.3.0
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/.lyx-wrapped --help` got 0 exit code
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/.lyx-wrapped --version` and found version 2.3.0
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/lyx --help` got 0 exit code
- ran `/nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0/bin/lyx --version` and found version 2.3.0
- found 2.3.0 with grep in /nix/store/p9561m3hhl936qh6wc3zhaypz9axywar-lyx-2.3.0
- directory tree listing: https://gist.github.com/446d7f60ddce2b781c23ff41a2d673d1
2018-03-29 22:57:46 +01:00
Joachim F
e5cc88a922
Merge pull request #38045 from ryantm/auto-update/untex
untex: 1.2 -> 1.3
2018-03-29 20:46:43 +00:00
Ryan Mulligan
ed68a9d5f8 txt2man: 1.5.6 -> 1.6.0
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/txt2man/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/vydx2fidxsxrqm9kanw76gbb8fp4imaz-txt2man-1.6.0/bin/src2man -h` got 0 exit code
- ran `/nix/store/vydx2fidxsxrqm9kanw76gbb8fp4imaz-txt2man-1.6.0/bin/src2man --help` got 0 exit code
- ran `/nix/store/vydx2fidxsxrqm9kanw76gbb8fp4imaz-txt2man-1.6.0/bin/bookman -h` got 0 exit code
- ran `/nix/store/vydx2fidxsxrqm9kanw76gbb8fp4imaz-txt2man-1.6.0/bin/bookman --help` got 0 exit code
- ran `/nix/store/vydx2fidxsxrqm9kanw76gbb8fp4imaz-txt2man-1.6.0/bin/txt2man -h` got 0 exit code
- ran `/nix/store/vydx2fidxsxrqm9kanw76gbb8fp4imaz-txt2man-1.6.0/bin/txt2man --help` got 0 exit code
- ran `/nix/store/vydx2fidxsxrqm9kanw76gbb8fp4imaz-txt2man-1.6.0/bin/txt2man help` got 0 exit code
- directory tree listing: https://gist.github.com/ae0f9873f1dd72fc8e50875212ed15b3
2018-03-29 21:51:24 +02:00
Jörg Thalheim
683a73f093
Merge pull request #37890 from tobimpub/cquery
cquery: init at 2018-03-25
2018-03-29 20:50:35 +01:00
Robert Schütz
8dd73d8b7d
Merge pull request #38048 from ryantm/auto-update/spectre-meltdown-checker
spectre-meltdown-checker: 0.35 -> 0.36
2018-03-29 21:17:55 +02:00
Peter Simons
edd72a0736 hackage: update db snapshot 2018-03-29 20:46:32 +02:00
Peter Simons
0f90640518 cabal-install: fix build of the latest version 2018-03-29 20:46:32 +02:00
Peter Simons
c7c3f58fad haskell-resolv: disable test suite to fix the build 2018-03-29 20:46:32 +02:00
Peter Simons
9391f0912f haskell-flexible-defaults: apply patch to fix build with ghc 8.4.1 2018-03-29 20:46:32 +02:00
Peter Simons
dc211abbb7 haskell-Cabal: update overrides for the new 2.2.0.1 release 2018-03-29 20:46:31 +02:00
Peter Simons
a7203c54e8 haskell-arrows: apply patch to fix build with ghc 8.4.1 2018-03-29 20:46:31 +02:00
Peter Simons
508e583105 configuration-ghc-8.4.x.nix: update the list of core libraries 2018-03-29 20:46:31 +02:00
Peter Simons
c9f7afa05b haskell-data-inttrie: update override for ghc 8.4.1 2018-03-29 20:46:31 +02:00
Peter Simons
0e82924474 ghcjs: mark HEAD version as broken 2018-03-29 20:46:31 +02:00
Peter Simons
5b54db1759 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9.2-3-g5b271ab from Hackage revision
de5e4b8445.
2018-03-29 20:46:26 +02:00
Peter Simons
f1a187f448 hackage2nix: update list of broken builds 2018-03-29 20:46:24 +02:00
Peter Simons
c91a8b78b4
Merge pull request #38057 from bgamari/enableExecutableProfiling
haskell.lib: Add {en,dis}ableExecutableProfiling transformer
2018-03-29 20:41:37 +02:00
Ben Gamari
d79fd43c9d haskell.lib: Add {en,dis}ableExecutableProfiling transformer
We already have {en,dis}ableLibraryProfiling and the builder already
accepts the executable profiling attribute; let's make it easy to use.
2018-03-29 13:33:48 -04:00
Robin Gloster
68c4605f1a
gitlab: disable
The last rubygems update broke this
2018-03-29 19:17:49 +02:00
lewo
01ef780b5c
Merge pull request #38049 from Profpatsch/skopeo-man
skopeo: build manpage
2018-03-29 18:22:06 +02:00
Profpatsch
679ac626dc skopeo: build manpage 2018-03-29 18:05:48 +02:00
Ryan Mulligan
a96132f715 spectre-meltdown-checker: 0.35 -> 0.36
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/spectre-meltdown-checker/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/7lrw74lhzrxf9qlykxbq0z4zqick818s-spectre-meltdown-checker-0.36/bin/spectre-meltdown-checker -h` got 0 exit code
- ran `/nix/store/7lrw74lhzrxf9qlykxbq0z4zqick818s-spectre-meltdown-checker-0.36/bin/spectre-meltdown-checker --help` got 0 exit code
- ran `/nix/store/7lrw74lhzrxf9qlykxbq0z4zqick818s-spectre-meltdown-checker-0.36/bin/spectre-meltdown-checker --version` and found version 0.36
- ran `/nix/store/7lrw74lhzrxf9qlykxbq0z4zqick818s-spectre-meltdown-checker-0.36/bin/spectre-meltdown-checker -h` and found version 0.36
- ran `/nix/store/7lrw74lhzrxf9qlykxbq0z4zqick818s-spectre-meltdown-checker-0.36/bin/spectre-meltdown-checker --help` and found version 0.36
- found 0.36 with grep in /nix/store/7lrw74lhzrxf9qlykxbq0z4zqick818s-spectre-meltdown-checker-0.36
- directory tree listing: https://gist.github.com/ecf768a2a6ae0c7389c9248d2e0b98dc
2018-03-29 08:38:55 -07:00
Profpatsch
e01d485ce4 lib/generators: add an example of overriding defaults
An example of overriding the `toINI` generator is added,
hopefully clarifying the expressiveness of generators.
2018-03-29 16:53:06 +02:00
Profpatsch
fa71407f36 lib/generators: introduce a sane default for mkValueString
So far, `mkValueString` defaulted to `toString`,
which is a bad match for most configuration file formats,
especially because how booleans are formatted.
This also improves error messages for unsupported types.

Add a test to codify the formatting.
2018-03-29 16:53:06 +02:00
Profpatsch
a7e45fdd8e lib/generators: improve documentation a bit 2018-03-29 16:53:06 +02:00
Profpatsch
219ba583b2 lib/generators: improve toPretty
* properly escape strings
* remove one check for booleans
* improve error message
2018-03-29 16:53:06 +02:00