1 { system ? builtins.currentSystem,
3 pkgs ? import ../.. { inherit system config; }
6 inherit (import ../lib/testing-python.nix { inherit system pkgs; }) makeTest;
10 programs.nix-ld.enable = true;
11 environment.systemPackages = [
12 (pkgs.runCommand "patched-hello" { } ''
13 install -D -m755 ${pkgs.hello}/bin/hello $out/bin/hello
14 patchelf $out/bin/hello --set-interpreter $(cat ${config.programs.nix-ld.package}/nix-support/ldpath)
22 nodes.machine = shared;
25 machine.succeed("hello")
28 nix-ld-rs = makeTest {
32 programs.nix-ld.package = pkgs.nix-ld-rs;
36 machine.succeed("hello")