Tup: Difference between revisions

imported>Sheenobu
Add new issue. fix links.
imported>Ehmry
add hint to create symlinks to packages
Line 11: Line 11:


Github issue: [https://github.com/gittup/tup/issues/397 tup/#397]
Github issue: [https://github.com/gittup/tup/issues/397 tup/#397]
Another method that minimizes changes to PATH is to create symlinks to tools with Tup:
<syntaxhighlight lang="tup">
# Tuprules.tup - export a bang-rule that calls the Dhall interpreter
DHALL_LINK = $(TUP_CWD)/dhall
!dhall = | $(DHALL_LINK) |> $(DHALL_LINK)/bin/dhall |>
</syntaxhighlight>
<syntaxhighlight lang="tup">
# Tupfile - build a symlink to the nixpkgs#dhall package
include_rules
: |> nix build nixpkgs#dhall --out-link %o |> $(DHALL_LINK)
</syntaxhighlight>


=== mount does not unmount ===
=== mount does not unmount ===