milahu / nixpkgs

Nix Packages collection
MIT License
1 stars 0 forks source link

get the actual phases when building a package in nix-shell #8

Open milahu opened 1 year ago

milahu commented 1 year ago

for example, where can i see that the build would use cmakeConfigurePhase

related

https://github.com/NixOS/nixpkgs/pull/216650#discussion_r1109993391

``` eval ${unpackPhase:-unpackPhase} cd $sourceRoot eval ${patchPhase:-patchPhase} eval ${configurePhase:-configurePhase} ``` this fails for `cmake` builds where we need `cmakeConfigurePhase` ideally this should be generic, ie something like `for phase in $phases; do eval $phase; done`