nix-bundle/nix-user-chroot/Makefile
Matthew Bauer 5e49fbc4a0 Cleanup Nix bundling
The special case of Nix bundling is useful for handling the hidden
dependencies of Nix. It will automatically add them for you when you
do this:

$ nix-bundle nix /bin/nix
2018-04-04 16:19:32 -05:00

5 lines
100 B
Makefile

ENV_PATH ?= ""
nix-user-chroot: main.cpp
g++ -o nix-user-chroot -DENV_PATH='$(ENV_PATH)' main.cpp