Vincent Ambo
fd9fb7730a
feat(third_party/lisp): Add derivation for CL+SSL
2020-01-09 01:55:42 +00:00
Vincent Ambo
11e0bf4958
feat(third_party/lisp): Add dummy package for sb-posix
2020-01-09 01:55:31 +00:00
Vincent Ambo
3940b2e1a8
feat(third_party/lisp): Add derivation for flexi-streams
2020-01-09 01:15:31 +00:00
Vincent Ambo
815574ad5f
feat(third_party/lisp): Add derivation for trivial-gray-streams
2020-01-09 01:13:14 +00:00
Vincent Ambo
67170024d2
feat(third_party/lisp): Add derivation for trivial-garbage
2020-01-09 01:10:28 +00:00
Vincent Ambo
7edbcf9c04
feat(third_party/lisp): Add derivation for bordeaux-threads
2020-01-09 01:07:12 +00:00
Vincent Ambo
f8519aefef
feat(third_party/lisp): Add derivation for cffi
2020-01-09 01:00:11 +00:00
Vincent Ambo
e8d0488367
feat(third_party/lisp): Add dummy packages for ASDF & UIOP
...
These both ship with SBCL, but need to be forced to load.
2020-01-09 00:59:45 +00:00
Vincent Ambo
2a170f1ed7
fix(buildLisp): Perform a topological sort of dependencies
...
This ensures that dependencies are loaded in the correct order in
larger dependency graphs.
2020-01-09 00:46:20 +00:00
Vincent Ambo
06362a812e
feat(third_party/lisp): Add derivation for trivial-features
2020-01-09 00:17:44 +00:00
Vincent Ambo
07ee256932
feat(third_party/lisp): Add derivation for babel
2020-01-09 00:17:39 +00:00
Vincent Ambo
d9e1075e28
feat(third_party/lisp): Add derivation for Alexandria
2020-01-09 00:04:52 +00:00
Vincent Ambo
e3a8dc9500
fix(buildLisp): Cursed code to fix load ordering
...
It's not enough to compile in the right order - turns out you also
have to load the compiled objects in the right order.
To achieve this some cursed code has been added that changes the Lisp
generated by Nix to compile the other Lisp so that it also generates
some bash, which Nix can then use to concatenate the FASLs in the
right order to feed them to Lisp again.
It works but I'll replace it with a more elegant solution once one is
needed.
2020-01-08 23:57:34 +00:00
Vincent Ambo
7bc10eb9b7
feat(buildLisp): Add initial, tiny example program
2020-01-08 21:41:43 +00:00
Vincent Ambo
bdad8f6642
feat(buildLisp): Implement buildLisp.program to dump executables
...
Dumps the executable image from SBCL to $out/bin/$name.
Image compression is disabled.
2020-01-08 21:39:26 +00:00
Vincent Ambo
2bfe073eb2
refactor(buildLisp): Inline dependency loading in genCompileLisp
2020-01-08 21:39:06 +00:00
Vincent Ambo
b5e1e81a3d
feat(buildLisp): Add function to wrap SBCL with dependencies
...
Adds `buildLisp.sbclWith` which creates an SBCL wrapper the contains
all the requested dependencies.
2020-01-08 19:38:29 +00:00
Vincent Ambo
ca199a57d9
feat(buildLisp): Implement dependency loading & propagation
...
Similar to buildGo.nix, the library derivations carry information
about their dependencies which is merged when a load file is
instantiated.
The load files are created when compiling libraries, but will in the
future also be created when wrapping SBCL and dumping images.
2020-01-08 18:40:53 +00:00
Vincent Ambo
1297afec4b
fix(buildLisp): Fail the build on compilation errors
...
This needs to be handled explicitly in the COMPILE-FILE form.
2020-01-08 17:53:06 +00:00
Vincent Ambo
894c23510b
fix(third_party/git): Update dottime patch for git
...
Updates the commit message & fixes whitespace error before submitting
this.
2020-01-08 13:02:11 +00:00
Vincent Ambo
a954bd8d5e
feat(nix/buildLisp): Add initial sketch including buildLisp.library
...
Adds a Nix function to build a Lisp library out of a specified set of
Nix files. All files are combined into a single FASL.
This is by design only compatible with SBCL (for now).
2020-01-08 02:00:54 +00:00
Vincent Ambo
cd0093d46e
fix(emacs): Minor typo fix
2020-01-08 00:32:56 +00:00
Vincent Ambo
9e2f86d65d
chore(emacs): Bump emacs-libvterm to a more recent version
2020-01-07 22:28:36 +00:00
Vincent Ambo
efc782fcdc
fix(emacs): Disable linking of imagemagick due to vterm crashes
...
See explanatory comment.
2020-01-07 22:28:17 +00:00
Vincent Ambo
31f66491a9
feat(ops/nixos/nugget): Install SBCL in system packages
2020-01-07 22:26:01 +00:00
Vincent Ambo
33a9dccba1
chore(ops/secrets): Add Google Maps API key
2020-01-05 21:12:08 +00:00
Vincent Ambo
7b77e9986c
feat(fun/amsterdump): Add distance matrix lookup for fundu results
...
This contains a little tool that can make requests to the Google Maps
API for distance matrix lookups from Fundu results to Schiphol Airport
and Amsterdam Centraal.
<3 edef!
2020-01-05 21:10:37 +00:00
Vincent Ambo
b8ca70539b
chore(third_party/gopkgs): Add Google Maps API client & deps
2020-01-05 21:08:33 +00:00
Vincent Ambo
1e71b80f6a
fix(emacs): Build emacs with imagemagick support
2020-01-05 17:37:01 +00:00
Vincent Ambo
b2af61e576
chore(third_party): Bump channel to nixos-unstable
...
Turns out it is useful to have builds cached in Hydra, actually.
2020-01-05 16:59:52 +00:00
Vincent Ambo
d66c7a8942
feat(ops/nixos/nugget): Install msmtp & lieer timers
2020-01-05 16:59:52 +00:00
Vincent Ambo
e5608cf079
chore(ops/nixos/nugget): Install various needed packages
2020-01-05 16:59:52 +00:00
Eelco Dolstra
e3eecb5927
Move #include
...
(cherry picked from commit 8beedd44861d1fe7208609ee8d231ca1c02dedf6)
(cherry picked from commit 0678e4d56a839f940af8aa70059ced48b393e817)
2020-01-05 16:30:52 +01:00
Eelco Dolstra
f84c3f9d65
Hide FunctionCallTrace constructor/destructor
...
This prevents them from being inlined. On gcc 9, this reduces the
stack size needed for
nix-instantiate '<nixpkgs>' -A texlive.combined.scheme-full --dry-run
from 12.9 MiB to 4.8 MiB.
(cherry picked from commit cb90e382b5b6e177ea902b3909fd1897643ae3cd)
2020-01-05 16:30:38 +01:00
zimbatm
c94fd5f51a
function-trace: always show the trace
...
If the user invokes nix with --trace-function-calls it means that they
want to see the trace.
(cherry picked from commit 619cc4af855fab7b0400586a4fd40745b23e72ad)
2020-01-05 16:30:32 +01:00
Vincent Ambo
b2cd30bfd4
chore(emacs.d): Remove edwina configuration
...
Sounds good, doesn't work.
(Okay, it does - but not like I want it to and with too many caveats
at the moment - maybe later)
2020-01-05 01:13:00 +00:00
Vincent Ambo
85ee07457c
feat(ops/nixos): Add 'rebuilder' helper script
...
This script rebuilds & activates system configuration based on the
hostname.
Currently since there is only one host this isn't particularly
interesting.
2020-01-04 22:50:34 +00:00
Vincent Ambo
63dc41bcf3
feat(ops/nixos): Check in updated system configuration for 'nugget'
...
This is the rebrand of the desktop machine, now running a config
straight out of the depot.
2020-01-04 22:50:34 +00:00
Vincent Ambo
496648f237
chore(ops/nixos): Remove deprecated NixOS config files
2020-01-04 22:50:34 +00:00
Vincent Ambo
1d687c5303
chore(ops/nixos): Move NixOS configuration one level up
2020-01-04 22:50:19 +00:00
Vincent Ambo
3638048c9b
fix(emacs.d): Use 'fish' from $PATH when launching vterms
...
This is required because the configuration is used on machines where
fish comes from Nix, and on ones where it does not.
2020-01-04 22:50:19 +00:00
Eelco Dolstra
60429b86ba
.version: Remove newline
2020-01-04 14:16:04 +01:00
Arnout Engelen
95be8d3b12
Document builtins.placeholder
...
(cherry picked from commit 4e70652ee33641a6cfddbfb9b7d741515f1bf98a)
2020-01-04 14:12:22 +01:00
Puck Meerburg
9879e25473
Add testcase for attrset using __overrides and dynamic attrs
...
(cherry picked from commit cdadbf770855e828a0f64d70a47db43e920ad137)
2020-01-04 14:12:18 +01:00
Puck Meerburg
59bbc31701
Ensure enough space in attrset bindings when using both __overrides and dynamic attributes
...
(cherry picked from commit cd55f91ad2075d5ebb506950dfbc4161cab22db5)
2020-01-04 14:12:13 +01:00
Maximilian Bosch
195cc3f883
doc: Document --dry-run
option for nix-build
...
(cherry picked from commit 52ffe2797a6a943bac968e92ad443a567dfdf80e)
2020-01-04 14:11:52 +01:00
Kevin Stock
a118444f36
docs: correct default location of log directory
...
(cherry picked from commit cea05e5ee758daad40047db0b861980d80da2e85)
2020-01-04 14:11:31 +01:00
Robin Gloster
3130aafd01
builtins.toJSON: fix __toString usage
...
(cherry picked from commit e583df52800b4baa1564b027fe3b83a21756c2cc)
2020-01-04 14:10:56 +01:00
Eelco Dolstra
6c90e3b9ac
install-multi-user.sh: Remove unused variables
...
https://hydra.nixos.org/build/104119659
(cherry picked from commit 2f96a89646c6e55e2f1bbb80805dcbbe60fa94ae)
2020-01-04 14:10:29 +01:00
Chaz Schlarp
9f524d9423
Remove superfluous IAM action for S3 cache
...
`s3:ListObjects` isn't a real IAM action, but _is_ the name of an S3 API method. `s3:ListBucket` is the relevant action for that method.
https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html
(cherry picked from commit c92ea927e508f3c06b6b3ee68e1f0565264cac2c)
2020-01-04 14:10:23 +01:00