Tup: Difference between revisions
imported>Ehmry add hint to create symlinks to packages |
imported>Ehmry Add flake note |
||
Line 50: | Line 50: | ||
You can verify this by adding <code>: |> pkg-config --list-all > %o |> pkg-list.txt</code> into your Tupfile and seeing which libraries are available via pkg-config. | You can verify this by adding <code>: |> pkg-config --list-all > %o |> pkg-list.txt</code> into your Tupfile and seeing which libraries are available via pkg-config. | ||
=== Flakes === | |||
A Tup rule must not use a flake that resides in the same tup project as the rule because the nix command can aggressively access files in the vicinity of flake.nix. The flake should be external to the tup project or it can be stored within the same repository but only on a different branch, which would then then be registered in the local nix flake registry. | |||
[[Category:Applications]] | [[Category:Applications]] |