mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
Update source/tutorials/learning-journey/packaging-existing-software.md
Co-authored-by: Silvan Mosberger <github@infinisil.com>
This commit is contained in:
parent
d2fe900b39
commit
1069b54440
|
@ -438,7 +438,7 @@ You can see a few warnings which should be corrected in the upstream code, but t
|
||||||
Determining from where to source a dependency is currently a somewhat-involved process: it helps to become familiar with searching the `nixpkgs` source for keywords.
|
Determining from where to source a dependency is currently a somewhat-involved process: it helps to become familiar with searching the `nixpkgs` source for keywords.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
You will need the `Xlib.h` headers from the `X11` C package, the Nixpkgs derivation for which is `libX11`, available in the `xorg` package set. The `Xlib` headers in turn live in the `dev` output of `xorg.libX11`. Add this to your derivation's input attribute set and to `buildInputs`:
|
You will need the `Xlib.h` headers from the `X11` C package, the Nixpkgs derivation for which is `libX11`, available in the `xorg` package set. Add this to your derivation's input attribute set and to `buildInputs`:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
# icat.nix
|
# icat.nix
|
||||||
|
|
Loading…
Reference in a new issue