www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit afdb8987d4e6e0dbb7c8f2e17a9f0c0118ec5452
parent 969d5bb4a024b17cd322a474599989126495cd27
Author: Suzanne Soy <git@suzanne.soy>
Date:   Sun, 21 Feb 2021 20:28:58 +0000

debug; more dependencies in Nix

Diffstat:
Mflake.nix | 2+-
Mtest.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flake.nix b/flake.nix @@ -8,7 +8,7 @@ let system = "x86_64-linux"; in let nixpkgs = import nixpkgs-git { config = { allowUnfree = true;}; system = system; }; in - let mypackages = with nixpkgs; [ coreutils ]; in + let mypackages = with nixpkgs; [ coreutils python3 ]; in with import nixpkgs-git { system = "x86_64-linux"; }; symlinkJoin { diff --git a/test.py b/test.py @@ -34,5 +34,5 @@ with tempfile.TemporaryDirectory(prefix="test", dir="/tmp") as tempdir: print("test passed") else: print("TEST FAILED: got hash " + repr(h)) - os.system("tar -Jcf- . | xxd", cwd=tempdir) + print(subprocess.check_output("tar -Jcf- . | xxd", cwd=tempdir, shell=True)) exit(1) \ No newline at end of file