Vincent Ambo
f3c66e172c
chore: Add contribution & code of conduct information
2019-08-28 15:06:43 +01:00
Vincent Ambo
10a93400f8
chore: Add Apache License 2.0
2019-08-28 15:03:17 +01:00
Vincent Ambo
d53f7f134b
docs: Add build status to README
2019-08-28 15:02:39 +01:00
Vincent Ambo
0c1a6b88dd
feat: Add Travis CI configuration
2019-08-28 14:55:56 +01:00
Vincent Ambo
6468845255
chore: Change file layout to match repository instead of gist
2019-08-28 14:55:53 +01:00
Vincent Ambo
34a5917981
test: Add test for pattern matching on sum types
2019-08-28 14:37:00 +01:00
Vincent Ambo
cb45536124
test: Add a test to check that all types match the 'type'-type
2019-08-28 14:37:00 +01:00
Vincent Ambo
b622bcef7d
feat: Introduce composable type errors and type parameter checking
...
This refactoring moves the type definitions into a recursively
evaluated attribute set, which makes it possibe to refer to types in
the definitions of other types.
This functionality is used to type-check some of the type parameters
passed in to other types. This is not yet done for all higher-order
types because the evaluation semantics of Nix make it less useful for
some cases.
Further the definition of a type itself is now a stricter
representation that works for all types except typed functions, which
allows for composable error messages.
2019-08-28 14:36:58 +01:00
Vincent Ambo
f6635fec98
feat: Add rough initial version of sum types
...
Sum types are represented as attribute sets with a single key in them.
2019-08-28 14:36:55 +01:00
Vincent Ambo
ef4ded7b98
docs: Add defun to README
2019-08-28 14:36:50 +01:00
Vincent Ambo
5949663fcd
feat: Implement support for typing functions
...
The defun helper takes a type signature and a function and makes a
typed version. Because we can.
2019-08-28 14:36:47 +01:00
Vincent Ambo
1da22249bd
test: Add some simple tests for type-checks
...
Does not currently test check failures, which makes it sort of not as
useful as you'd think.
2019-08-28 14:36:43 +01:00
Vincent Ambo
08116dbf51
chore: Add Google's copyright header
2019-08-28 14:36:39 +01:00
Vincent Ambo
bc130254bc
docs: Update struct screenshot in README
2019-08-28 14:36:36 +01:00
Vincent Ambo
ca0cf11ca9
feat: Improved error message for missing struct fields
2019-08-28 14:36:33 +01:00
Vincent Ambo
4ebc069a3f
docs: Add enum screenshot to README
2019-08-28 14:36:29 +01:00
Vincent Ambo
661e09daac
feat: Add enum support
2019-08-28 14:36:25 +01:00
Vincent Ambo
2e576e10ab
refactor: Gain back a few more lines
2019-08-28 14:36:20 +01:00
Vincent Ambo
2acdbb5009
refactor: Drop back to below 100 lines :)
2019-08-28 14:36:14 +01:00
Vincent Ambo
76f9b1638c
feat: Add function type
...
It's not currently possible to check arguments for curried functions,
but there might be something on the horizon for attribute set
functions.
2019-08-28 14:36:11 +01:00
Vincent Ambo
103e0b4d25
feat: Add derivation type
2019-08-28 14:36:08 +01:00
Vincent Ambo
cb0d07fa30
docs: Fix image links (relative is not supported in gists)
2019-08-28 14:36:00 +01:00
Vincent Ambo
199254ba7a
chore: Move screenshots into the gist
2019-08-28 14:35:56 +01:00
Vincent Ambo
040b719570
feat: Support better error messages for list/attrs element checks
2019-08-28 14:35:53 +01:00
Vincent Ambo
fe33a82a07
feat: Initial check-in of type system sketch
2019-08-28 14:35:41 +01:00
Eelco Dolstra
ad03159e25
Merge pull request #2745 from samueldr/install/detect-systemd-separately
...
install-multi-user: Detect and fail lack of systemd separately
2019-08-28 11:34:23 +02:00
Eelco Dolstra
bd285849ed
Merge pull request #3054 from matthewbauer/nix-dir-macos
...
Allow empty /nix directory in multi-user installer
2019-08-28 11:29:43 +02:00
Eelco Dolstra
5fa8b3f965
Update the libboost hack
...
This cuts about 46 MiB from the closure.
2019-08-27 22:38:48 +02:00
Eelco Dolstra
ceefddafe8
Compress binary tarballs using xz
...
Fixes https://github.com/NixOS/nix/issues/240 .
Apparently 'tar -xf' can decompress xz files on macOS nowadays.
2019-08-27 22:18:34 +02:00
Eelco Dolstra
787015fec0
Merge branch 'master' of github.com:NixOS/nix
2019-08-27 21:18:20 +02:00
Eelco Dolstra
fdff96501f
Update release notes
2019-08-27 21:18:00 +02:00
Eelco Dolstra
e5b397b2c7
Merge branch 'test-sandboxing' of https://github.com/matthewbauer/nix
2019-08-27 20:58:47 +02:00
Abseil Team
a0d1e098c2
Export of internal Abseil changes
...
--
f685906f54727cc2d356787af410ef72ddd38bd0 by Derek Mauro <dmauro@google.com>:
On Windows, compile with /bigobj. Some template heavy code requires this.
PiperOrigin-RevId: 265695531
--
ed808812a4f5915d0516cecdc24ef4b90cf8333e by Derek Mauro <dmauro@google.com>:
Fix the btree_test build on Windows+CMake
PiperOrigin-RevId: 265689993
--
c9a8ade28d7537d1dceec19c74edc4b10daf3c91 by Abseil Team <absl-team@google.com>:
Remove unused using ::test::IsEmpty.
PiperOrigin-RevId: 265567080
GitOrigin-RevId: f685906f54727cc2d356787af410ef72ddd38bd0
Change-Id: I12a3c9ef41c1b7c4c5f075a1ad4cedad54e953ac
2019-08-27 13:29:28 -04:00
Eelco Dolstra
177e5742fa
Merge pull request #3056 from grahamc/operators
...
operators: document exact precedence, split up similar operators
2019-08-27 17:12:36 +02:00
Eelco Dolstra
73728874ab
Hopefully fix post-hook test on macOS
...
https://hydra.nixos.org/build/99262744
2019-08-27 17:01:54 +02:00
Eelco Dolstra
45b3dc325a
Add 2.3 release notes
2019-08-27 17:00:04 +02:00
Matthew Bauer
800fba1037
Use wait4path on org.nixos.nix-daemon.plist
...
When using a volume, the nix-daemon path may not exist. To avoid this
issue, we must use the wait4path tool. This should solve one of the
issues in multi-user on macOS Catalina.
2019-08-27 10:58:48 -04:00
Vincent Ambo
a58af3e371
feat(k8s): Configure HTTPS ingress for the blog
...
Uses Google-managed certificates and an Ingress resource to set up an
HTTPS load-balancer.
This probably won't be the final version as the GKE Ingress is very
limited and can not do things like redirect URLs, which I need to
decommission the old setup.
2019-08-27 12:44:37 +01:00
Vincent Ambo
cae99692de
feat(k8s): Add Google managed TLS certificates
...
Introduces certificates for tazj.in & www.tazj.in.
2019-08-27 12:43:55 +01:00
Graham Christensen
171d784404
docs: operators: Make OR and AND capitalized
2019-08-27 06:55:22 -04:00
Eelco Dolstra
ee07ce7554
Merge pull request #3064 from pszubiak/systemd-unit-service-fix
...
nix-daemon.service: add install section.
2019-08-27 10:50:07 +02:00
Piotr Szubiakowski
d459224724
nix-daemon.service: add install section.
...
Signed-off-by: Piotr Szubiakowski <pszubiak@eso.org>
2019-08-27 10:35:35 +02:00
Vincent Ambo
593e96da60
chore(tazblog): Clean up unused dependencies
2019-08-25 23:21:26 +01:00
Vincent Ambo
1247848d76
refactor(tazblog): Implement HLint lints in all files
2019-08-25 23:07:43 +01:00
Vincent Ambo
561ed1fbbb
chore(tazblog): Remove i18n features
...
The blog has been English only for a few years. Old entries that
survived the migration to DNS will still be accessible.
2019-08-25 22:53:38 +01:00
Vincent Ambo
094aafecdd
chore(tazblog): Remove 'read more' feature
2019-08-25 20:22:57 +01:00
Vincent Ambo
6450347bf1
chore(tools): Remove ormolu from tools
...
The Ormolu derivation is too large to be instantiated on-demand. I've
resorted to installing this tool into my profile instead.
2019-08-25 20:17:03 +01:00
Vincent Ambo
1747df418e
chore(tazblog): Format source files with ormolu
...
Ormolu's formatting is quite annoying (it uses a lot of unnecessary
vertical space and doesn't align elements), but I can't be bothered to
do manual formatting - especially because whatever formatting
haskell-mode in Emacs produces seems to depend on an opaque state
machine or something.
2019-08-25 20:15:53 +01:00
Griffin Smith
d3f3890dc5
An @-sign in a box, in haskell
...
Initial commit of a Haskell version of Xanthous, written using Brick and
built with Nix.
This is so much nicer and so much easier
2019-08-25 13:28:10 -04:00
Griffin Smith
fb0d1b3e66
Wipe Rust project
...
Sorry rust, but you're just not fun to write
2019-08-25 13:25:13 -04:00