forked from Fediversity/Fediversity
use rebuildable_tests branch of nixpkgs for now
This commit is contained in:
parent
e6dde31148
commit
5fd5c37834
|
@ -2,8 +2,7 @@
|
||||||
description = "Testing mastodon configurations";
|
description = "Testing mastodon configurations";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
nixpkgs.url = "github:radvendii/nixpkgs/nixos_rebuild_tests";
|
||||||
# nixpkgs.url = "path:/home/qolen/nixpkgs";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs }:
|
outputs = { self, nixpkgs }:
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ pkgs, self }:
|
{ pkgs, self }:
|
||||||
let
|
let
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
# python = pkgs.python310.withPackages (ps: with ps; [ requests aiokafka ]);
|
|
||||||
rebuildableTest = import ./rebuildableTest.nix pkgs;
|
rebuildableTest = import ./rebuildableTest.nix pkgs;
|
||||||
seleniumScript = pkgs.writers.writePython3Bin "selenium-script"
|
seleniumScript = pkgs.writers.writePython3Bin "selenium-script"
|
||||||
{
|
{
|
||||||
|
@ -33,7 +32,7 @@ let
|
||||||
driver.close()
|
driver.close()
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
rebuildableTest {
|
pkgs.nixosTest {
|
||||||
name = "test-mastodon-garage";
|
name = "test-mastodon-garage";
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
|
|
Loading…
Reference in a new issue