msys2 / msys2-pacman

A friendly fork of https://gitlab.archlinux.org/pacman/pacman
GNU General Public License v2.0
21 stars 12 forks source link

Add a virtual "windows" package #24

Open lazka opened 1 year ago

lazka commented 1 year ago

Just a random thought.

We could add a virtual pacman package (at runtime, same as --assume-installed) "windows=10.0.22621" so we can depend on specific Windows versions and prevent updates. Users could override it by passing --assume-installed windows=999

At the same time we'd need a real windows package with a large version so users can update to it while satisfying all dep checks, which then gets overridden by the new pacman package with the virtual one, once it's there