From 5fd5c37834f63b133c29cc1b289e837a5aa9694a Mon Sep 17 00:00:00 2001 From: Taeer Bar-Yam Date: Wed, 28 Aug 2024 08:39:36 -0400 Subject: [PATCH] use rebuildable_tests branch of nixpkgs for now --- flake.nix | 3 +-- tests/mastodon-garage.nix | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 3f59074..5cda8c7 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,7 @@ description = "Testing mastodon configurations"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; - # nixpkgs.url = "path:/home/qolen/nixpkgs"; + nixpkgs.url = "github:radvendii/nixpkgs/nixos_rebuild_tests"; }; outputs = { self, nixpkgs }: diff --git a/tests/mastodon-garage.nix b/tests/mastodon-garage.nix index f99d572..22605b8 100644 --- a/tests/mastodon-garage.nix +++ b/tests/mastodon-garage.nix @@ -1,7 +1,6 @@ { pkgs, self }: let lib = pkgs.lib; - # python = pkgs.python310.withPackages (ps: with ps; [ requests aiokafka ]); rebuildableTest = import ./rebuildableTest.nix pkgs; seleniumScript = pkgs.writers.writePython3Bin "selenium-script" { @@ -33,7 +32,7 @@ let driver.close() ''; in -rebuildableTest { +pkgs.nixosTest { name = "test-mastodon-garage"; nodes = {