Fetch the list of system values from the database

This removes the need to hardcode some values in the code.
This commit is contained in:
Christopher Baines 2021-04-23 11:20:36 +01:00
parent b430c632b7
commit 6387f1bc67
5 changed files with 25 additions and 38 deletions

View file

@ -10,11 +10,6 @@
(lambda (conn)
(check-test-database! conn)
(test-equal "valid-systems"
'("aarch64-linux" "armhf-linux" "i586-gnu"
"i686-linux" "mips64el-linux" "powerpc64le-linux" "x86_64-linux")
(valid-systems conn))
(test-equal "count-derivations"
'("0")
(count-derivations conn))))