contour: Provide terminfo in separate output

nicoo 91b85376 150b2ff4

+9
+1
nixos/modules/config/terminfo.nix
··· 22 # pkgs) 23 environment.systemPackages = mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs; [ 24 alacritty 25 foot 26 kitty 27 mtm
··· 22 # pkgs) 23 environment.systemPackages = mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs; [ 24 alacritty 25 + contour 26 foot 27 kitty 28 mtm
+8
pkgs/applications/terminal-emulators/contour/default.nix
··· 47 sha256 = "sha256-TpxVC0GFZD3jGISnDWHKEetgVVpznm5k/Vc2dwVfSG4="; 48 }; 49 50 nativeBuildInputs = [ 51 cmake 52 pkg-config ··· 84 85 # Don't fix Darwin app bundle 86 sed -i '/fixup_bundle/d' src/contour/CMakeLists.txt 87 ''; 88 89 passthru.tests.test = nixosTests.terminal-emulators.contour;
··· 47 sha256 = "sha256-TpxVC0GFZD3jGISnDWHKEetgVVpznm5k/Vc2dwVfSG4="; 48 }; 49 50 + outputs = [ "out" "terminfo" ]; 51 + 52 nativeBuildInputs = [ 53 cmake 54 pkg-config ··· 86 87 # Don't fix Darwin app bundle 88 sed -i '/fixup_bundle/d' src/contour/CMakeLists.txt 89 + ''; 90 + 91 + postInstall = '' 92 + mkdir -p $out/nix-support $terminfo/share 93 + mv $out/share/terminfo $terminfo/share/ 94 + echo "$terminfo" >> $out/nix-support/propagated-user-env-packages 95 ''; 96 97 passthru.tests.test = nixosTests.terminal-emulators.contour;