about summary refs log tree commit diff
path: root/default.nix (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-06-29 r/1130 chore(ops): Clean up old GCP infrastructure filesVincent Ambo1-7/+0
This removes almost all of the GCP-infrastructure leftovers from my previous setup. The DNS configuration is retained, but moves to my user folder instead. Change-Id: I1867acd379443882f11a3c645846c9902eadd5b0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/782 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: isomer <isomer@tvl.fyi>
2020-06-24 r/1076 refactor(ci-builds): Split up CI builds into multiple bucketsVincent Ambo1-1/+7
These categories separate CI targets, which hopefully avoids the out-of-space errors we have been seeing on Sourcehut. The sets of CI build targets are made available in the depot itself so that besadii can be updated to create a new build for each target group. For convenience, 'ciBuilds' contains an '__allTargets' attribute which combines the contents of each target batch - this makes it possible to still invoke a build for everything by using: nix-build -A ciBuilds.__allTargets Note: Some targets that were previously built in CI aren't anymore, most importantly my NixOS systems which don't fit on Sourcehut. Change-Id: Ia15ed7b743c8add51ae08ce0827a0ddfacd637e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/570 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-13 r/941 refactor(ops/nixos): Move my NixOS configurations to //users/tazjinVincent Ambo1-0/+1
NixOS modules move one level up because it's unlikely that //ops/nixos will contain actual systems at this point (they're user-specific). This is the first users folder, so it is also added to the root readTree invocation for the repository. Change-Id: I546c701145fa204b7ba7518a8a56a783588629e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/244 Reviewed-by: tazjin <mail@tazj.in>
2020-06-13 r/940 feat: Add 'depotPath' to depot root importVincent Ambo1-0/+4
This is useful for things like including NixOS modules in configurations without creating long and error-prone relative paths. Change-Id: I4a5ebb1a0e5adf90b6bc50e884db453e12461001 Reviewed-on: https://cl.tvl.fyi/c/depot/+/243 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-08 r/886 chore: Add //net to local package treesVincent Ambo1-1/+2
2020-02-21 r/558 refactor: Pass the depot as an argument named 'depot'Vincent Ambo1-3/+7
This change, which I've been meaning to do for a while, renames the attributes passed by readTree to things in the tree so that: * the depot root is now 'depot' * depot.third_party is additionally passed as 'pkgs' (for compatibility with exported subtrees)
2020-01-22 r/448 feat(lisp/dns): Check in very early DNS-over-HTTPS clientVincent Ambo1-0/+1
This includes very barebones support for querying TXT and MX records right now. The returned structure is not turned into a more convenient format and error handling is, well, NIL.
2020-01-11 r/369 fix(build): Pass 'lib' as readTree argument to packagesVincent Ambo1-1/+1
2019-12-21 r/279 refactor(nix/readTree): Move readTree to its own subfolderVincent Ambo1-1/+1
2019-12-21 r/265 feat(bootstrapping-2018): Fix build and check in built presentationVincent Ambo1-6/+7
This lets people browse the folder more easily, should they be so inclined for whatever reason.
2019-12-20 r/240 fix: Various minor fixes for new repository layoutVincent Ambo1-1/+1
2019-12-20 r/238 refactor: Fix a variety of filepaths for repo relayoutingVincent Ambo1-28/+6
This fixes readTree and the various project builds, as well as (hopefully) most documentation links inside of the projects.
2019-12-19 r/204 chore(build): Add package required for buildGo at the top-levelVincent Ambo1-1/+10
This is required to maintain buildGo compatibility with non-depot setups.
2019-12-18 r/188 fix(build): Add missing packages for Nixery imagesVincent Ambo1-0/+3
2019-12-18 r/183 fix(build): Fix compatibility with Nixery instanceVincent Ambo1-1/+14
2019-12-16 r/166 feat: Expose readTree for downstream consumersVincent Ambo1-0/+6
Exposes readTree from the package set but with a twist: It's exposed as a functor that references the `.config` field from itself to get at the configuration to be passed to packages. This makes it possible for downstream users to make use of `readTree` but with their own configuration.
2019-12-13 r/128 fix(build): Make repository callable in NixVincent Ambo1-0/+2
This is required for some things that expect package sets to be callable, e.g. Nixery.
2019-12-09 r/111 refactor: Move CI setup to separate Nix fileVincent Ambo1-22/+0
Instead of polluting the repository namespace with the list of CI projects, move that to a separate file. Currently the list of projects to be built by CI is still hardcoded, but this will be fixed soon.
2019-12-09 r/101 fix(build): Temporarily hardcode list of CI projectsVincent Ambo1-4/+12
Due to a missing feature in readTree I can't currently generate this list automatically.
2019-12-09 r/100 refactor: Introduce new layout with nixpkgs in third_partyVincent Ambo1-39/+45
This is not the final layout yet, but makes it so that my top-level attribute set is no longer overlaid into nixpkgs itself. This is useful for other people who are importing my monorepo.
2019-11-15 feat(nix): Filter projects that should be built by CIVincent Ambo1-13/+20
Instead of specifying CI projects manually, this filters them to move the CI configuration into the derivations `meta` attributes.
2019-11-15 chore(nix): Move files around to conform to new read-tree layoutVincent Ambo1-64/+20
Broadly speaking, the following things are included: * there is now a uniform `args` struct that is passed to all derivations, package headers have been changed appropriately * overrides are now loaded from a separate `override` folder just using read-tree.nix * third-party packages have moved into the `third_party` attribute set
2019-11-14 chore: Remove unstable channel (no longer in use)Vincent Ambo1-7/+0
2019-10-26 feat(services): Add nixcon-demo service with simple web serverVincent Ambo1-0/+1
2019-10-26 feat(third_party): Add naersk to package setVincent Ambo1-0/+6
2019-10-26 r/93 fix: Enable building of broken packagesVincent Ambo1-0/+1
Happstack is currently erroneously (afaict) marked as broken.
2019-10-25 chore: Bump nixpkgs and use Terraform from stableVincent Ambo1-3/+3
2019-09-22 r/88 refactor(build): Add ciProjects attribute for CI buildsVincent Ambo1-0/+8
This attribute contains a list of all derivations that should be built by the CI for this repository. This includes all of my own packages that are not marked as broken, as well as select third-party packages.
2019-09-21 r/85 chore: Bump Nix channel to a more recent versionVincent Ambo1-2/+2
This version has Nixery popularity data available.
2019-09-04 chore: Update kontemplate to v1.8.0Vincent Ambo1-4/+13
This version is agnostic of the working directory even if insertFile/insertTemplate are used, which makes it a lot nicer to work with in this repository structure.
2019-09-03 feat(tools): Introduce pass-compatible wrapper using Cloud KMSVincent Ambo1-0/+13
Adds a shell script that supports a subset of the 'pass' interface for compatibility with kontemplate, and wraps kontemplate in a script that places this version on the PATH. This makes it possible to use Cloud KMS encrypted secrets with kontemplate.
2019-09-02 r/74 chore(third_party): Remove git-appraiseVincent Ambo1-2/+0
Not actually in use here ...
2019-09-02 refactor(blog): Use callPackage to import derivationVincent Ambo1-1/+1
2019-09-02 r/69 feat(third_party): Add missing Quicklisp packages for GemmaVincent Ambo1-0/+7
Gemma depends on cl-prevalence, which isn't in the nixpkgs Quicklisp snapshot. This adds the package and its dependencies to the overlay.
2019-09-02 r/68 fix: Correct naming of variables in overlay functionVincent Ambo1-9/+9
2019-08-25 r/59 feat(build): Add Terraform from unstable channelVincent Ambo1-7/+18
2019-08-23 r/57 fix(gemma): Almost fix Gemma build by porting an old ElmVincent Ambo1-1/+10
This pulls in an old version of Elm from NixOS 17.09 which can still build the Elm code in Gemma. However, the Common Lisp build is now broken in some other way.
2019-08-20 r/45 feat(tools): Introduce ormolu for formatting Haskell codeVincent Ambo1-0/+6
2019-08-19 r/41 feat(tools): Add a horrifying tool to write blog posts into DNSVincent Ambo1-0/+1
2019-08-19 r/38 feat(third_party): Add nixery with Cachix configurationVincent Ambo1-1/+4
2019-08-16 r/34 feat(tools): Add kontemplateVincent Ambo1-2/+4
2019-08-15 r/33 feat(tools): Add Terraform 0.12 to local toolsVincent Ambo1-0/+1
This is pre-configured with the GCP provider.
2019-08-15 r/30 chore(nix): Remove overridden GHCVincent Ambo1-28/+13
We're not going down the Bazel route here, so this is not going to be necessary.
2019-07-04 r/21 feat(build): Introduce pre-packaged GHC with dependencies via NixVincent Ambo1-0/+20
This uses the Nix infrastructure's Haskell setup to create a GHC derivation that comes with all required Haskell packages, fetched & built via Nix. Downstream packages that want to make use of Haskell dependencies need them to be added to this list.
2019-07-04 r/15 fix(nix): Ensure package set is callable with/without argsVincent Ambo1-2/+2
When instantiating a Nix package via Bazel, the package set is called with an empty map as the argument. From the Nix REPL or the dispatch script, however, the package set is called without arguments. This change adds a catch-all optional argument in the package set which ensures that both use-cases are supported (similar to what nixpkgs itself does).
2019-07-02 r/11 feat(git-appraise): Add Nix build configurationVincent Ambo1-0/+2
2019-06-29 r/7 chore(build): Add Gemma to package setVincent Ambo1-0/+1
Note that this does not actually build right now because Elm has done a thing again to break the universe and it requires massive changes to the application to make it work again.
2019-06-29 r/4 feat(build): Add top-level package index fileVincent Ambo1-0/+17