Nixpkgs/Create and debug packages: Difference between revisions

Artturin (talk | contribs)
Das-g (talk | contribs)
m Using nix-shell for package development: Improve grammar in note about preConfigurePhase
 
(One intermediate revision by one other user not shown)
Line 249: Line 249:
</syntaxhighlight>
</syntaxhighlight>


{{Note|you do not need to run $preConfigurePhase explicitly as it is run, when running configurePhase already.}}
{{Note|You do not need to run $preConfigurePhase explicitly, as it will already be run implicitly when running configurePhase.}}


To list all functions which are declared in '''set''':
To list all functions which are declared in '''set''':
Line 396: Line 396:
   }:
   }:
   stdenv.mkDerivation {
   stdenv.mkDerivation {
    pname = "something";
    version = "1";
     strictDeps = true;
     strictDeps = true;
     # host/target agnostic programs
     # host/target agnostic programs