about summary refs log tree commit diff
path: root/nix/buildkite/default.nix (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-02-02 r/3743 feat(nix/buildkite): Add parentOverride argument to extra stepsVincent Ambo1-9/+23
This can be used to override the parent derivation if its output is required, for example to inject versions which are only used during releases to avoid cache-busting. Change-Id: I2211496efa8f9bc98ea43b23e4f3f92c61a6da73 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5184 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
2022-02-02 r/3742 fix(nix/readTree): Use overrideAttrs with derivationsVincent Ambo1-2/+13
Derivations that support overrideAttrs now have their readTree markers merged in using it, as passthru attributes. This makes the significant difference that overriding readTree targets using `overrideAttrs` keeps their readTree data intact. Change-Id: Ieef635f048781bf4782c1a28532b89a66d9ca24d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5186 Tested-by: BuildkiteCI Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com> Autosubmit: tazjin <tazjin@tvl.su>
2022-02-02 r/3741 fix(3p/overlays): Use overrideAttrs to override shell derivationsVincent Ambo1-3/+5
Otherwise the skipping will be nuked by the subsequent readTree change (cl/5186). Change-Id: Ia1101d5073ecf892fb1881d6ee4a723c5d572c84 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5188 Tested-by: BuildkiteCI Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com> Autosubmit: tazjin <tazjin@tvl.su>
2022-02-02 r/3740 fix(nix/buildGo): Use overrideAttrs to add metadataVincent Ambo1-5/+7
Required for using overrideAttrs in readTree (cl/5186). Since this uses pkgs.runCommand we know that overrideAttrs is available. Change-Id: I18fdcc34cc79872834052caf4bf74555fdb766ce Reviewed-on: https://cl.tvl.fyi/c/depot/+/5187 Tested-by: BuildkiteCI Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com> Autosubmit: tazjin <tazjin@tvl.su>
2022-02-02 r/3739 style(grfn/home): Format i3.nix using nixpkgs-fmtGriffin Smith1-8/+8
This wasn't caught when introduced due to b/173 Change-Id: Ifa2a05464c0fd40c16c2ac14ca28d64ca9076f9b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5183 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2022-02-01 r/3738 chore(grfn/home): Rename deprecated optionsGriffin Smith2-12/+20
Change-Id: Ic209f46858d9834298d151d7c6b884f6d6f23dbe Reviewed-on: https://cl.tvl.fyi/c/depot/+/5158 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2022-02-01 r/3737 chore(grfn/system): Rename deprecated nixos optionsGriffin Smith2-13/+15
Change-Id: I2c519ac4a0e92312bbb90b2ecba063b7c06605ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/5157 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi>
2022-02-01 r/3736 feat(grfn/yeren): enable services.earlyoomGriffin Smith1-0/+5
Let's see if this'll prevent my system from locking up when I try to do too much compilation at once Change-Id: Ie1ecb973801a6ea51f57ed5f25a1964647f54e77 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5156 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
2022-02-01 r/3735 refactor(3p/overlays): Fetch emacs-overlay through nivVincent Ambo2-10/+14
Change-Id: I1c59d463eb1f50fa6e24774ec75ccd2e2d98e120 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5144 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-01 r/3734 fix(tazjin/tverskoy): copy & paste some l2tp fix from nixpkgs#64965Vincent Ambo3-37/+46
Change-Id: Ib6375cd2281ce7eff87d9a1f8bd8f811ed180a87 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5155 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
2022-02-01 r/3733 refactor(3p/nixpkgs): Pin nixpkgs sources via nivVincent Ambo3-29/+179
There's no need for us to reinvent the wheel here. niv pins are in //third_party/sources, and niv commands need to be run with `niv -s third_party/sources/sources.json` to operate on the correct file. Note that niv by default wants to put the loader file in //nix/sources.nix. This file has been moved to //third_party/sources/default.nix which makes niv throw a warning, but everything still works as intended. Change-Id: I2b2a6f8edf33c429a6d7be9d174ba1996d9a0193 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5143 Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
2022-02-01 r/3732 feat(wpcarro/redshift): Support redshift (again) 🎉William Carroll1-0/+6
So it turns out that there's a NixOS *and* a home-manager module for redshift. While I couldn't get the NixOS module to WAI, the home-manager version seems to work just fine. I'm hard-coding the lat/lon for now, because I still can't get "geoclue2" to work, but I'm not interested in debugging that at the moment. Change-Id: I7b44df44dc845ec3ad49e649019df459fc0bca56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5154 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-02-01 r/3731 fix(wpcarro/redshift): Drop support for redshiftWilliam Carroll1-5/+0
After spending ~1h trying to debug NixOS's redshift module, I'm nuking it for my own sanity. Change-Id: I38403d758db81e5917d1d06e1492efe2013232c2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5153 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-02-01 r/3730 feat(wpcarro/marcus): Enable redshift 👀William Carroll1-0/+5
Should be easier on my eyes. Change-Id: I183d2516ecdb582264b2a2548a05723d87274a83 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5152 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-31 r/3729 feat(wpcarro/blog): Create short post about scheduled rebootsWilliam Carroll2-0/+47
Slowly building the habit of blogging more (especially about nix). Change-Id: I13006a6555d746ab55b4b282ea83bc732573a58e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5149 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-31 r/3728 feat(wpcarro/marcus): Schedule daily upgradesWilliam Carroll1-0/+5
1x/d rebuild marcus with the latest state from depot's `origin/canon`. Change-Id: Ibeb40587e8f615d25e0819171fc00e08eda13d0b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5148 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-31 r/3727 feat(wpcarro/marcus): Schedule daily rebootsWilliam Carroll1-0/+9
Every day at 3AM reboot marcus. Change-Id: Ia076b937a110039077add13360bd4fac3d7aa9d2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5147 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-01-31 r/3726 feat(wpcarro/emacs): Format generated shell code of load kwargWilliam Carroll1-1/+1
This makes the human-parsing of the generated shell scripts a bit more pleasant (I'm looking at you, home-manager). Change-Id: I01b9075892dbf4907d6cf813575e36f69e0c5090 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5146 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-01-31 r/3725 style(grfn/mugwump): Work around a nixpkgs-fmt bugVincent Ambo1-8/+10
Change-Id: I5dd328a955446a4417b7ceb015c924ca2ebae654 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5145 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2022-01-31 r/3724 feat(depotfmt): format Nix code using nixpkgs-fmtVincent Ambo1-0/+8
Change-Id: Ieffd04e1654e37500a6f6f5e4f29d09137bbc4e9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5142 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-31 r/3723 style: format entire depot with nixpkgs-fmtVincent Ambo310-5551/+7339
This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi>
2022-01-31 r/3722 feat(3p/overlays): bump nixpkgs-fmt to latest master commitVincent Ambo1-0/+16
Change-Id: I1ebcce3404d4ee07ff21de60b1b370d80293cb74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5141 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2022-01-31 r/3721 revert: "feat(tazjin/tverskoy): Enable &