about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2020-01-17 r/391 feat(third_party/lisp): Add derivation for asdf-flvVincent Ambo1-0/+12
2020-01-17 r/390 Merge commit '45fea96d8de14ffe08eef5fd8f3b6f4ecbd08eac' as ↵Vincent Ambo7-0/+224
'third_party/lisp/asdf-flv'
2020-01-17 Squashed 'third_party/lisp/asdf-flv/' content from commit fc5b739Vincent Ambo7-0/+224
git-subtree-dir: third_party/lisp/asdf-flv git-subtree-split: fc5b7399767ca35bfb420bbeb9e08494e441dc69
2020-01-17 r/389 feat(emacs): Install lispy for evaluationVincent Ambo1-1/+2
Not configuring this automatically yet, I mostly want to try it out.
2020-01-17 r/388 fix(emacs.d): Load relevant modes for Lisp development in IELMVincent Ambo1-0/+6
2020-01-17 r/387 feat(emacs-pkgs/nix-util): Add nix/sly-from-depot functionVincent Ambo1-1/+37
Adds a function that can launch Sly with a pre-configured SBCL for a Lisp derivation in the depot. This makes it convenient to spin up development environments for Lisp libraries and programs by simply calling `M-x nix/sly-from-depot RET tools.something`. This relies on `nix-depot-path` being configured currently as I have not yet reliably added the depot to my NIX_PATH on all machines.
2020-01-17 r/386 fix(nix/buildLisp): Don't load binaries in sbclWithVincent Ambo1-3/+11
Adds an attribute on each Lisp derivation that specifies whether it is a binary or not. This attribute is then filtered for in sbclWith.
2020-01-17 r/385 feat(nix/buildLisp): Support passing programs to sbclWithVincent Ambo1-1/+1
Adds the necessary attributes on derivations created by buildLisp.program for them to be passed to buildLisp.sbclWith. This makes it possible to easily spin up Lisp environments that contain everything needed for a given program.
2020-01-17 r/384 fix(third_party/lisp): Fix name of cl-ppcre packageVincent Ambo1-1/+1
2020-01-15 r/383 feat(emacs.d): Configure Sly for Common LispVincent Ambo1-0/+8
Sets up Lisp modes in Sly REPL and points at the local hyperspec checkout. In fact the Hyperspec bit should probably be managed by Nix, but one step at a time.
2020-01-12 r/382 feat(third_party/cgit): Render timestamps in dottimeVincent Ambo4-8/+8
Using the DATE_DOTTIME format support in git.
2020-01-12 r/381 chore(web/cgit-taz): Use in-tree cgit version insteadVincent Ambo1-11/+2
Drops the previous patch setup to use //third_party/cgit instead.
2020-01-12 r/380 feat(third_party/cgit): Add derivation to build cgitVincent Ambo3-0/+41
This is pretty much exactly the derivation from nixpkgs, with some things removed to reduce the closure size (e.g. the various formatters used in the default cgit version, which are replaced by cheddar in my setup).
2020-01-12 r/379 feat(third_party/git): Add derivation to build gitVincent Ambo3-0/+18
This overrides the upstream derivation to: * use local sources * build `git send-email` It also calls autoreconf before building because files that are included in the git distribution tarball (which the normal derivation uses) are missing from source.
2020-01-11 r/378 chore(web/cgit-taz): Remove patches which have been integratedVincent Ambo3-210/+0
These patches now live as commits at //third_party/cgit
2020-01-11 r/377 feat(third_party/cgit): Generate links to about pages from subtreesVincent Ambo1-4/+10
If you're on tree/foo/bar, the about link will now point to about/foo/bar. Currently the annoying thing about this is that it will also do it for files.
2020-01-11 r/376 feat(third_party/cgit): Use README at each subtreeVincent Ambo1-0/+12
This means that individual subtrees of a repository will also have their READMEs rendered on the about page, for example: /foo/bar/README.md Will render on: /about/foo/bar/ This is useful for monorepo setups in which subtrees represent individual projects.
2020-01-11 r/375 feat(third_party/cgit): Generate monorepo compatible URLsVincent Ambo2-43/+10
Generates URLs that do not include the repository name. On git.tazj.in, only one repository (depot) is served - hence URLs generated by cgit need not include the name.
2020-01-11 r/374 feat(third_party/git/date): add "dottime" formatVincent Ambo5-1/+27
Adds dottime (as defined on https://dotti.me) as a timestamp format. This format is designed to simplify working with timestamps across many different timezones by keeping the timestamp format itself in UTC (and indicating this with a dot character), but appending the local offset. This is implemented as a new format because the timestamp needs to be rendered both as UTC and including the offset, an implementation using a strftime formatting string is not sufficient.
2020-01-11 r/373 merge(third_party/git): Merge squashed git subtree at v2.23.0Vincent Ambo3629-0/+1139934
Merge commit '1b593e1ea4d2af0f6444d9a7788d5d99abd6fde5' as 'third_party/git'
2020-01-11 Squashed 'third_party/git/' content from commit cb71568594Vincent Ambo3629-0/+1139934
git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7
2020-01-11 r/372 chore(third_party/git): Remove plain patch check-inVincent Ambo2-125/+0
2020-01-11 r/371 merge(third_party/cgit): Import at master of 2020-01-11Vincent Ambo102-0/+15631
Imported commit '723dc8fbcb1a4609c264758eae420ee2811a2b55' as 'third_party/cgit'.
2020-01-11 Squashed 'third_party/cgit/' content from commit 8fc0c81Vincent Ambo102-0/+15631
git-subtree-dir: third_party/cgit git-subtree-split: 8fc0c81bbbed21ee30e8a48b2ab1066a029b7b32
2020-01-11 r/370 fix(emacs.d): Trim superfluous whitespace from TODO commentsVincent Ambo1-1/+1
2020-01-11 r/369 fix(build): Pass 'lib' as readTree argument to packagesVincent Ambo1-1/+1
2020-01-10 r/368 feat(third_party/lisp): Add derivation for cl-ansi-textVincent Ambo1-0/+19
2020-01-10 r/367 feat(third_party/lisp): Add derivation for cl-colors2Vincent Ambo1-0/+21
2020-01-10 r/366 feat(third_party/lisp): Add derivation for cl-ppcreVincent Ambo1-0/+30
2020-01-09 r/365 fix(buildLisp): Wrap executables to set load paths correctlyVincent Ambo2-16/+10
I can not currently find a way to set the CFFI variables correctly to get it to load libraries from Nix. In the absence of that feature, a wrapper also does the trick.
2020-01-09 r/364 feat(buildLisp): Initial implementation of foreign library loadingVincent Ambo1-9/+46
Adds a new 'native' parameter to the buildLisp functions in which libraries can be passed in. This does not yet work with CFFI packages.
2020-01-09 r/363 feat(third_party/lisp): Add derivation for CL+SSLVincent Ambo1-0/+38
2020-01-09 r/362 feat(third_party/lisp): Add dummy package for sb-posixVincent Ambo1-0/+10
2020-01-09 r/361 feat(third_party/lisp): Add derivation for flexi-streamsVincent Ambo1-0/+34
2020-01-09 r/360 feat(third_party/lisp): Add derivation for trivial-gray-streamsVincent Ambo1-0/+16
2020-01-09 r/359 feat(third_party/lisp): Add derivation for trivial-garbageVincent Ambo1-0/+12
2020-01-09 r/358 feat(third_party/lisp): Add derivation for bordeaux-threadsVincent Ambo1-0/+20
2020-01-09 r/357 feat(third_party/lisp): Add derivation for cffiVincent Ambo1-0/+32
2020-01-09 r/356 feat(third_party/lisp): Add dummy packages for ASDF & UIOPVincent Ambo2-0/+19
These both ship with SBCL, but need to be forced to load.
2020-01-09 r/355 fix(buildLisp): Perform a topological sort of dependenciesVincent Ambo1-8/+7
This ensures that dependencies are loaded in the correct order in larger dependency graphs.
2020-01-09 r/354 feat(third_party/lisp): Add derivation for trivial-featuresVincent Ambo1-0/+12
2020-01-09 r/353 feat(third_party/lisp): Add derivation for babelVincent Ambo1-0/+31
2020-01-09 r/352 feat(third_party/lisp): Add derivation for AlexandriaVincent Ambo1-0/+32
2020-01-08 r/351 fix(buildLisp): Cursed code to fix load orderingVincent Ambo1-10/+23
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 r/350 feat(buildLisp): Add initial, tiny example programVincent Ambo3-0/+45
2020-01-08 r/349 feat(buildLisp): Implement buildLisp.program to dump executablesVincent Ambo1-4/+30
Dumps the executable image from SBCL to $out/bin/$name. Image compression is disabled.
2020-01-08 r/348 refactor(buildLisp): Inline dependency loading in genCompileLispVincent Ambo1-35/+44
2020-01-08 r/347 feat(buildLisp): Add function to wrap SBCL with dependenciesVincent Ambo1-2/+4
Adds `buildLisp.sbclWith` which creates an SBCL wrapper the contains all the requested dependencies.
2020-01-08 r/346 feat(buildLisp): Implement dependency loading & propagationVincent Ambo2-4/+17
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 r/345 fix(buildLisp): Fail the build on compilation errorsVincent Ambo1-1/+4
This needs to be handled explicitly in the COMPILE-FILE form.