summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-09-27 13:52:42 +0200
committertv <tv@shackspace.de>2015-09-27 13:54:20 +0200
commite64826a4f5f74cbaa895e538b97d0e523e9709f9 (patch)
treea3bce2e71ea3f01a56d984797e370f0e09b467fe
parent42f44dc2ab87a7e8de34c258762f91c0d80f26e9 (diff)
allow / in attr
-rwxr-xr-xget2
1 files changed, 1 insertions, 1 deletions
diff --git a/get b/get
index 1771a76..5a8f252 100755
--- a/get
+++ b/get
@@ -78,7 +78,7 @@ result=$(nix-instantiate \
for i; do
echo "$i"
done | sed -n '
- s/^[A-Za-z_][0-9A-Za-z_.-]*$/--attr &/p
+ s/^[A-Za-z_][0-9A-Za-z_./-]*$/--attr &/p
s/^\([0-9A-Za-z-]\+\)=\([0-9A-Za-z-]*\)$/--argstr \1-name \2/p
'
))