taffybar: inherit meta set from haskellPackages

This commit is contained in:
sternenseemann 2021-05-06 19:54:22 +02:00
parent 0781c31545
commit fc1638c3ba
2 changed files with 6 additions and 9 deletions

View File

@ -1,7 +1,9 @@
{ lib, stdenv, ghcWithPackages, makeWrapper, packages ? (x: []) }: { lib, stdenv, haskellPackages, makeWrapper, packages ? (x: []) }:
let let
taffybarEnv = ghcWithPackages (self: [ self.taffybar ] ++ packages self); taffybarEnv = haskellPackages.ghc.withPackages (self: [
self.taffybar
] ++ packages self);
in stdenv.mkDerivation { in stdenv.mkDerivation {
name = "taffybar-with-packages-${taffybarEnv.version}"; name = "taffybar-with-packages-${taffybarEnv.version}";
@ -13,8 +15,5 @@ in stdenv.mkDerivation {
--set NIX_GHC "${taffybarEnv}/bin/ghc" --set NIX_GHC "${taffybarEnv}/bin/ghc"
''; '';
meta = { inherit (haskellPackages.taffybar) meta;
platforms = lib.platforms.unix;
license = lib.licenses.bsd3;
};
} }

View File

@ -26248,9 +26248,7 @@ in
# customConfig = builtins.readFile ./tabbed.config.h; # customConfig = builtins.readFile ./tabbed.config.h;
}; };
taffybar = callPackage ../applications/window-managers/taffybar { taffybar = callPackage ../applications/window-managers/taffybar {};
inherit (haskellPackages) ghcWithPackages;
};
tagainijisho = callPackage ../applications/office/tagainijisho {}; tagainijisho = callPackage ../applications/office/tagainijisho {};