pkgs/os-specific: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, withoutInitTools ? false }:
|
||||
{ lib, stdenv, fetchurl, withoutInitTools ? false }:
|
||||
|
||||
let version = "2.97"; in
|
||||
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
mv $out/sbin/killall5 $out/bin
|
||||
ln -sf killall5 $out/bin/pidof
|
||||
''
|
||||
+ stdenv.lib.optionalString withoutInitTools
|
||||
+ lib.optionalString withoutInitTools
|
||||
''
|
||||
shopt -s extglob
|
||||
rm -rf $out/sbin/!(sulogin)
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "https://www.nongnu.org/sysvinit/";
|
||||
description = "Utilities related to booting and shutdown";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user