The new apple-sdk pattern no longer requires manually specifying
frameworks.
Change-Id: I70995f2353f540c1d5b6fc71e009860c1a20e551
Reviewed-on: https://cl.snix.dev/c/snix/+/30116
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
We don't have an email server configured (yet), we can resurrect it once
we do.
Change-Id: I568075154c6169d031462f39b43ce5897a754f19
Reviewed-on: https://cl.snix.dev/c/snix/+/30109
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
This uses runInLinuxVM to seed tvix-store with a path/closure, then sets
up a local-overlay store mount config using the following setup:
/tmp/tvix exposes everything seeded into tvix
/tmp/scratch represents an empty "local" nix store
This is overlayed to /tmp/merged/nix/store
(using /tmp/work as an overlayfs work dir).
Nix is configured with the local-overlay feature:
- setting /tmp/merged as root
- configuring a unix:///tmp/tvix-daemon.sock as lower store,
with lower-store.real set to /tmp/tvix
- configuring /tmp/scratch as an upper layer
For some reasons, check-mount needs to be set to false, as Nix doesn't
seem happy with the way we set up the mountpoints.
Change-Id: I03e1cf1d3aaa021a63dcb30ae482a6c3977851ba
Reviewed-on: https://cl.snix.dev/c/snix/+/30087
Reviewed-by: Vova Kryachko <v.kryachko@gmail.com>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: besadii
It's convenient for depending on sub-tree members of the current file as
well as gives access to siblings.
Change-Id: I74234cec6566177d88d3bc8507fa3f6ec789adb8
Reviewed-on: https://cl.snix.dev/c/snix/+/30098
Reviewed-by: adis bladis <adisbladis@gmail.com>
Tested-by: besadii
Tests were removed in cff6575948 to get rid of yants.
This reimplements a minimal runTestsuite feature set to support the readTree tests.
Fixes https://git.snix.dev/snix/snix/issues/71
Change-Id: I56e6e6e518cbbd6170b11f6d9ee8d62485dcb56e
Reviewed-on: https://cl.snix.dev/c/snix/+/30107
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: adis bladis <adisbladis@gmail.com>
With https://cl.snix.dev/c/snix/+/30108 it is now possible to also test
the complete nixos installer ISO with the generated nixos docs.
Change-Id: Id9f43bbbac45a110d06d955df53b21d2300dcd68
Reviewed-on: https://cl.snix.dev/c/snix/+/30110
Tested-by: besadii
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Reviewed-by: Florian Klink <flokli@flokli.de>
There's been a few deadlock problems with Nix 2.3, as discusssed in the
commit message of https://cl.tvl.fyi/c/depot/+/12334.
However, since the fork nothing prevents us from dropping the Nix 2.3
requirement for CI.
Change-Id: Ib00603597dbc11dc1b619fdeee264d7d519eaa02
Reviewed-on: https://cl.snix.dev/c/snix/+/30108
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ryan Lahfa <masterancpp@gmail.com>
As soon as you pass in an already-instantiated nixpkgs version, it will
cause nixpkgs.hostPlatform etc. to be not applied.
This means it's impossible to describe the architecture of a VM closure
you're deploying, and have it deviate from the machine you're evaluating
from, making it quite hard to deploy that x86_64-linux machine from
aarch64-linux (where I'm writing this commit message from).
Drop explicitly passing in nixpkgs.path, and set nixpkgs.hostPlatform
explicitly for all remaining system configurations in the repository
where not already set.
Change-Id: Ie2a596e0826da54674b4f02fcd8fed3569fee0a4
Reviewed-on: https://cl.snix.dev/c/snix/+/30104
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ryan Lahfa <masterancpp@gmail.com>
This merges the two directories together, and explains the two different
AWS profiles and what they're used for.
Change-Id: Ieaa09be5af02491056f5ad83b1d639e2de9a218b
Reviewed-on: https://cl.snix.dev/c/snix/+/30102
Autosubmit: Florian Klink <flokli@flokli.de>
Reviewed-by: Ryan Lahfa <masterancpp@gmail.com>
Tested-by: besadii
This was a personal application before, now it's at the `snix-project`
org.
Change-Id: I6df9393f23593f58739f331e73103022301b4f11
Reviewed-on: https://cl.snix.dev/c/snix/+/30101
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ryan Lahfa <masterancpp@gmail.com>
Move this into a let binding and reuse it further down in
defaultCrateOverridesForPkgs, rather than going through the fixpoint.
Change-Id: I9df86189ee788adbecfabf64a09463103e4a626f
Reviewed-on: https://cl.snix.dev/c/snix/+/30103
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Vova Kryachko <v.kryachko@gmail.com>
nixpkgs has merged their sdks together, and it doesn't need to be
specified anymore at all, as it's added to stdenv by default.
Explicitly configuring a specific version is only needed if we want to
override the version.
Change-Id: Iff7f2da43733eb48f16d2483587518f00761fb91
Reviewed-on: https://cl.snix.dev/c/snix/+/30096
Tested-by: besadii
Reviewed-by: Vova Kryachko <v.kryachko@gmail.com>
This was using a constant, which is fine to eagerly evaluate (as it
is constant, saves thunking and won't cause any observable side-effects).
Nix probably started eagerly evaluating these at some point, and after
some discussion with Robert and Raito, it looks like this is fine and
Lix (where it still is lazy right now) might be open to backport it.
Change the testcase to be a bit more complicated (using `12 + 1`
instead of `12`), which still tests what the test wants to primarily
test, without failing on these (irrelevant) changes in laziness.
This means we don't need to pull in a specific version of Nix in our
shell.
This fixes seeing nix build logs while in the tvix-shell, which was
broken on machines not running Nix 2.3.
Fixes: https://git.snix.dev/snix/snix/issues/18
See-Also: https://github.com/NixOS/nix/issues/12666
Change-Id: Ib7f53bc7ddd8b9f474aecd5315bbfd0599285752
Reviewed-on: https://cl.snix.dev/c/snix/+/30090
Reviewed-by: Ryan Lahfa <masterancpp@gmail.com>
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
This was previously only used to fix the Tvix subtree pipeline, not the
depot pipeline.
Running it for refs/heads/canon in snix is gonna trigger a lot of
unnecessary builds.
Change-Id: I1b5fdfcc0fe5408cda27053beb317cfeecdc6ca4
Everything was large=true and then nothing was small=true and did not
have a hostname.
This is fixed.
Change-Id: Id90e6246f9ab44ce020d999e975dd8b4cd4492c9
Signed-off-by: Ryan Lahfa <raito@lix.systems>
cl.snix.fyi/q/$ID where $ID ≤ 30K will redirect (301) to
cl.tvl.fyi/q/$ID to keep the old links working.
Change-Id: I27b496a1c52a3de3d106292ba7a2931b0f15fa49
Signed-off-by: Ryan Lahfa <raito@lix.systems>
This adds a new Website/Docs for Snix, using Thulite / Doks, which is
mostly hugo and a bit of npm.
Change-Id: Iea10d4068fa783ec0ddd6bcaba5c8d92b1a1168f