From 816466136fb487b70be8a172e7d716f4134b6fae Mon Sep 17 00:00:00 2001 From: Gonzalo Martinez Lema Date: Sun, 10 Nov 2024 14:26:43 +0100 Subject: [PATCH] Test shell variables in bootstrap project --- .github/workflows/bootstrap.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index c52cb825..e93f3d10 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -106,6 +106,20 @@ jobs: grep QT_QPA_PLATFORM_PLUGIN_PATH my-project-env echo =============================================== + - name: Test variables set by bootstrap project + run: | + nix develop ~/work/my-project# -c env > my-project-env + libpath="CHANGEME_SNAKE_LIB_PATH" + echo ====== checking that ${libnane} exits ================== + [[ -n ${libpath} ]] + echo ======================================================== + echo ====== grepping LD_LIBRARY_PATH for $libpath =========== + grep "$libpath" $LD_LIBRARY_PATH + echo ======================================================== + echo ====== grepping PKG_CONFIG_PATH for $libpath =========== + grep "$libpath/pkgconfig" $LD_LIBRARY_PATH + echo =============================================== + - name: Check that mdbook ANCHORs have been stripped from bootstrapped project run: | nix profile install nixpkgs#ripgrep