mirror of
https://github.com/telent/nixwrt.git
synced 2024-10-05 19:57:26 +03:00
allow overriding secrets on command line
e.g make defalutroute image=phramware L2TP_PEER=10.0.0.1
This commit is contained in:
parent
a25d4b81cc
commit
c8efab48df
2
Makefile
2
Makefile
@ -63,7 +63,7 @@ export SSH_HOST_KEY=$(file < emu-host-key)
|
||||
|
||||
%:examples/%/config.nix examples/%/device.nix
|
||||
test -f $(SECRETS)
|
||||
env $(shell cat $(SECRETS)) $(NIX_BUILD_ARGS) \
|
||||
env $(shell cat $(SECRETS)) $(MAKEOVERRIDES) $(NIX_BUILD_ARGS) \
|
||||
$(ATTRS) \
|
||||
-I nixwrt-config=`pwd`/$< \
|
||||
-I nixwrt-device=`pwd`/$(<D)/device.nix \
|
||||
|
Loading…
Reference in New Issue
Block a user