mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
Merge pull request #162411 from kurnevsky/tox-node-service-fix
tox-node: fix config hash and url
This commit is contained in:
commit
8a56a49cc7
@ -8,12 +8,7 @@ let
|
|||||||
homeDir = "/var/lib/tox-node";
|
homeDir = "/var/lib/tox-node";
|
||||||
|
|
||||||
configFile = let
|
configFile = let
|
||||||
# fetchurl should be switched to getting this file from tox-node.src once
|
src = "${pkg.src}/dpkg/config.yml";
|
||||||
# the dpkg directory is in a release
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://raw.githubusercontent.com/tox-rs/tox-node/master/dpkg/config.yml";
|
|
||||||
sha256 = "1431wzpzm786mcvyzk1rp7ar418n45dr75hdggxvlm7pkpam31xa";
|
|
||||||
};
|
|
||||||
confJSON = pkgs.writeText "config.json" (
|
confJSON = pkgs.writeText "config.json" (
|
||||||
builtins.toJSON {
|
builtins.toJSON {
|
||||||
log-type = cfg.logType;
|
log-type = cfg.logType;
|
||||||
|
Loading…
Reference in New Issue
Block a user