contour: Provide terminfo in separate output

nicoo 91b85376 150b2ff4

+9
+1
nixos/modules/config/terminfo.nix
··· 22 22 # pkgs) 23 23 environment.systemPackages = mkIf config.environment.enableAllTerminfo (map (x: x.terminfo) (with pkgs; [ 24 24 alacritty 25 + contour 25 26 foot 26 27 kitty 27 28 mtm
+8
pkgs/applications/terminal-emulators/contour/default.nix
··· 47 47 sha256 = "sha256-TpxVC0GFZD3jGISnDWHKEetgVVpznm5k/Vc2dwVfSG4="; 48 48 }; 49 49 50 + outputs = [ "out" "terminfo" ]; 51 + 50 52 nativeBuildInputs = [ 51 53 cmake 52 54 pkg-config ··· 84 86 85 87 # Don't fix Darwin app bundle 86 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 87 95 ''; 88 96 89 97 passthru.tests.test = nixosTests.terminal-emulators.contour;