pkgs/applications: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, callPackage, fetchurl, fetchpatch, fetchgit
|
||||
{ lib, stdenv, callPackage, fetchurl, fetchpatch, fetchgit
|
||||
, ocaml-ng
|
||||
, withInternalQemu ? true
|
||||
, withInternalTraditionalQemu ? true
|
||||
@@ -16,7 +16,7 @@
|
||||
assert withInternalSeabios -> !withSeabios;
|
||||
assert withInternalOVMF -> !withOVMF;
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
# Patching XEN? Check the XSAs at
|
||||
# https://xenbits.xen.org/xsa/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
config:
|
||||
{ stdenv, cmake, pkg-config, which
|
||||
{ lib, stdenv, cmake, pkg-config, which
|
||||
|
||||
# Xen
|
||||
, bison, bzip2, checkpolicy, dev86, figlet, flex, gettext, glib
|
||||
@@ -24,7 +24,7 @@ config:
|
||||
|
||||
, ...} @ args:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
#TODO: fix paths instead
|
||||
@@ -252,7 +252,7 @@ stdenv.mkDerivation (rec {
|
||||
+ "\nIncludes:\n"
|
||||
+ withXenfiles (name: x: ''* ${name}: ${x.meta.description or "(No description)"}.'');
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with stdenv.lib.maintainers; [ eelco tstrobel oxij ];
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ eelco tstrobel oxij ];
|
||||
license = lib.licenses.gpl2;
|
||||
} // (config.meta or {});
|
||||
} // removeAttrs config [ "xenfiles" "buildInputs" "patches" "postPatch" "meta" ])
|
||||
|
||||
Reference in New Issue
Block a user