mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03: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"
|
--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
|
||||||
|
|
|
@ -198,15 +198,14 @@ 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,
|
||||||
drv: drv,
|
drv: drv,
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO: remove this proc
|
# TODO: remove this proc
|
||||||
proc systemPathDrvsToBuild(): seq[string] =
|
proc systemPathDrvsToBuild(): seq[string] =
|
||||||
|
|
Loading…
Reference in a new issue