summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2021-11-14 21:49:00 +0100
committersterni <sternenseemann@systemli.org>2021-11-22 23:11:32 +0100
commita18f40f0e29ae257df9f010f150ff491715b6338 (patch)
tree085c90fdc802a75d7957a538b63012c5694cffb4
parent2768bc07f78a18aa26f869f39e37e87fd15544a6 (diff)
downloadnixpkgs-a18f40f0e29ae257df9f010f150ff491715b6338.tar
nixpkgs-a18f40f0e29ae257df9f010f150ff491715b6338.tar.gz
nixpkgs-a18f40f0e29ae257df9f010f150ff491715b6338.tar.bz2
nixpkgs-a18f40f0e29ae257df9f010f150ff491715b6338.tar.lz
nixpkgs-a18f40f0e29ae257df9f010f150ff491715b6338.tar.xz
nixpkgs-a18f40f0e29ae257df9f010f150ff491715b6338.tar.zst
nixpkgs-a18f40f0e29ae257df9f010f150ff491715b6338.zip
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.
-rw-r--r--pkgs/applications/terminal-emulators/foot/default.nix12
1 files 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 {