diff --git a/pkgs/tools/system/systemd-journal2gelf/default.nix b/pkgs/tools/system/systemd-journal2gelf/default.nix index 43925411af95..59df5ee90a4e 100644 --- a/pkgs/tools/system/systemd-journal2gelf/default.nix +++ b/pkgs/tools/system/systemd-journal2gelf/default.nix @@ -13,7 +13,7 @@ buildGoPackage rec { sha256 = "012fmnb44681dgz21n1dlb6vh923bpk5lkqir1q40kfz6pacq64n"; }; - goDeps = ./deps.json; + goDeps = ./deps.nix; meta = with stdenv.lib; { description = "Export entries from systemd's journal and send them to a graylog server using gelf"; diff --git a/pkgs/tools/system/systemd-journal2gelf/deps.json b/pkgs/tools/system/systemd-journal2gelf/deps.json deleted file mode 100644 index ce661d1d9860..000000000000 --- a/pkgs/tools/system/systemd-journal2gelf/deps.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - "goPackagePath": "github.com/DECK36/go-gelf", - "fetch": { - "type": "git", - "url": "https://github.com/DECK36/go-gelf", - "rev": "4bc6123df0946a1c23fd54e0c1d0ed68b44fd99f", - "sha256": "071zdwcl8ld05gv88yym1p7xq72igd6jj05n5d7v01hn6rvj48ay" - } - } -] \ No newline at end of file diff --git a/pkgs/tools/system/systemd-journal2gelf/deps.nix b/pkgs/tools/system/systemd-journal2gelf/deps.nix new file mode 100644 index 000000000000..2e0988e81054 --- /dev/null +++ b/pkgs/tools/system/systemd-journal2gelf/deps.nix @@ -0,0 +1,11 @@ +[ +{ + goPackagePath = "github.com/DECK36/go-gelf"; + fetch = { + type = "git"; + url = "https://github.com/DECK36/go-gelf"; + rev = "4bc6123df0946a1c23fd54e0c1d0ed68b44fd99f"; + sha256 = "071zdwcl8ld05gv88yym1p7xq72igd6jj05n5d7v01hn6rvj48ay"; + }; +} +]