mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-11-11 19:39:16 +05:00
9488b6fd43
Fix #136 (stop pulling the files from @griff's poor server), also add a script to update the files. The fun thing about this is that due to sourcing the files from `https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/raw/master/tests/clamav` during the tests, updates to the `hashes.json` and `*.cvd` files will always fail CI. I guess this is a reasonable tradeoff as long as people are aware of it.
10 lines
267 B
Nix
10 lines
267 B
Nix
{ nixpkgs ? <nixpkgs>, system ? builtins.currentSystem }:
|
|
|
|
with (import nixpkgs { inherit system; }); stdenv.mkDerivation rec {
|
|
name = "nixos-mailserver-env";
|
|
env = buildEnv { name = name; paths = buildInputs; };
|
|
buildInputs = with pkgs; [
|
|
jq clamav
|
|
];
|
|
}
|