Merge pull request #122705 from rvl/fix-taffybar

authored by maralorn and committed by GitHub 5687a345 0b14ea44

+36 -9
+12 -3
pkgs/applications/window-managers/taffybar/default.nix
··· 1 - { lib, stdenv, haskellPackages, makeWrapper, packages ? (x: []) }: 1 + { lib, stdenv, ghcWithPackages, taffybar, makeWrapper, packages ? (x: []) }: 2 2 3 3 let 4 - taffybarEnv = haskellPackages.ghc.withPackages (self: [ 4 + taffybarEnv = ghcWithPackages (self: [ 5 5 self.taffybar 6 6 ] ++ packages self); 7 7 in stdenv.mkDerivation { ··· 15 15 --set NIX_GHC "${taffybarEnv}/bin/ghc" 16 16 ''; 17 17 18 - inherit (haskellPackages.taffybar) meta; 18 + # Trivial derivation 19 + preferLocalBuild = true; 20 + allowSubstitutes = false; 21 + 22 + # For hacking purposes 23 + passthru.env = taffybarEnv; 24 + buildInputs = [ taffybarEnv ]; 25 + shellHook = "eval $(egrep ^export ${taffybarEnv}/bin/ghc)"; 26 + 27 + inherit (taffybar) meta; 19 28 }
+14
pkgs/development/haskell-modules/configuration-common.nix
··· 1271 1271 # Created upstream PR @ https://github.com/ghcjs/jsaddle/pull/119 1272 1272 jsaddle-webkit2gtk = appendPatch super.jsaddle-webkit2gtk ./patches/jsaddle-webkit2gtk.patch; 1273 1273 1274 + # 2021-05-12: gi-gdkpixbuf_2_0_26 fix 1275 + # https://github.com/taffybar/gtk-sni-tray/pull/25 1276 + gtk-sni-tray = appendPatch super.gtk-sni-tray (pkgs.fetchpatch { 1277 + url = "https://github.com/taffybar/gtk-sni-tray/pull/25/commits/4afd84654cb3f2bd2bb7d39451706c5914fd3cdf.patch"; 1278 + sha256 = "1xjxlh58vnykqsjq4qw8mliq3gk17mwxi4h9z8dvjyav8zqg05rn"; 1279 + }); 1280 + 1281 + # 2021-05-12: gi-gdkpixbuf_2_0_26 fix 1282 + # https://github.com/taffybar/taffybar/pull/507 1283 + taffybar = appendPatch super.taffybar (pkgs.fetchpatch { 1284 + url = "https://github.com/taffybar/taffybar/pull/507/commits/14a650d0954000cbd2cb1018a2f3bcd40ecb564f.patch"; 1285 + sha256 = "01rm8zida5858j5r0mw7bpmv24b03mb3rw34lbkaw3i7g62bx3a0"; 1286 + }); 1287 + 1274 1288 # Missing -Iinclude parameter to doc-tests (pull has been accepted, so should be resolved when 0.5.3 released) 1275 1289 # https://github.com/lehins/massiv/pull/104 1276 1290 massiv = dontCheck super.massiv;
-1
pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
··· 1699 1699 - gtk2hs-rpn 1700 1700 - gtk3-mac-integration 1701 1701 - gtkglext 1702 - - gtk-sni-tray 1703 1702 - gtksourceview2 1704 1703 - gtksourceview3 1705 1704 - gtk-toy
+4
pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
··· 233 233 - hinit 234 234 bdesham: 235 235 - pinboard-notes-backup 236 + rvl: 237 + - taffybar 238 + - arbtt 239 + - lentil 236 240 237 241 unsupported-platforms: 238 242 Allure: [ x86_64-darwin ]
-1
pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml
··· 2886 2886 - systemstats 2887 2887 - t3-client 2888 2888 - ta 2889 - - taffybar 2890 2889 - tagged-list 2891 2890 - tagged-th 2892 2891 - tagsoup-navigate
+3 -3
pkgs/development/haskell-modules/hackage-packages.nix
··· 32045 32045 ]; 32046 32046 description = "Automatic Rule-Based Time Tracker"; 32047 32047 license = lib.licenses.gpl2Only; 32048 + maintainers = with lib.maintainers; [ rvl ]; 32048 32049 }) {}; 32049 32050 32050 32051 "arcgrid" = callPackage ··· 111794 111795 platforms = [ 111795 111796 "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 111796 111797 ]; 111797 - hydraPlatforms = lib.platforms.none; 111798 - broken = true; 111799 111798 }) {inherit (pkgs) gtk3;}; 111800 111799 111801 111800 "gtk-strut" = callPackage ··· 160373 160372 ]; 160374 160373 description = "frugal issue tracker"; 160375 160374 license = lib.licenses.gpl3Only; 160375 + maintainers = with lib.maintainers; [ rvl ]; 160376 160376 }) {}; 160377 160377 160378 160378 "lenz" = callPackage ··· 252598 252598 platforms = [ 252599 252599 "aarch64-linux" "armv7l-linux" "i686-linux" "x86_64-linux" 252600 252600 ]; 252601 - hydraPlatforms = lib.platforms.none; 252601 + maintainers = with lib.maintainers; [ rvl ]; 252602 252602 }) {inherit (pkgs) gtk3;}; 252603 252603 252604 252604 "tag-bits" = callPackage
+3 -1
pkgs/top-level/all-packages.nix
··· 26366 26366 # customConfig = builtins.readFile ./tabbed.config.h; 26367 26367 }; 26368 26368 26369 - taffybar = callPackage ../applications/window-managers/taffybar {}; 26369 + taffybar = callPackage ../applications/window-managers/taffybar { 26370 + inherit (haskellPackages) ghcWithPackages taffybar; 26371 + }; 26370 26372 26371 26373 tagainijisho = callPackage ../applications/office/tagainijisho {}; 26372 26374