diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/typesetting/tectonic/tests.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/typesetting/tectonic/tests.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/typesetting/tectonic/tests.nix b/nixpkgs/pkgs/tools/typesetting/tectonic/tests.nix index 0ecf47bf1977..da1961c8e42d 100644 --- a/nixpkgs/pkgs/tools/typesetting/tectonic/tests.nix +++ b/nixpkgs/pkgs/tools/typesetting/tectonic/tests.nix @@ -3,6 +3,7 @@ { lib , fetchFromGitHub +, writeText , runCommand , tectonic , curl @@ -26,7 +27,7 @@ let }; testfiles = "${biber-dev-source}/testfiles"; - noNetNotice = builtins.toFile "tectonic-offline-notice" '' + noNetNotice = writeText "tectonic-offline-notice" '' # To fetch tectonic's web bundle, the tests require internet access, # which is not available in the current environment. ''; @@ -84,4 +85,9 @@ lib.mapAttrs networkRequiringTestPkg { export HOME=$PWD tectonic -X compile ./test.tex ''; + + workspace = '' + tectonic -X new + cat Tectonic.toml | grep "${tectonic.bundleUrl}" + ''; } |