As a quick hack, I solved it by make a derivation which do the
travercs in its bash code (in buindCommand) producing a text file as
an output.
inspecting "myPackage.propagatedBuildInputs" looks a cleaner solution, thank you
On 5/14/17, Vladimír Čunát wrote:
> On 05/14/2017 05:16 PM, Volth wrote:
On 05/14/2017 05:16 PM, Volth wrote:
> I would like to get list of all propagated build inputs in nix
In general you can't even get that file. As it is designed, that list
is defined by contents of files in build output, so you can't be certain
until you produce the path (which is what you want t
Hi
I would like to get list of all propagated build inputs in nix
But the code like
```
get-propagated-derivations = s:
if (lib.isStorePath s) then
if (builtins.pathExists
"${s}/nix-support/propagated-native-build-inputs") then
lib.concatMap get-propagated-der