fix(test): silence command to check for Nix
This commit is contained in:
parent
3cc3f6332d
commit
8f4463782c
5 changed files with 5 additions and 5 deletions
|
|
@ -3,7 +3,7 @@
|
|||
echo "Building executables..."
|
||||
|
||||
cd "${FLAKE:-$(dirname $0)}"
|
||||
if command -v nix; then
|
||||
if command -v nix &>/dev/null; then
|
||||
producer="$(nix build --no-link --print-out-paths .#a2-p1-producer)/bin/producer"
|
||||
consumer="$(nix build --no-link --print-out-paths .#a2-p1-consumer)/bin/consumer"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
echo "Building executable..."
|
||||
|
||||
cd "${FLAKE:-$(dirname $0)}"
|
||||
if command -v nix; then
|
||||
if command -v nix &>/dev/null; then
|
||||
bidirectional="$(nix build --no-link --print-out-paths .#a2-p2-bidirectional)/bin/bidirectional"
|
||||
else
|
||||
gcc bidirectional.c -o bidirectional
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
echo "Building executables..."
|
||||
|
||||
cd "${FLAKE:-$(dirname $0)}"
|
||||
if command -v nix; then
|
||||
if command -v nix &>/dev/null; then
|
||||
producer="$(nix build --no-link --print-out-paths .#a2-p3-producer)/bin/producer"
|
||||
consumer="$(nix build --no-link --print-out-paths .#a2-p3-consumer)/bin/consumer"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
echo "Building executables..."
|
||||
|
||||
cd "${FLAKE:-$(dirname $0)}"
|
||||
if command -v nix; then
|
||||
if command -v nix &>/dev/null; then
|
||||
producer="$(nix build --no-link --print-out-paths .#a3-producer)/bin/producer"
|
||||
consumer="$(nix build --no-link --print-out-paths .#a3-consumer)/bin/consumer"
|
||||
else
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
echo "Building executable..."
|
||||
|
||||
cd "${FLAKE:-$(dirname $0)}"
|
||||
if command -v nix; then
|
||||
if command -v nix &>/dev/null; then
|
||||
cpu_schedulers="$(nix build --no-link --print-out-paths .#cpu-schedulers)/bin/cpu-schedulers"
|
||||
else
|
||||
make
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue