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
|
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;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue