Skip to content

Commit

Permalink
nixosTests.pleroma: un-vendor toot
Browse files Browse the repository at this point in the history
Upstream released 0.38.2. This new release contains the pleroma fix we
previously were getting from master.

We don't need this override anymore to get the test to succeed.

ihabunek/toot#399 (comment)
  • Loading branch information
picnoir committed Nov 16, 2023
1 parent c79cf2f commit 7e7d403
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions nixos/tests/pleroma.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,6 @@

import ./make-test-python.nix ({ pkgs, ... }:
let
# Fix for https://github.com/ihabunek/toot/pull/405. Includes
# https://github.com/ihabunek/toot/pull/405. TOREMOVE when
# toot > 0.38.1
patched-toot = pkgs.toot.overrideAttrs (old: {
version = "unstable-24-09-2023";
src = pkgs.fetchFromGitHub {
owner = "ihabunek";
repo = "toot";
rev = "30857f570d64a26da80d0024227a8259f7cb65b5";
sha256 = "sha256-BxrI7UY9bfqPzS+VLqCFSmu4PkIkvhntcEeNJb1AzOs=";
};
});
send-toot = pkgs.writeScriptBin "send-toot" ''
set -eux
# toot is using the requests library internally. This library
Expand Down Expand Up @@ -195,7 +183,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
security.pki.certificateFiles = [ "${tls-cert}/cert.pem" ];
networking.extraHosts = hosts nodes;
environment.systemPackages = with pkgs; [
patched-toot
pkgs.toot
send-toot
];
};
Expand Down

0 comments on commit 7e7d403

Please sign in to comment.