all-packages: Use callPackage where possible
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
a :
|
||||
let
|
||||
a @ { mpfr, m4, binutils, fetchcvs, emacs, zlib, which
|
||||
, texinfo, libX11, xproto, inputproto, libXi
|
||||
, libXext, xextproto, libXt, libXaw, libXmu, stdenv, ... } :
|
||||
let
|
||||
buildInputs = with a; [
|
||||
mpfr m4 binutils emacs gmp
|
||||
libX11 xproto inputproto libXi
|
||||
libX11 xproto inputproto libXi
|
||||
libXext xextproto libXt libXaw libXmu
|
||||
zlib which texinfo texLive
|
||||
];
|
||||
];
|
||||
in
|
||||
|
||||
(
|
||||
@@ -40,7 +42,7 @@ rec {
|
||||
'') ["minInit" "doUnpack" "addInputs"];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["setVars" "doUnpack" "preBuild"
|
||||
phaseNames = ["setVars" "doUnpack" "preBuild"
|
||||
"doConfigure" "doMakeInstall"];
|
||||
}) // {
|
||||
meta = {
|
||||
@@ -48,7 +50,7 @@ rec {
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user