1 import ./make-test-python.nix ({ lib, pkgs, ...} :
4 nodes.machine = { pkgs, ... }: {
5 programs.nix-ld.enable = true;
6 environment.systemPackages = [
7 (pkgs.runCommand "patched-hello" {} ''
8 install -D -m755 ${pkgs.hello}/bin/hello $out/bin/hello
9 patchelf $out/bin/hello --set-interpreter $(cat ${pkgs.nix-ld}/nix-support/ldpath)
15 machine.succeed("hello")