No configurePhase within `nix develop` shell

Hello,

I’m trying to debug a package I maintain by running the different build phase within nix develop. The package (gildas) does contain a configurePhase , but when I run nix develop .#gildas within the nixpkgs repository, and then configurePhase, I get the following message:

bash-5.2$ configurePhase 
no configure script, doing nothing 

Why is this not working?

the general way now is runPhase configurePhase

perhaps confusingly, configurePhase runs the default configure phase, not the one defined in $configurePhase. it’s a historical artifact that can’t really be fixed now, unfortunately.

1 Like