tvl-depot/ops
sterni e2807ec934 fix(ops/nixos): use builtins.storePath to avoid dumping pkgs.path
This is a less invasive way to achieve the same goal as cl/5681, by
preventing the already existing nixpkgs store path from being dumped
again at the call site. To support nixpkgsBisectPath, we simply check if
pkgs.path is below builtins.storeDir and use builtins.storePath based on
that.

This is actually similar to the approach taken in the nixpkgs
documentation system which tries to limit the amount of nixpkgs that
needs to be dumped by using filterSource on specific subtrees of
nixpkgs. For this to work it has to insist on pkgs.path being an
ordinary Nix path, though.

Change-Id: Idf892f90a5d811184568e4702a901c334d56210e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5787
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-05-29 10:22:25 +00:00
..
besadii fix(ops/besadii): Fix output formatting for non-CL builds 2022-04-26 09:25:03 +00:00
deploy-whitby refactor(deploy-whitby): use nvd instead of nix-diff 2022-01-13 08:14:00 +00:00
dns style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
gerrit-tvl fix(gerrit-tvl): Use only one build filter 2022-05-28 13:39:58 +00:00
glesys feat(ops/glesys): add DNS record for AAAA sanduny.tvl.su. 2022-02-18 11:47:23 +00:00
journaldriver chore(journaldriver): Bump dependencies 2022-04-17 13:16:34 +00:00
keycloak feat(ops/keycloak): Add OIDC client for panettone 2022-05-28 17:03:36 +00:00
kontemplate style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
machines feat(wpcarro/tarasco): Support tarasco 🇲🇽 2022-05-27 23:21:25 +00:00
modules chore(ops/sourcegraph): Bump to 3.40.0 2022-05-28 11:58:34 +00:00
mq_cli style(rust): Format all Rust code with rustfmt 2022-02-08 12:06:39 +00:00
pipelines feat(ops/pipelines): Evaluate depot pipeline in restricted-eval mode 2022-05-26 16:57:16 +00:00
posix_mq.rs style(rust): Format all Rust code with rustfmt 2022-02-08 12:06:39 +00:00
secrets feat(ops/secrets): Add OAuth2 client secret for panettone 2022-05-28 17:03:36 +00:00
users feat(ops/users): add j4m3s 2022-05-24 23:39:44 +00:00
nixos.nix fix(ops/nixos): use builtins.storePath to avoid dumping pkgs.path 2022-05-29 10:22:25 +00:00