diff --git a/nix/api-test.nix b/nix/api-test.nix index 1e7e28c..63ac073 100644 --- a/nix/api-test.nix +++ b/nix/api-test.nix @@ -9,9 +9,9 @@ rustPlatform.buildRustPackage { version = "0.1.4"; src = fetchgit { - url = "https://github.com/demostf/api-test"; - rev = "b2a8446e9b12c84d2c9228e4babe5d34132d3298"; - hash = "sha256-Zn6P4ukhoxqP+16ZkLBbqzM9DsTLmSNa4zrkhmyzy/I"; + url = "https://codeberg.org/demostf/api-test"; + rev = "0fb647df2924aef7d223ccb0c6782c99afed8473"; + hash = "sha256-UPfo0jEMvJ7+cZrro2eIJz7ChRcTjBNo3Sunj+Efn7E="; fetchLFS = true; }; @@ -21,6 +21,6 @@ rustPlatform.buildRustPackage { doCheck = false; - cargoHash = "sha256-pDTNjpeGpMAr6hkl/o+Q3IR4t95qWJ76PgnJcEzlH2I="; + cargoHash = "sha256-N46s2QWA592TsqUBVJu3GV2rfvsHXEQLKDEt4S/JWow="; meta.mainProgram = "api-test"; } diff --git a/nix/integration-tests.nix b/nix/integration-tests.nix index 183620d..0e7772f 100644 --- a/nix/integration-tests.nix +++ b/nix/integration-tests.nix @@ -97,6 +97,7 @@ DB_USERNAME = "demostf"; APP_ROOT = "http://localhost"; EDIT_KEY = "/$CREDENTIALS_DIRECTORY/edit_key"; + ACCESS_KEY = "access"; PARSER_PATH = lib.getExe pkgs.demostf-parser; }; user = "demostf"; @@ -129,6 +130,7 @@ machine.succeed("DB_URL='postgres://demostf:demostf@localhost/demostf'\ BASE_URL='http://localhost/'\ EDIT_KEY='edit'\ + ACCESS_KEY='access'\ api-test", timeout=180) ''; }