virtualbox: remove 'with lib;'

This commit is contained in:
Felix Buehler 2024-08-13 22:07:46 +02:00 committed by Valentin Gagarin
parent fe7e5d12c5
commit 99f015982f
2 changed files with 2 additions and 8 deletions

View File

@ -1,7 +1,4 @@
{ fetchurl, lib, virtualbox }:
with lib;
let
inherit (virtualbox) version;
in
@ -15,7 +12,7 @@ fetchurl rec {
let value = "d750fb17688d70e0cb2d7b06f1ad3a661303793f4d1ac39cfa9a54806b89da25";
in assert (builtins.stringLength value) == 64; value;
meta = {
meta = with lib; {
description = "Oracle Extension pack for VirtualBox";
license = licenses.virtualbox-puel;
homepage = "https://www.virtualbox.org/";

View File

@ -1,9 +1,6 @@
{ stdenv, kernel, callPackage, lib, dbus
, xorg, zlib, patchelf, makeWrapper
}:
with lib;
let
virtualBoxNixGuestAdditionsBuilder = callPackage ./builder.nix { };
@ -103,7 +100,7 @@ in stdenv.mkDerivation {
host/guest clipboard support.
'';
sourceProvenance = with lib.sourceTypes; [ fromSource ];
license = licenses.gpl2;
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.sander lib.maintainers.friedrichaltheide ];
platforms = [ "i686-linux" "x86_64-linux" ];
broken = stdenv.hostPlatform.is32bit && (kernel.kernelAtLeast "5.10");