nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 callPackages,
3 isDeclaredArray,
4 makeSetupHook,
5 patchelf,
6}:
7makeSetupHook {
8 name = "getRunpathEntries";
9 propagatedBuildInputs = [
10 isDeclaredArray
11 patchelf
12 ];
13 passthru.tests = callPackages ./tests.nix { };
14 meta.description = "Appends runpath entries of a file to an array";
15} ./getRunpathEntries.bash