forked from lix-project/lix
Robert Hensing
d2696cdd1e
A library shouldn't require changes to the caller's argument handling, especially if it doesn't have to, and indeed we don't have to. This changes the lookup order to prioritize the hardcoded path to nix if it exists. The static executable still finds itself through /proc and the like.
7 lines
169 B
Bash
7 lines
169 B
Bash
source common.sh
|
|
|
|
drv="$(nix-instantiate simple.nix)"
|
|
cat "$drv"
|
|
out="$(./test-libstoreconsumer/test-libstoreconsumer "$drv")"
|
|
cat "$out/hello" | grep -F "Hello World!"
|