From a18f40f0e29ae257df9f010f150ff491715b6338 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 14 Nov 2021 21:49:00 +0100 Subject: foot: 1.9.2 -> 1.10.1 https://codeberg.org/dnkl/foot/releases/tag/1.10.0 https://codeberg.org/dnkl/foot/releases/tag/1.10.1 Themes account for ~1/6th of foot's size, so installing them to a separate output seems like a decent idea. --- pkgs/applications/terminal-emulators/foot/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/terminal-emulators/foot/default.nix b/pkgs/applications/terminal-emulators/foot/default.nix index 837b2b45a39..389408377c6 100644 --- a/pkgs/applications/terminal-emulators/foot/default.nix +++ b/pkgs/applications/terminal-emulators/foot/default.nix @@ -27,7 +27,7 @@ }: let - version = "1.9.2"; + version = "1.10.1"; # build stimuli file for PGO build and the script to generate it # independently of the foot's build, so we can cache the result @@ -99,7 +99,7 @@ stdenv.mkDerivation rec { owner = "dnkl"; repo = pname; rev = version; - sha256 = "15h01ijx87i60bdgjjap1ymwlxggsxc6iziykh3bahj8432s1836"; + sha256 = "12n1v9by519fg40xvjf4v0g2phi08lcg0clz7rxs2i2xwlizz7nc"; }; depsBuildBuild = [ @@ -170,7 +170,13 @@ stdenv.mkDerivation rec { llvm-profdata merge default_*profraw --output=default.profdata ''; - outputs = [ "out" "terminfo" ]; + # Install example themes which can be added to foot.ini via the include + # directive to a separate output to save a bit of space + postInstall = '' + moveToOutput share/foot/themes "$themes" + ''; + + outputs = [ "out" "terminfo" "themes" ]; passthru.tests = { clang-default-compilation = foot.override { -- cgit 1.4.1