From 6a19c27e388f6606edb59751ac29e6b5ac80026c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 23 Dec 2020 01:55:47 -0300 Subject: Generate torrent files from ogg files --- default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index bb83afc..801c50d 100644 --- a/default.nix +++ b/default.nix @@ -12,9 +12,19 @@ let gemset = ./nix/gemset.nix; }; + mktorrent-newer = pkgs.mktorrent.overrideAttrs(oldAttrs: { + src = pkgs.fetchFromGitHub { + owner = "Rudde"; + repo = "mktorrent"; + rev = "ea1fbf29d19f34a93f7d984c1ac29d6d08f1f508"; + sha256 = "1cjq96qridpvqhphj3ljnhysnqkdck415wxaqy768r0rvzqq1ja4"; + }; + }); + projectBuildInputs = with pkgs; [ jekyllEnv pkgs-next.mdpo + mktorrent-newer perl graphviz @@ -39,7 +49,7 @@ in rec { test = pkgs.stdenv.mkDerivation { inherit src; name = "website-test"; - phases = [ "unpackPhase" "buildPhase" ]; + phases = projectBuildInputs; buildInputs = projectBuildInputs; buildPhase = '' patchShebangs . -- cgit v1.2.3