mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 01:50:44 -06:00
debug
This commit is contained in:
parent
431dc80243
commit
756075cd92
1 changed files with 5 additions and 1 deletions
|
@ -150,7 +150,11 @@ proc findSystemPaths(drvs: Table[string, NixDerivation]): seq[string] =
|
|||
func isIgnored(drv: string): bool =
|
||||
const ignoredPackages = (slurp "ignored.txt").splitLines()
|
||||
let name = drv.split("-", 1)[1].replace(".drv","")
|
||||
name in ignoredPackages
|
||||
result = name in ignoredPackages
|
||||
if not result:
|
||||
for pkg in ignoredPackages:
|
||||
if name.startswith(pkg):
|
||||
return true
|
||||
|
||||
proc systemPathDrvsToBuild(): seq[string] =
|
||||
let toBuild = toBuildNixosConfiguration()
|
||||
|
|
Loading…
Reference in a new issue