mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
88cd2d41ac
All plugins in plugin-files will be dlopened, allowing them to statically construct instances of the various Register* types Nix supports.
8 lines
151 B
Bash
8 lines
151 B
Bash
source common.sh
|
|
|
|
set -o pipefail
|
|
|
|
res=$(nix eval '(builtins.constNull true)' --option plugin-files $PWD/plugins/plugintest.so)
|
|
|
|
[ "$res"x = "nullx" ]
|