Skip to content

Commit

Permalink
For some reason test pkg started to complain about not having author …
Browse files Browse the repository at this point in the history
…and description
  • Loading branch information
jmgomez committed Dec 4, 2024
1 parent f0e9244 commit 837504e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/nimblepkg/nimblesat.nim
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,8 @@ proc topologicalSort*(solvedPkgs: seq[SolvedPackage]): seq[SolvedPackage] =
zeroInDegree.add(neighbor)

proc isSystemNimCompatible*(solvedPkgs: seq[SolvedPackage], options: Options): bool =
if options.action.typ in {actionLock, actionDeps} or options.hasNimInLockFile():
return false
for solvedPkg in solvedPkgs:
for req in solvedPkg.requirements:
if req.isNim and options.nimBin.isSome and not options.nimBin.get.version.withinRange(req.ver):
Expand Down
3 changes: 2 additions & 1 deletion tests/conflictingdepres/conflictingdepres.nimble
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Package

author = "jmgomez"
version = "1.1.0"
license = "MIT"
srcDir = "src"
description = "Test package with conflicting dependencies"

# Dependencies
requires "c >= 0.0.5 & <= 0.1.0"
Expand Down

0 comments on commit 837504e

Please sign in to comment.