forked from mirrors/nixpkgs
taffybar: inherit meta set from haskellPackages
This commit is contained in:
parent
0781c31545
commit
fc1638c3ba
|
@ -1,7 +1,9 @@
|
|||
{ lib, stdenv, ghcWithPackages, makeWrapper, packages ? (x: []) }:
|
||||
{ lib, stdenv, haskellPackages, makeWrapper, packages ? (x: []) }:
|
||||
|
||||
let
|
||||
taffybarEnv = ghcWithPackages (self: [ self.taffybar ] ++ packages self);
|
||||
taffybarEnv = haskellPackages.ghc.withPackages (self: [
|
||||
self.taffybar
|
||||
] ++ packages self);
|
||||
in stdenv.mkDerivation {
|
||||
name = "taffybar-with-packages-${taffybarEnv.version}";
|
||||
|
||||
|
@ -13,8 +15,5 @@ in stdenv.mkDerivation {
|
|||
--set NIX_GHC "${taffybarEnv}/bin/ghc"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
inherit (haskellPackages.taffybar) meta;
|
||||
}
|
||||
|
|
|
@ -26248,9 +26248,7 @@ in
|
|||
# customConfig = builtins.readFile ./tabbed.config.h;
|
||||
};
|
||||
|
||||
taffybar = callPackage ../applications/window-managers/taffybar {
|
||||
inherit (haskellPackages) ghcWithPackages;
|
||||
};
|
||||
taffybar = callPackage ../applications/window-managers/taffybar {};
|
||||
|
||||
tagainijisho = callPackage ../applications/office/tagainijisho {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue