From 9804c6c6c479e500fc69b12d1174becd4b86fb40 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 27 Apr 2017 13:54:55 +0200 Subject: coreutils for cgit script --- ymir.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ymir.nix b/ymir.nix index 55e61cc3..f991f9ca 100644 --- a/ymir.nix +++ b/ymir.nix @@ -81,6 +81,7 @@ in rec { pythonEnv = pkgs.python3.buildEnv.override { extraLibs = with pkgs.python3Packages; [ pygments markdown ]; }; in '' wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages + wrapProgram $out/lib/cgit/filters/about-formatting.sh --prefix PATH ':' ${pkgs.coreutils}/bin tmpFile=$(mktemp) chmod +x $tmpFile echo "#!${pythonEnv}/bin/python3" >$tmpFile @@ -117,6 +118,7 @@ in rec { printf "%s/%s/%s" "''${baseUrl}" "''${prefix}" "''${filename}" ''; + }; environment.systemPackages = with pkgs; [ -- cgit v1.2.3