foot: 1.9.0 -> 1.9.2

foot's upstream has abandoned the approach of using a custom terminfo
install location and setting TERMINFO, but still supports it. For us
this has eliminated the need to build the foot terminfo files manually,
somehow which is appreciated.

We preserve our current approach: Install terminfo files to the terminfo
output and set TERMINFO to that store path instead of propagating the
output for user env insatllations.

Change logs:

* https://codeberg.org/dnkl/foot/releases/tag/1.9.1

* https://codeberg.org/dnkl/foot/releases/tag/1.9.2

+7 -15
+7 -15
pkgs/applications/terminal-emulators/foot/default.nix
··· 27 27 }: 28 28 29 29 let 30 - version = "1.9.0"; 30 + version = "1.9.2"; 31 31 32 32 # build stimuli file for PGO build and the script to generate it 33 33 # independently of the foot's build, so we can cache the result ··· 100 100 owner = "dnkl"; 101 101 repo = pname; 102 102 rev = version; 103 - sha256 = "0mkzq5lbgl5qp5nj8sk5gyg9hrrklmbjdqzlcr2a6rlmilkxlhwm"; 103 + sha256 = "15h01ijx87i60bdgjjap1ymwlxggsxc6iziykh3bahj8432s1836"; 104 104 }; 105 105 106 106 depsBuildBuild = [ ··· 144 144 145 145 mesonBuildType = "release"; 146 146 147 + # See https://codeberg.org/dnkl/foot/src/tag/1.9.2/INSTALL.md#options 147 148 mesonFlags = [ 149 + # Use lto 148 150 "-Db_lto=true" 149 - # Prevent foot from installing its terminfo file into a custom location, 150 - # we need to do this manually in postInstall. 151 - # See https://codeberg.org/dnkl/foot/pulls/673, 152 - # https://codeberg.org/dnkl/foot/src/tag/1.9.0/INSTALL.md#options 153 - "-Dterminfo=disabled" 151 + # “Build” and install terminfo db 152 + "-Dterminfo=enabled" 154 153 # Ensure TERM=foot is used 155 154 "-Ddefault-terminfo=foot" 156 - # Tell foot what to set TERMINFO to 155 + # Tell foot to set TERMINFO and where to install the terminfo files 157 156 "-Dcustom-terminfo-install-location=${terminfoDir}" 158 157 ]; 159 158 ··· 173 172 ''; 174 173 175 174 outputs = [ "out" "terminfo" ]; 176 - 177 - postInstall = '' 178 - # build and install foot's terminfo to the standard location 179 - # instead of its custom location 180 - mkdir -p "${terminfoDir}" 181 - tic -o "${terminfoDir}" -x -e foot,foot-direct "$NIX_BUILD_TOP/$sourceRoot/foot.info" 182 - ''; 183 175 184 176 passthru.tests = { 185 177 clang-default-compilation = foot.override {