refactor(grfn): Prepare for restricted-eval
Change-Id: I672ad0898b2ef6a11f8bc9233da0ded4a296fe0e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5686 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
7a0a4224a5
commit
5d9d03057c
6 changed files with 17 additions and 8 deletions
|
|
@ -7,6 +7,14 @@ depot.third_party.naersk.buildPackage {
|
|||
name = "xanthous-server";
|
||||
version = "0.0.1";
|
||||
src = depot.third_party.gitignoreSource ./.;
|
||||
|
||||
# Workaround for a potential Nix bug related to restricted eval.
|
||||
# See https://github.com/nix-community/naersk/issues/169
|
||||
root = depot.nix.sparseTree ./. [
|
||||
./Cargo.toml
|
||||
./Cargo.lock
|
||||
];
|
||||
|
||||
passthru = {
|
||||
docker = import ./docker.nix args;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue