summaryrefslogtreecommitdiff
path: root/doc/hooks/juce.section.md
blob: 770a20ae2df8d59ed13b424c069d13cb7c933a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# `juce.projucerHook` {#juce-projucer-hook}

[Projucer](https://juce.com/tutorials/tutorial_new_projucer_project/) is a graphical project management utility and build system for the [JUCE](https://juce.com/) audio programming framework. It is available in nixpkgs under the `juce` package.

The `juce.projucerHook` setup hook overrides the configure and install phases. It is only supported on Linux and requires your project's `.jucer` file to contain a `LinuxMakefile` exporter.

## Example {#juce-projucer-hook-example}

```nix
{
  juce,
  stdenv,
}:
stdenv.mkDerivation {
  # ...
  nativeBuildInputs = [ juce.projucerHook ];

  jucerFile = "Microbiome.jucer";

  dontUseProjucerInstall = true;
  # ...
}
```

## Variables controlling `juce.projucerHook` {#juce-projucer-hook-variables}

### `dontUseProjucerConfigure`

Disables `projucerConfigurePhase`

### `dontUseProjucerInstall`

Disables `projucerInstallPhase`