Skip to content

Commit

Permalink
Enable sandboxed builds
Browse files Browse the repository at this point in the history
Previously, we ran into NixOS/nix#4119 with the homeConfigurations builds. But
thanks to comments there, I managed to reduce the “pattern serialization length”
enough to allow the builds to succeed.
  • Loading branch information
sellout committed Jul 8, 2024
1 parent 438c588 commit 1c2a0a3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .config/project/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@
services.garnix = {
enable = true;
builds.exclude = [
# TODO: Remove once NixOS/nix#4119 is fixed.
"homeConfigurations.aarch64-darwin-example"
# TODO: Remove once garnix-io/garnix#285 is fixed.
"homeConfigurations.x86_64-darwin-example"
];
Expand Down
5 changes: 1 addition & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
];
## Isolate the build.
registries = false;
## Enable once NixOS/nix#4119 is fixed. This is commented out rather than
## set to `false` because the default is `true` on some systems, and we want
## to maintain that.
# sandbox = true;
sandbox = "relaxed";
};

outputs = {
Expand Down
2 changes: 1 addition & 1 deletion garnix.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nix/modules/emacs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

## NB: Bound so we can reference it in the the Emacs setup for `tex-mode`.
texlive-combined = pkgs.texlive.combine {
inherit (pkgs.texlive) braids dvipng pgf scheme-small tikz-cd ulem xcolor;
inherit (pkgs.texlive) braids dvipng pgf scheme-basic tikz-cd ulem xcolor;
};
in {
enable = true;
Expand Down

0 comments on commit 1c2a0a3

Please sign in to comment.