virtio-win: rename from win-virtio

This commit is contained in:
Anthony Roussel 2023-10-17 23:38:15 +02:00
parent 52fd1fdd1b
commit 7d90e85ef4
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E
6 changed files with 10 additions and 8 deletions

View File

@ -303,6 +303,8 @@
- `dagger` was removed because using a package called `dagger` and packaging it from source violates their trademark policy.
- `win-virtio` package was renamed to `virtio-win` to be consistent with the upstream package name.
## Other Notable Changes {#sec-release-23.11-notable-changes}
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, p7zip, win-virtio }:
{ lib, stdenv, fetchurl, p7zip, virtio-win }:
let
version_usbdk = "1.0.22";
@ -58,9 +58,9 @@ stdenv.mkDerivation {
copy_usbdk = arch: "mkdir -p $out/${arch}/usbdk; cp usbdk/${arch}/* $out/${arch}/usbdk/. \n";
copy_vdagent = arch: "mkdir -p $out/${arch}/vdagent; cp vdagent/${arch}/* $out/${arch}/vdagent/. \n";
# SPICE needs vioserial
# TODO: Link windows version in win-spice (here) to version used in win-virtio.
# That way it would never matter whether vioserial is installed from win-virtio or win-spice.
copy_vioserial = arch: version: "mkdir -p $out/${arch}/vioserial; cp ${win-virtio}/vioserial/${version}/${arch}/* $out/${arch}/vioserial/. \n";
# TODO: Link windows version in win-spice (here) to version used in virtio-win.
# That way it would never matter whether vioserial is installed from virtio-win or win-spice.
copy_vioserial = arch: version: "mkdir -p $out/${arch}/vioserial; cp ${virtio-win}/vioserial/${version}/${arch}/* $out/${arch}/vioserial/. \n";
copy = arch: version: (copy_qxl arch version) + (copy_usbdk arch) + (copy_vdagent arch) + (copy_vioserial arch version);
in ''
runHook preInstall

View File

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, libarchive }:
stdenv.mkDerivation rec {
pname = "win-virtio";
pname = "virtio-win";
version = "0.1.240-1";
src = fetchurl {

View File

@ -9,4 +9,4 @@ version="$(curl -Ls https://fedorapeople.org/groups/virt/virtio-win/repo/latest/
sort -Vu | \
tail -n1)"
update-source-version win-virtio "$version"
update-source-version virtio-win "$version"

View File

@ -936,7 +936,8 @@ mapAliases ({
webkitgtk_5_0 = throw "'webkitgtk_5_0' has been superseded by 'webkitgtk_6_0'"; # Added 2023-02-25
wio = throw "wio has been removed from nixpkgs, it was unmaintained and required wlroots_0_14 at the time of removal"; # Added 2023-04-28
wineWayland = wine-wayland;
win-qemu = throw "'win-qemu' has been replaced by 'win-virtio'"; # Added 2023-08-16
win-qemu = throw "'win-qemu' has been replaced by 'virtio-win'"; # Added 2023-08-16
win-virtio = virtio-win; # Added 2023-10-17
win-signed-gplpv-drivers = throw "win-signed-gplpv-drivers has been removed from nixpkgs, as it's unmaintained: https://help.univention.com/t/installing-signed-gplpv-drivers/21828"; # Added 2023-08-17
wlroots_0_14 = throw "'wlroots_0_14' has been removed in favor of newer versions"; # Added 2023-07-29
wordpress6_1 = throw "'wordpress6_1' has been removed in favor of the latest version"; # Added 2023-10-10

View File

@ -36673,7 +36673,6 @@ with pkgs;
xkbmon = callPackage ../applications/misc/xkbmon { };
win-spice = callPackage ../applications/virtualization/driver/win-spice { };
win-virtio = callPackage ../applications/virtualization/driver/win-virtio { };
win-pvdrivers = callPackage ../applications/virtualization/driver/win-pvdrivers { };
xfig = callPackage ../applications/graphics/xfig { };