mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
20 lines
379 B
Nix
20 lines
379 B
Nix
{
|
|
lib,
|
|
callPackages,
|
|
isDeclaredArray,
|
|
makeSetupHook,
|
|
patchelf,
|
|
}:
|
|
makeSetupHook {
|
|
name = "getRunpathEntries";
|
|
propagatedBuildInputs = [
|
|
isDeclaredArray
|
|
patchelf
|
|
];
|
|
passthru.tests = callPackages ./tests.nix { };
|
|
meta = {
|
|
description = "Appends runpath entries of a file to an array";
|
|
license = lib.licenses.mit;
|
|
};
|
|
} ./getRunpathEntries.bash
|