diff options
-rw-r--r-- | lib/spack/spack/solver/concretize.lp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/spack/spack/solver/concretize.lp b/lib/spack/spack/solver/concretize.lp index fd98aa92f3..32a84e6d5e 100644 --- a/lib/spack/spack/solver/concretize.lp +++ b/lib/spack/spack/solver/concretize.lp @@ -572,6 +572,9 @@ os_compatible(OS, OS) :- os(OS). % catalina binaries can be used on bigsur. Direction is package -> dependency. os_compatible("bigsur", "catalina"). +% If an OS is set explicitly respect the value +node_os(Package, OS) :- node_os_set(Package, OS), node(Package). + #defined node_os_set/2. #defined os_compatible/2. |