summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 55e61cc3..f991f9ca 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -81,6 +81,7 @@ in rec {
81 pythonEnv = pkgs.python3.buildEnv.override { extraLibs = with pkgs.python3Packages; [ pygments markdown ]; }; 81 pythonEnv = pkgs.python3.buildEnv.override { extraLibs = with pkgs.python3Packages; [ pygments markdown ]; };
82 in '' 82 in ''
83 wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages 83 wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pythonEnv}/lib/*/site-packages
84 wrapProgram $out/lib/cgit/filters/about-formatting.sh --prefix PATH ':' ${pkgs.coreutils}/bin
84 tmpFile=$(mktemp) 85 tmpFile=$(mktemp)
85 chmod +x $tmpFile 86 chmod +x $tmpFile
86 echo "#!${pythonEnv}/bin/python3" >$tmpFile 87 echo "#!${pythonEnv}/bin/python3" >$tmpFile
@@ -117,6 +118,7 @@ in rec {
117 118
118 printf "%s/%s/%s" "''${baseUrl}" "''${prefix}" "''${filename}" 119 printf "%s/%s/%s" "''${baseUrl}" "''${prefix}" "''${filename}"
119 ''; 120 '';
121
120 }; 122 };
121 123
122 environment.systemPackages = with pkgs; [ 124 environment.systemPackages = with pkgs; [