From 6daddd8aa92f8dd324a91d36e54bda90523e896d Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Fri, 15 Dec 2023 10:52:56 -0500 Subject: [PATCH] nix: uncompress the test file before copying --- nix/pgScript.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/pgScript.nix b/nix/pgScript.nix index 07159ab..ea9bed2 100644 --- a/nix/pgScript.nix +++ b/nix/pgScript.nix @@ -20,6 +20,8 @@ let pg_ctl start -o "$default_options" -o "${options}" + bzip2 -dk ../test/samples/all_movies.csv.bz2 + cp ${../test/samples/all_movies.csv} $tmpdir/all_movies.csv cp ${../test/samples/all_movies.csv.bz2} $tmpdir/all_movies.csv.bz2