summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-10Add dnsmasq for .home networkBen Sima
2022-08-09Use wrapper and compiler fields from TargetBen Sima
2022-08-09Move serval TODOs into orgBen Sima
2022-08-08Ensure BIZ_ROOT is set in shell scriptsBen Sima
2022-08-08Remove some TODOsBen Sima
I don't like TODOs in my codebase, I'd rather keep them in org files. Eventually I need a linter that prevents all TODOs from getting into code.
2022-08-05Remove args from lisp exampleBen Sima
2022-08-05Load asdf before loading the target fileBen Sima
Asdf is required in order to load any third-party packages.
2022-08-05Refactoring to simplify some codeBen Sima
Reduced duplication of out and sysdeps detection. Some other readibility cleanups.
2022-08-05Combine GhcLib and GhcExe into just GhcBen Sima
2022-08-04Add wutbar glyph and use itBen Sima
2022-08-04Improve bild loggingBen Sima
2022-08-03Fix bild testBen Sima
2022-08-03Fix globbing in pre-push hookBen Sima
2022-08-03Distinguish between output name and output pathBen Sima
Bild.nix relies on output name when setting the output path, which is gonna be different than the dev build cabdir output path.
2022-08-03Print bild JSON analysis as a dictionary instead of a streamBen Sima
2022-08-03Key analyses on Namespace, not FilePathBen Sima
Namespace is unique, whereas FilePath could be relative or absolute, or have a leading . or trailing / or not.
2022-08-03Fold analyses with a caching containerBen Sima
2022-08-03Add module stub so these are buildableBen Sima
2022-08-03Add compilerFlags to TargetBen Sima
This moves logic into the analysis step, and allows better auditing because you can see exactly what flags and command bild will use to compile the target.
2022-08-02Make bild dev build work againBen Sima
Unfortunately, until bild can instantiate nix builds, it needs all of its compilers in the dev environment, and I need to pass this environment into the dev nix-shell in order for it to work in the repl or after being built to _/bin.
2022-08-02Simplify analyze code a bit moreBen Sima
2022-08-02Break up monolithic detectImports functionBen Sima
2022-08-02Fix test argument to depsBen Sima
2022-08-01Fix some lintsBen Sima
2022-08-01Lint only changed filesBen Sima
2022-08-01Log to dumb terminals betterBen Sima
2022-08-01Add missing runtime dependencies to bildBen Sima
2022-07-29Implement Guile linking for C buildsBen Sima
In order to write Guile code against C, I need to distiguish between libs and bins, so I did that, then I got the flags that gcc needs from `guile-config` and put them in the args for any C lib build. I tested this with Bessel.c and Bessel.scm (not in this patch, because I don't really want that code in my tree, I'll come up with another way to test it later).
2022-07-29Refactor replBen Sima
- added --bash in case you just really want a shell - added support for C programs
2022-07-29Parse sysdeps for C codeBen Sima
2022-07-29Update nixos-mailserver and deploy Biz/Cloud.nixBen Sima
The cloud was old, so some extra fixes snuck in that should have been a part of the nixpkgs upgrade.
2022-07-27Upgrade nixpkgsBen Sima
2022-07-26Port Niv.Cli to Biz.Bild.DepsBen Sima
2022-07-26Add hlint hints for bind +> and fmap </Ben Sima
2022-07-26Put _/bin on the PATHBen Sima
The motivation for this was to prevent `lint` from rebuilding every time I ran it. That was really annoying.
2022-07-25Concurrently analyze transitive dependenciesBen Sima
Before: ϟ time bild Biz/Dragons.hs good: bild: Biz/Dragons.hs real 0m31.587s user 0m25.073s sys 0m6.446s After: ϟ time bild Biz/Dragons.hs good: bild: Biz/Dragons.hs real 0m17.111s user 0m39.719s sys 0m9.145s So yeah this is a good speedup.
2022-07-25Run deadnix as a linterBen Sima
2022-07-25Generate both emacs and vim tagsBen Sima
2022-07-25Add basic support for building C codeBen Sima
2022-07-25Add tags support for more languagesBen Sima
Rust seems to not be supported in my ctags version :( Also rename some Ide scripts because these are commands, not really scripts.
2022-07-25Remove some unused dev dependenciesBen Sima
2022-07-25Fix typoBen Sima
2022-07-25Remove GHCJS support completelyBen Sima
I don't care about ghcjs anymore, the most javascript I want to do is jQuery.
2022-07-23Move comments to docstringsBen Sima
Just spent an hour implementing my own doc system, just to find out this is built in to guile :(
2022-07-23Fix shell/execBen Sima
2022-07-23Add simple rust support in replBen Sima
2022-07-21Remove rustc and scheme from global environmentBen Sima
2022-07-21Add sysdeps to repl environmentsBen Sima
2022-07-20Add PORT argument to replBen Sima
Also added -h help message.
2022-07-20Provision scheme environments with nixBen Sima
There's no `guileWith` in nixpkgs, so I think I just need to pass multiple `--packages` flags. I can't test this yet because I need to implement import detection in Bild.hs first, but that's less important because Guile ships with a bunch of SRFIs, which is nice, and anyway there aren't many Guile libraries in nixpkgs for me to pull from.