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