1 { runCommand, nuv, version }:
3 runCommand "nuv-test-run"
5 nativeBuildInputs = [ nuv ];
7 export TMP_BASE=$(mktemp -d /tmp/.nuv-XXXXX)
10 export NUV_ROOT=$TMP_BASE/.nuv/3.0.0/olaris
11 rm -rf $TMP_BASE/.nuv && \
12 mkdir -p $TMP_BASE/.nuv/3.0.0/olaris && \
13 mkdir $TMP_BASE/.nuv/tmp
14 V=$(nuv -version 2>/dev/null)
15 diff -U3 --color=auto <(echo "$V") <(echo "${version}")