use rebuildable_tests branch of nixpkgs for now

This commit is contained in:
Taeer Bar-Yam 2024-08-28 08:39:36 -04:00
parent e6dde31148
commit 5fd5c37834
2 changed files with 2 additions and 4 deletions

View file

@ -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 }:

View file

@ -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 = {