mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
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.
6 lines
169 B
Bash
6 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!"
|