-
-
Save LnL7/ae4b7eb21066e3e618a53189b28fc81d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in $(nix-store -qR $(nix-instantiate -A hello) | grep '.drv$'); do | |
for phase in unpackPhase preUnpack postUnpack patchPhase prePatch postPatch configurePhase preConfigure postConfigure buildPhase preBuild postBuild checkPhase preCheck postCheck installPhase preInstall postInstall fixupPhase preFixup postFixup; | |
shellcheck -Serror -eSC2148 -eSC2168 <(nix-store -q --binding installPhase $f 2> /dev/null) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment