don't evaluate ignore drv

This commit is contained in:
Daylin Morgan 2024-11-04 12:42:19 -06:00
parent 36458fe994
commit 51c30f86ac
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 5 additions and 4 deletions

View file

@ -69,6 +69,8 @@ jobs:
--host "othalan" --host "othalan"
--flake . --flake .
--debug --debug
--
--print-build-logs
- name: Commit Updates - name: Commit Updates
uses: daylin-bot/actions/commit-and-push@main uses: daylin-bot/actions/commit-and-push@main

View file

@ -198,10 +198,9 @@ proc getOizysDerivations(): seq[OizysDerivation] =
let let
toBuildDrvs = toBuildNixosConfiguration() toBuildDrvs = toBuildNixosConfiguration()
systemPathDrvs = getSystemPathDrvs() systemPathDrvs = getSystemPathDrvs()
toActullyBuildDrvs = systemPathDrvs.filterIt(it in toBuildDrvs) toActullyBuildDrvs = systemPathDrvs.filterIt(it in toBuildDrvs and not isIgnored(it))
for name, drv in nixDerivationShow(toActullyBuildDrvs): for name, drv in nixDerivationShow(toActullyBuildDrvs):
if not isIgnored(name):
result.add OizysDerivation( result.add OizysDerivation(
name: name, name: name,
output: drv.outputs.`out`.path, output: drv.outputs.`out`.path,