mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
don't evaluate ignore drv
This commit is contained in:
parent
36458fe994
commit
51c30f86ac
2 changed files with 5 additions and 4 deletions
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
|
@ -69,6 +69,8 @@ jobs:
|
|||
--host "othalan"
|
||||
--flake .
|
||||
--debug
|
||||
--
|
||||
--print-build-logs
|
||||
|
||||
- name: Commit Updates
|
||||
uses: daylin-bot/actions/commit-and-push@main
|
||||
|
|
|
@ -198,15 +198,14 @@ proc getOizysDerivations(): seq[OizysDerivation] =
|
|||
let
|
||||
toBuildDrvs = toBuildNixosConfiguration()
|
||||
systemPathDrvs = getSystemPathDrvs()
|
||||
toActullyBuildDrvs = systemPathDrvs.filterIt(it in toBuildDrvs)
|
||||
toActullyBuildDrvs = systemPathDrvs.filterIt(it in toBuildDrvs and not isIgnored(it))
|
||||
|
||||
for name, drv in nixDerivationShow(toActullyBuildDrvs):
|
||||
if not isIgnored(name):
|
||||
result.add OizysDerivation(
|
||||
result.add OizysDerivation(
|
||||
name: name,
|
||||
output: drv.outputs.`out`.path,
|
||||
drv: drv,
|
||||
)
|
||||
)
|
||||
|
||||
# TODO: remove this proc
|
||||
proc systemPathDrvsToBuild(): seq[string] =
|
||||
|
|
Loading…
Reference in a new issue