Commit Graph

287 Commits

Author SHA1 Message Date
AcmeLabRat
2faaf8f428 virtualbox: Fix UI language selection in virtualbox 2024-11-24 23:44:01 +01:00
Julian Stecklina
78ebb34bc8 virtualboxKvm: fix for 7.0.22 2024-11-01 17:58:34 +01:00
Julian Stecklina
7111740cfa Revert "virtualbox: do not use open-watcom-bin"
This reverts commit 67aa62d45f.
2024-11-01 17:20:24 +01:00
Friedrich Altheide
67aa62d45f virtualbox: do not use open-watcom-bin 2024-10-31 14:54:57 +01:00
Thomas Gerbet
299522b78a
virtualbox: 7.0.20 -> 7.0.22 (#350707)
Fixes CVE-2024-21248, CVE-2024-21253, CVE-2024-21259, CVE-2024-21263 and CVE-2024-21273.

Changelog:
https://www.virtualbox.org/wiki/Changelog-7.0#v22
2024-10-25 11:27:52 +02:00
Friedrich Altheide
53b37c99b4 virtualbox: nixfmt 2024-10-16 13:15:42 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Markus Partheymüller
0398740424 virtualboxKvm: 20240617 -> 20240828 2024-08-29 08:40:35 +02:00
Friedrich Altheide
dcaa4a1ced virtualbox: 7.0.18 -> 7.0.20 2024-07-29 08:43:19 +02:00
Julian Stecklina
84df77263d virtualboxKvm: 20240515 -> 20240617 2024-06-19 09:42:53 +02:00
Julian Stecklina
f83721777d virtualbox: fix 3D acceleration
VBox needs libvulkan to start when 3D acceleration is
enabled.
2024-06-06 17:38:50 +02:00
Julian Stecklina
6568d9d31b virtualbox: remove unused import 2024-06-06 17:38:50 +02:00
Friedrich Altheide
d67961fe4e virtualbox: 7.0.14 -> 7.0.18 2024-06-03 06:27:36 +02:00
Arnout Engelen
61c1d28215
Merge pull request #303790 from FriedrichAltheide/cleanup-virtualbox
virtualbox & virtualboxGuestAdditions: cleanup
2024-06-01 13:42:14 +02:00
Weijia Wang
88b7d613f5
Merge pull request #311689 from teutat3s/zhf/virtualbox-tests
nixosTests.virtualbox: fix tests, remove minimal profile
2024-05-15 10:56:39 +02:00
teutat3s
5eb28724fe
virtualbox: add passthru.tests 2024-05-14 23:26:16 +02:00
Friedrich Altheide
52b8494767 virtualbox: disable VBOX_WITH_UPDATE_AGENT 2024-05-13 06:36:03 +02:00
Friedrich Altheide
f9966d5fb7 virtualbox: remove old patch 2024-05-13 06:36:03 +02:00
Friedrich Altheide
b9d92aff71 virtualbox: introduce finalAttrs 2024-05-13 06:36:01 +02:00
Friedrich Altheide
4b3ae365f6 virtualboxGuestAdditions: move more buildInputs to nativeBuildInputs 2024-05-13 06:34:34 +02:00
Friedrich Altheide
5875b59270 virtualbox: remove with lib 2024-05-13 06:34:33 +02:00
Pol Dellaiera
b83b0dc7f9
Merge pull request #308824 from blitz/virtualbox-wsimport
virtualbox: unbreak enableWebService
2024-05-12 21:27:39 +02:00
Pol Dellaiera
8a7f93574b
Merge pull request #306592 from Yarny0/virtualbox-iso-fix
virtualbox: fix symlink to guest additions iso
2024-05-11 10:16:25 +02:00
Julian Stecklina
4832d27a28 virtualbox: unbreak enableWebService
enableWebService depends on wsimport, which is only available in JDK
8. Stick to that version for now and hope that upstream fixes this.
2024-05-09 17:36:56 +02:00
Julian Stecklina
d9df9fb49e virtualboxKvm: 20240325 -> 20240502 2024-05-03 15:10:55 +02:00
Yarny0
331d80d9e5 virtualbox: fix symlink to guest additions iso
Before the commit at hand, the build recipe of
the guest additions iso put the iso file in a directory, with
a name that includes the nix store hash of the fetchurl result.
The virtualbox build recipe doesn't know about
that hash and creates a link without target.
Symptom of this bug is that VirtualBox won't find the iso and
will download it when the user wants to insert the guest iso.

The commit implements two changes:
* The iso build recipe is simplified so its result is
  the direct result of `fetchurl`, i.e., it is the iso
  file without being wrapped in a dedicated directory.
* The symlink now simply points to the result of
  the fetchurl call, hence to the iso file, as it should.
2024-04-24 19:20:12 +02:00
K900
95318bd0b8
Merge pull request #290122 from FriedrichAltheide/virtualbox-guest-additions-fixes
virtualbox: guest additions resize & clipboard fixes
2024-03-28 11:42:22 +03:00
Friedrich Altheide
f0887fa040 virtualbox: fix guest additions resize support
- Build virtualbox guest additions from source and fix paths
- Install VBoxDRMClient to support resizing
  - Support resizing on wayland and x11
- Adding multiple new options
  - clipboard
  - seamless
- Removing x11 option
- Support linux 6.8
2024-03-26 11:47:00 +01:00
Julian Stecklina
9a3955480e virtualbox: add myself as maintainer 2024-03-25 14:57:40 +01:00
Julian Stecklina
130ff4bb83 virtualboxKvm: 20240225 -> 20240325 2024-03-25 14:35:44 +01:00
Friedrich Altheide
37766ba310 virtualbox: add friedrichaltheide to maintainers 2024-03-17 10:57:32 +01:00
adisbladis
5cdb38bb16
Merge pull request #288579 from blitz/vbox-kvm-2
virtualboxKvm: init
2024-03-05 18:58:57 +13:00
Julian Stecklina
c9f940be78 virtualboxKvm: assert KVM variant incompatibilities 2024-03-04 22:19:48 +01:00
Julian Stecklina
7dd125e9a0 virtualboxKvm: init at 20240226 2024-02-28 17:36:22 +01:00
Serg
d5decf6e96 virtualbox: add disable update patch 2024-02-24 09:46:12 +03:00
Sandro
032162631d
Merge pull request #284981 from Elserjo/vbox 2024-02-22 21:17:06 +01:00
Julian Stecklina
ea2bb08e93 virtualbox: 7.0.12 -> 7.0.14 2024-02-10 21:03:32 +00:00
Julian Stecklina
4596cd09eb virtualbox: allow adding config flags via overrides
This is to prepare building the KVM version [1] as well. For that it will
be nice to reuse the existing expressions.

[1] https://github.com/cyberus-technology/virtualbox-kvm
2024-02-08 19:45:57 +01:00
Julian Stecklina
c0674aafc7 virtualbox: use less vendored libraries 2024-02-08 19:45:03 +01:00
Serg
e3bd3f9474 virtualbox: add symlink to localization files 2024-01-31 16:56:00 +03:00
Robert Hensing
94b11073db
Merge pull request #222403 from Zahrun/doc/virtualbox
virtualbox: add indication for the nix option
2024-01-26 13:19:25 +01:00
Robert Hensing
c251abe9b4
virtualbox: Edit description 2024-01-26 13:19:04 +01:00
K900
13a6f42687 virtualbox: fix build with libxml 2.12 + gcc 13 2024-01-13 10:50:01 +03:00
Adrien Langou
8d7b487bae
virtualbox: 7.0.10 -> 7.0.12 2023-11-01 20:19:17 +01:00
Bjørn Forsman
f696376fa7 virtualbox: include Guest Additions ISO
Although virtualbox has code to download it at runtime, I'd like to have
it included at build time because:

* I like programs that are fully functional even when offline.
* Runtime downloading doesn't work, it results in error message
  "During certificate downloading: Unknown reason".

This change increases the closure size 5 % (969 -> 1020 MiB).
2023-08-20 08:25:27 +02:00
Bjørn Forsman
7f9b04a90e virtualbox: install UnattendedTemplates
Fix automated/unattended guest installs by having the missing templates
where virtualbox expects them.

Fixes #247807.
2023-08-16 15:21:00 +02:00
Vladimír Čunát
3c10b650b9
virtualbox: 7.0.8 -> 7.0.10
Includes a "Critical Patch Update to address security vulnerabilities"
https://blogs.oracle.com/virtualization/post/oracle-vm-virtualbox-7010-is-now-available

It also fixes build which probably broke with libxml2 upgrade
https://hydra.nixos.org/build/228189683/nixlog/1/tail
2023-07-23 13:03:30 +02:00
Alexandre Iooss
38bca18244 virtualbox: 7.0.6 -> 7.0.8 2023-05-19 18:09:55 +02:00
Aroun
91a1291d2b virtualbox: add pointer to related nix options 2023-03-22 00:02:01 +05:30
K900
9692e965c6 virtualbox: 6.1.40 -> 7.0.6
- bump versions
- add new dependencies
- lrelease is an unconditional dependency now
- more Qt path hackery
- remove rdesktop-vrdp (removed upstream)
2023-03-04 13:39:50 +03:00