summaryrefslogtreecommitdiff
path: root/Biz
AgeCommit message (Collapse)Author
2023-08-07Documentation improvementsBen Sima
2023-08-03Add packageSet argumentBen Sima
2023-08-03Move buildPhase to a nix-instantiate argumentBen Sima
2023-08-02Better log messageBen Sima
2023-08-02Some notes on Biz.LogBen Sima
2023-08-02Fix nix syntax to include pkgsBen Sima
2023-08-02Factor out nix builder into Haskell.nixBen Sima
This also fixed a bug where every dependency would get pulled into the Haskell target while searching for transitive dependencies.
2023-07-31Implement nix builds for HaskellBen Sima
This is prototype quality. For some reason I think it breaks when doing `build **/*.hs`, which isn't good. But also it's working, and the code feels good. Next I'd like to get Python builds working, as hopefully that will force me to improve the existing code to support a second language.
2023-07-31Capture and return stdout from procBen Sima
2023-07-31Add srcs to TargetBen Sima
Only fully implemented for Haskell at the moment but that is okay.
2023-07-31Prototype nix expression generationBen Sima
There are some limitations to this implementation: 1. Using `runCommand` means this will re-run any time anything changes in the repo. The solution is to use the existing import detection to make a list of source files, and put that into a `stdenv.mkDerivation`, which I'll do next. 2. The `NeatInterpolation` usage is ugly. The templated nix code should be extracted into its own file, such as `Biz/Bild/Builder.nix`. 3. I'm not actually calling it yet. The ideal thing would be to call `nix-instantiate`, get the output drv path, and then call `nix-store --realise` on that. To do that I need to refactor my `proc` function to return stdout to the calling function, and I should probably just make helper functions like `nixInstatiate :: Target -> IO DrvPath` and `nixStoreRealise :: DrvPath -> NixStorePath`, or something like that.
2023-07-28Fix tags generation in git hookBen Sima
2023-07-28Add NIX_CFLAGS_COMPILE and some depsBen Sima
2023-07-12Fix sabten portBen Sima
2023-05-03Add C indent linterBen Sima
2023-05-03Wipbase implemented by GPT-4Ben Sima
2023-04-28Add patched autogen for guile 3Ben Sima
2023-04-28Parse more meta in scheme codeBen Sima
2023-04-28Default to Guile 3.0 everywhereBen Sima
Without this, Guile libraries like SDL2 will use Guile 2.0 instead.
2023-04-28Reorganize to Biz/Cloud/CommsBen Sima
2023-04-28Setup meshhub for funBen Sima
2023-04-07Add bitcoin rpc portBen Sima
2023-01-09Reorganize some Auth/App stuffBen Sima
2023-01-06Use str instead of Text.packBen Sima
2023-01-06Fix guile lib building bugBen Sima
I need to guard on the existence of `out`. This should properly be a `Maybe FilePath`, but to make that change requires a lot of refactoring that I don't want to do right now. Instead, I added it to my todo list for later.
2023-01-06Expose some packages in the nix libraryBen Sima
At least one namespace (Biz/Dragons/Analysis.nix) needs this.
2023-01-05Fix a bug where I couldn't bild from a subdirBen Sima
I need to use the absPath, and the `makeAbsolute` function doesn't actually verify that the path is correct, it just prepends the CWD to the given path.
2023-01-05Also log bild output to a fileBen Sima
2023-01-05Enable nostr nip-5 verificationBen Sima
2023-01-04Deploy nostr relay serviceBen Sima
2023-01-03Add mumble and botamusique servicesBen Sima
2023-01-03Add nl to push logging outputBen Sima
2023-01-03Remove devalloc.io (expired domain)Ben Sima
2023-01-02Add m.youtube redirectBen Sima
2023-01-01Add black and pylintBen Sima
2023-01-01Support -h in Biz.CliBen Sima
2022-12-29Update nixpkgsBen Sima
Redis was failing a test on the previous version.
2022-12-28Get ava GPT chatbot prototype workingBen Sima
Mostly thid required packaging up some deps, but also had to recompile stuff with cuda support.
2022-12-16Stub ava chatbotBen Sima
2022-12-16Switch from master to nixos-22.11Ben Sima
This way I am more likely to hit the cache and not have to build everything all the time.
2022-12-15Update nixpkgsBen Sima
2022-12-01Build gnutls with guile bindingsBen Sima
2022-11-29Trivial scheme cleanupsBen Sima
2022-11-14Add delete-project plugin to GerritBen Sima
2022-11-13Add test for building guile extensionsBen Sima
Guile linking was first implemented in d8fe6f7ac54f155fe5a3c33509249a70d0c816c5. This test remained uncommitted since then because I wanted a better way to test it, but I couldn't figure out another way to test it, so here we are.
2022-11-13Add Biz/Dev as a default substituterBen Sima
There's probably a better way to do this but this should work for now I guess.
2022-11-12Deploy gerritBen Sima
2022-11-12Disable gmnisrvBen Sima
Its broken, the service fails to start every time, its annoying.
2022-11-07Support cudaBen Sima
2022-11-02Select built nix targets with shipBen Sima