nixpkgs/nixos/tests/tusd
Marius Kleidl eb394bfc0a
tusd: embed version in binary (#409019)
* nixosTests.tusd: Fix network race condition

Fixes error:

    client # curl: (7) Failed to connect to server port 1080 after 8 ms: Could not connect to server
    client # [    5.621267] network-addresses-eth1-start[795]: adding address 192.168.1.1/24... done

* tusd: embed version in binary

Currently, tusd reports 'n/a' when its version is queried using `tusd -version`.
This change embeds the current version during the build process, so it correctly
reports the value.

See 8e66333a01/scripts/build_funcs.sh (L20)

---------

Co-authored-by: Niklas Hambüchen <mail@nh2.me>
2025-05-20 22:40:16 +02:00
..
default.nix
tus-curl-upload.sh