all-packages: Use callPackage where possible
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
a :
|
||||
let
|
||||
a @ { groff, ... } :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.attrByPath ["version"] "2.17" a;
|
||||
version = a.lib.attrByPath ["version"] "2.17" a;
|
||||
buildInputs = with a; [
|
||||
groff
|
||||
];
|
||||
@@ -26,7 +26,7 @@ rec {
|
||||
'') ["minInit" "doUnpack" "doConfigure"];
|
||||
|
||||
neededDirs = ["$out/bin" "$out/share/man/man8"];
|
||||
|
||||
|
||||
name = "setserial-" + version;
|
||||
meta = {
|
||||
description = "Serial port configuration utility";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
a :
|
||||
let
|
||||
a @ {pciutils, libx86, zlib, ...} :
|
||||
let
|
||||
s = import ./src-for-default.nix;
|
||||
buildInputs = with a; [
|
||||
libx86 pciutils zlib
|
||||
@@ -19,13 +19,13 @@ rec {
|
||||
sed -e 's@$(libdir)/libpci.a@${a.pciutils}/lib/libpci.so@' -i Makefile.in
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lpci"
|
||||
'') ["doUnpack" "minInit"];
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Video BIOS execution tool";
|
||||
maintainers = [
|
||||
a.lib.maintainers.raskin
|
||||
];
|
||||
platforms = with a.lib.platforms;
|
||||
platforms = with a.lib.platforms;
|
||||
linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user