Skip to content

Commit

Permalink
linuxPackages_latest.prl-tools: 20.1.3-55743 -> 20.2.0-55872 (#373110)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Jan 12, 2025
2 parents dd252f5 + 7e36e98 commit d84b9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions pkgs/os-specific/linux/prl-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "prl-tools";
version = "20.1.3-55743";
version = "20.2.0-55872";

# We download the full distribution to extract prl-tools-lin.iso from
# => ${dmg}/Parallels\ Desktop.app/Contents/Resources/Tools/prl-tools-lin.iso
src = fetchurl {
url = "https://download.parallels.com/desktop/v${lib.versions.major finalAttrs.version}/${finalAttrs.version}/ParallelsDesktop-${finalAttrs.version}.dmg";
hash = "sha256-5lbTTQucop/jnsVudoqTO9bESR5tdn8NFu9Nm2WphU4=";
hash = "sha256-oOilbF5MzZxZXNVQYAp/JxyMVdM0oltG8pGfzzsQ1kY=";
};

hardeningDisable = [
Expand Down Expand Up @@ -115,7 +115,6 @@ stdenv.mkDerivation (finalAttrs: {
( # kernel modules
cd kmods
mkdir -p $out/lib/modules/${kernelVersion}/extra
cp prl_fs/SharedFolders/Guest/Linux/prl_fs/prl_fs.ko $out/lib/modules/${kernelVersion}/extra
cp prl_fs_freeze/Snapshot/Guest/Linux/prl_freeze/prl_fs_freeze.ko $out/lib/modules/${kernelVersion}/extra
cp prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko $out/lib/modules/${kernelVersion}/extra
${lib.optionalString stdenv.hostPlatform.isAarch64 "cp prl_notifier/Installation/lnx/prl_notifier/prl_notifier.ko $out/lib/modules/${kernelVersion}/extra"}
Expand Down Expand Up @@ -169,9 +168,6 @@ stdenv.mkDerivation (finalAttrs: {
ln -s $out/$i $out/''${i%.0.0}
done
mkdir -p $out/share/man/man8
install -Dm644 ../mount.prl_fs.8 $out/share/man/man8
substituteInPlace ../99prltoolsd-hibernate \
--replace "/bin/bash" "${bash}/bin/bash"
Expand Down
1 change: 0 additions & 1 deletion pkgs/os-specific/linux/prl-tools/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ sha256="$(nix store prefetch-file $dmg_url --json | jq -r '.hash')"
sed -i -e "s,version = \"$old_version\",version = \"$version\"," \
-e "s,hash = \"sha256-.*\",hash = \"$sha256\"," "$path"

git commit -qm "linuxPackages_latest.prl-tools: $old_version -> $version" "$path"
echo "Updated linuxPackages_latest.prl-tools $old_version -> $version"

0 comments on commit d84b9ae

Please sign in to comment.