diff options
Diffstat (limited to 'users/grfn/xanthous/server/default.nix')
-rw-r--r-- | users/grfn/xanthous/server/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/users/grfn/xanthous/server/default.nix b/users/grfn/xanthous/server/default.nix new file mode 100644 index 000000000000..fbb5ccd26920 --- /dev/null +++ b/users/grfn/xanthous/server/default.nix @@ -0,0 +1,21 @@ +args@{ depot ? import ../../../.. { } +, pkgs ? depot.third_party.nixpkgs +, ... +}: + +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; + }; +} |