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 }: 28 29 let 30 - version = "1.9.0"; 31 32 # build stimuli file for PGO build and the script to generate it 33 # independently of the foot's build, so we can cache the result ··· 100 owner = "dnkl"; 101 repo = pname; 102 rev = version; 103 - sha256 = "0mkzq5lbgl5qp5nj8sk5gyg9hrrklmbjdqzlcr2a6rlmilkxlhwm"; 104 }; 105 106 depsBuildBuild = [ ··· 144 145 mesonBuildType = "release"; 146 147 mesonFlags = [ 148 "-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" 154 # Ensure TERM=foot is used 155 "-Ddefault-terminfo=foot" 156 - # Tell foot what to set TERMINFO to 157 "-Dcustom-terminfo-install-location=${terminfoDir}" 158 ]; 159 ··· 173 ''; 174 175 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 184 passthru.tests = { 185 clang-default-compilation = foot.override {
··· 27 }: 28 29 let 30 + version = "1.9.2"; 31 32 # build stimuli file for PGO build and the script to generate it 33 # independently of the foot's build, so we can cache the result ··· 100 owner = "dnkl"; 101 repo = pname; 102 rev = version; 103 + sha256 = "15h01ijx87i60bdgjjap1ymwlxggsxc6iziykh3bahj8432s1836"; 104 }; 105 106 depsBuildBuild = [ ··· 144 145 mesonBuildType = "release"; 146 147 + # See https://codeberg.org/dnkl/foot/src/tag/1.9.2/INSTALL.md#options 148 mesonFlags = [ 149 + # Use lto 150 "-Db_lto=true" 151 + # “Build” and install terminfo db 152 + "-Dterminfo=enabled" 153 # Ensure TERM=foot is used 154 "-Ddefault-terminfo=foot" 155 + # Tell foot to set TERMINFO and where to install the terminfo files 156 "-Dcustom-terminfo-install-location=${terminfoDir}" 157 ]; 158 ··· 172 ''; 173 174 outputs = [ "out" "terminfo" ]; 175 176 passthru.tests = { 177 clang-default-compilation = foot.override {